Relative Content

Tag Archive for node.jspowershellnpm

Just installed node.js on windows and when I went to use ‘npm install *insert package here*’, I would get an error

On a new machine, I installed node.js and when I went to install a package, it would hit me with this error:
`PS C:UsersuserDesktopCC> npm nuxi init nuxt-dojo
node:internal/modules/cjs/loader:1205
throw err;
^
Error: Cannot find module ‘C:UsersuserAppDataRoamingnpmnode_modulesnpmbinnpm-cli.js’
at Module._resolveFilename (node:internal/modules/cjs/loader:1202:15)
at Module._load (node:internal/modules/cjs/loader:1027:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:187:14)
at node:internal/main/run_main_module:28:49 {
code: ‘MODULE_NOT_FOUND’,
requireStack: []
}