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
Running: npm install -g yo generator-code
Followed by: yo doctor
Yields error:
throw err;
^
Error: Cannot find module 'is-ci'
Require stack:
- /root/.nvm/versions/node/v21.7.1/lib/node_modules/yo/node_modules/update-notifier/index.js
- /root/.nvm/versions/node/v21.7.1/lib/node_modules/yo/lib/cli.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1142:15)
at Module._load (node:internal/modules/cjs/loader:983:27)
at Module.require (node:internal/modules/cjs/loader:1230:19)
at require (node:internal/modules/helpers:179:18)
at lazy (/root/.nvm/versions/node/v21.7.1/lib/node_modules/yo/node_modules/import-lazy/index.js:2:51)
at /root/.nvm/versions/node/v21.7.1/lib/node_modules/yo/node_modules/import-lazy/index.js:10:11
at new UpdateNotifier (/root/.nvm/versions/node/v21.7.1/lib/node_modules/yo/node_modules/update-notifier/index.js:46:4)
at module.exports (/root/.nvm/versions/node/v21.7.1/lib/node_modules/yo/node_modules/update-notifier/index.js:183:25)
at updateCheck (/root/.nvm/versions/node/v21.7.1/lib/node_modules/yo/lib/cli.js:54:20)
at Object.<anonymous> (/root/.nvm/versions/node/v21.7.1/lib/node_modules/yo/lib/cli.js:190:1) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/root/.nvm/versions/node/v21.7.1/lib/node_modules/yo/node_modules/update-notifier/index.js',
'/root/.nvm/versions/node/v21.7.1/lib/node_modules/yo/lib/cli.js'
]
}
Node.js v21.7.1
Creating a new directory and running: npm init -y npm install -d is-ci
Does not resolve the issue and returns the same error.
Occurring on WSL Ubuntu version 2
Running:
npm install -g yo generator-code
Followed by:
yo doctor
Yields error:
Creating a new directory and running:
npm init -y
npm install -d is-ci
Does not resolve the issue and returns the same error.
Running:
npm list is-ci
Returns:
Can anyone help me resolve this error so I can generate projects with yeoman.
Thanks
The text was updated successfully, but these errors were encountered: