Fix for the npm error @ step 4 & 5 #319
Unanswered
vaibhavppandey
asked this question in
Deploy to Azure
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
issue
So I was on this course and the jobs failed where it had to install the npm packages.
why (what I came up with atm)
the versions specified for the packages in
package-lock.json
&package.json
were old and deprecated.my solution (being a newb)
remove the
package-lock.json
& specify the versions from for e.g. '^7.3.1' to '*' for all the packages inpackage.json
and above the
npm install
, addnpm update --save
in filesdeploy-prod.yml
&deploy-staging.yml
. This would put right version and fix the issuefinal thoughts
kindly fix the issue, @heiskr or the other active maintainers for this course. Also, thanks for this amazing course. Got to learn a lot ❤️
Beta Was this translation helpful? Give feedback.
All reactions