node v14.19.1, npm 6.14.16
10:14 PM
Installing…
10:14 PM
npm ERR! nested aliases not supported
10:14 PM
10:14 PM
npm ERR! A complete log of this run can be found in:
10:14 PM
npm ERR! /tmp/npm-cache/14.19.1/_logs/2024-09-26T19_14_38_583Z-debug.log
10:14 PM
a few seconds ago
internal/modules/cjs/loader.js:905
10:14 PM
throw err;
10:14 PM
^
10:14 PM
10:14 PM
Error: Cannot find module ‘fastify’
10:14 PM
Require stack:
10:14 PM
Jump To- /app/server.js
10:14 PM
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
10:14 PM
at Function.Module._load (internal/modules/cjs/loader.js:746:27)
10:14 PM
at Module.require (internal/modules/cjs/loader.js:974:19)
10:14 PM
at require (internal/modules/cjs/helpers.js:101:18)
10:14 PM
Jump Toat Object. (/app/server.js:2:17)
10:14 PM
at Module._compile (internal/modules/cjs/loader.js:1085:14)
10:14 PM
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1114:10)
10:14 PM
at Module.load (internal/modules/cjs/loader.js:950:32)
10:14 PM
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
10:14 PM
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12) {
10:14 PM
code: ‘MODULE_NOT_FOUND’,
10:14 PM
Jump TorequireStack: [ ‘/app/server.js’ ]
10:14 PM
}
10:14 PM
I downgraded to Node.js 14 because the issue started after upgrading to Node.js 16.so i rewinded back to see if the issue will disappear and here is the current log