complete-intro-to-containers icon indicating copy to clipboard operation
complete-intro-to-containers copied to clipboard

[Lessons (more-complicated-nodejs-app)] - Error: RUN npm ci

Open JPaezMin opened this issue 1 year ago • 2 comments

When in the "Add dependencies to a node.js App" class after completing the Dockerfile setup I'm getting the following error related to the "RUN npm ci" line within the Dockerfile file:


[5/5] RUN npm ci: #9 0.259 npm ERR! Cannot read property '@hapi/hapi' of undefined #9 0.263 #9 0.263 npm ERR! A complete log of this run can be found in: #9 0.263 npm ERR! /home/node/.npm/_logs/2023-04-28T11_12_43_884Z-debug.log


Don't really know if this is related to a previous issue ref "[Lessons (more-complicated-nodejs-app)] - Error: prettyPrint option is no longer supported". In any case I have changed versions on both the package-lock.json and package.json file but still getting the same error.

JPaezMin avatar Apr 28 '23 11:04 JPaezMin