-
Notifications
You must be signed in to change notification settings - Fork 119
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
Angular 12 compatibilty #581
Comments
Not sure if related: nftstorage/nft.storage#720 |
Similar error trying to use it in a React app built with Create React App. Node version v16.5.0
|
For angular 13 (using latest ng new):
Make sure that your internal webpack version is: This should be standard with angular 13, but in case it's not, I figured i'd make sure to comment: I have a fix that will be inbound for the other issue (angular 12+ and react) here shortly. I need to do some more testing, it breaks using webpack 4 specifically. |
Fixes #581 This pr reworks the problematic error message to not use the coalesce operator to resolve webpack4 issues. In the future might look at the current rollup config and transpile to es5 or another valid syntax and export for older build setups. This however is a quick and easy solution for this specific build issue. I verified this by creating a webpack 4 config and found the issue and resolved locally. This isn't the most foolproof way, but whenever I fixed it this way, create-react-app using webpack 4 successfully compiled, and angular 13 does not have this issue, it used webpack 5 now.
Hello, as I don't see nobody reporting this and any thing related to angular 2+ I dont know if its only my problem or there is really a bug, but this error appear when I try to run in angular 12, and looks like some kind of babel bug compilation with async functions so I don't know if it can be compatible with angular 12
node 16.1.0
npm 8.1.1
The text was updated successfully, but these errors were encountered: