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
First I ran the npm run build:ssr command, then npm run serve:ssr, but the error occurred in the console: package.json does not exist at fireship-starter/dist/package. json
The same thing happens with the npm run dev:ssr command
Hey, I got the same error, and I have followed the tutorial. ng serve works fine same does my npm run build:ssr but then running npm run serve:ssr breaks it with the very same error. I haven't changed any files other than the environment files and obviously the five-step tutorial related files.
I did manage to fix it by adding --bundleDependencies none to my build, however not sure if this is the good, since it gives me a different error
Activity
HarrisonMayotte commentedon May 29, 2020
Can you share your angular.json file?
PrivateDev315 commentedon Jun 2, 2020
Hey, I got the same error, and I have followed the tutorial.
ng serveworks fine same does mynpm run build:ssrbut then runningnpm run serve:ssrbreaks it with the very same error. I haven't changed any files other than the environment files and obviously the five-step tutorial related files.I did manage to fix it by adding
--bundleDependencies noneto my build, however not sure if this is the good, since it gives me a different errorI have attached my angular.json
angular.zip
The error given after

--bundleDependencies none