You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a issue in Azure trying to get server side prerendering to work with Angular 4.
The problem is that node doesn't seem to find any packages. All the modules are in package.json and I can debug locally without any issues.
The project is based on this repo with a few modifications. Any hints of what to look for? Can I somehow see whats going on inside node and get a better error message?
An unhandled exception occurred while processing the request.
Exception: Call to Node module failed with error: Prerendering failed because of error: Error: Cannot find module 'es6-shim'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (D:\home\site\wwwroot\Client\dist\main-server.js:2095:18)
at webpack_require (D:\home\site\wwwroot\Client\dist\main-server.js:20:30)
at Object.defineProperty.value (D:\home\site\wwwroot\Client\dist\main-server.js:807:1)
at webpack_require (D:\home\site\wwwroot\Client\dist\main-server.js:20:30)
at Object. (D:\home\site\wwwroot\Client\dist\main-server.js:2164:1)
at webpack_require (D:\home\site\wwwroot\Client\dist\main-server.js:20:30)
Current directory is: D:\home\site\wwwroot
The text was updated successfully, but these errors were encountered:
Did node_modules install properly, es6-shim is in the package.json (soon to be replaced with core-js).
There are some logs somewhere in Azure you can check to see if they give any other info, did anything come up when you tried pushing to Azure? I'm guessing that's when it might of happened?
There have been major project changes via #151 let me know if this is still an issue, I need to actually run through some tests to see how Azure deployment is going to work now that we have AoT and a few other big things added today.
I have a issue in Azure trying to get server side prerendering to work with Angular 4.
The problem is that node doesn't seem to find any packages. All the modules are in package.json and I can debug locally without any issues.
The project is based on this repo with a few modifications. Any hints of what to look for? Can I somehow see whats going on inside node and get a better error message?
The text was updated successfully, but these errors were encountered: