-
Notifications
You must be signed in to change notification settings - Fork 483
TypeError: __webpack_require__(...) is not a function #1195
Comments
Can you please refer to the version 8 upgrade guide and see if it resolves your issue? https://github.com/angular/universal/blob/master/docs/v8-upgrade-guide.md |
@vikerman Dude, far out! That cleared all my errors/warnings out : ) will post code later 👍 Update: everything works fine without |
Are you trying to access your package.json from your Node server file itself? This seems like it might be something a bit separate from Universal |
@MarkPieszak not intentionally, just a stock angular universal setup running on gcloud instance (node 10). Thx |
The package.json error seems to be a duplicate of #1207 Can you provide info on which library the package.json might be referring to? |
This seems a problem with angularfire. We are going to follow up with them. Till then the workaround is to remove |
Hi, I tried the version upgrade after Upgrading to Angular 8. this one (vikerman/v8-lazy@515239b). Now, when I'm building project, I get this error
I tried adding module: "commonjs" to tsconfig.server.ts but it didnot work. I tried it with
and also without it but same response. Can you help me out here ? thanks. Surely this isn't a single library issue right? |
@alamgirqazi, the error you are reporting seems to be different from Thanks. |
I found a fix for this. It was just a library issue. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
getting this error on google cloud instance
line 142734
What is the expected behavior?
Everything is working fine w/ new angualrfire auth-guards + v8 import-style lazy-loaded routes/modules, just getting this error (as well as #1169).
The text was updated successfully, but these errors were encountered: