-
-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build in webpack #638
Comments
Too old. We only support LTS and stable versions of Node.js.
I also don't understand why it need to evaluate that at build time. |
Sorry, that was a typo: I'm on v20.12.0 |
Can you share a complete repro? I'm not familiar with Angular. |
I'll get something new to you within a few days. It's an internal project so I'll make a separate sample. |
It might not work with Angular anyway: #630 (comment) |
Issue Checklist
Library version
0.0.23
Environment
Node v12.12.0
Device
Linux
Describe the bug
I'm trying to include the library in my own project, but when I try to build I receive these webpack errors:
./node_modules/@yume-chan/stream-extra/esm/push-readable.js - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/tools/babel/webpack-loader.js):
TypeError: /workspaces/site_survey_results/node_modules/@yume-chan/stream-extra/esm/push-readable.js: Cannot read properties of null (reading 'type')
./node_modules/@yume-chan/stream-extra/esm/wrap-readable.js - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/tools/babel/webpack-loader.js):
TypeError: /workspaces/site_survey_results/node_modules/@yume-chan/stream-extra/esm/wrap-readable.js: Cannot read properties of null (reading 'type')
Do I need to change my TSConfig to support this?
I'm adding this to an Angular 17 app.
Steps to reproduce
The text was updated successfully, but these errors were encountered: