Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use yo code under wsl #495

Open
alaric8 opened this issue Sep 22, 2024 · 0 comments
Open

Cannot use yo code under wsl #495

alaric8 opened this issue Sep 22, 2024 · 0 comments

Comments

@alaric8
Copy link

alaric8 commented Sep 22, 2024

yo code [8m]
node:internal/modules/cjs/loader:1251
throw err;
^

Error: Cannot find module 'is-ci'
Require stack:

  • /root/.local/share/fnm/node-versions/v22.8.0/installation/lib/node_modules/yo/node_modules/update-notifier/index.js
  • /root/.local/share/fnm/node-versions/v22.8.0/installation/lib/node_modules/yo/lib/cli.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1248:15)
    at Module._load (node:internal/modules/cjs/loader:1074:27)
    at TracingChannel.traceSync (node:diagnostics_channel:315:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
    at Module.require (node:internal/modules/cjs/loader:1339:12)
    at require (node:internal/modules/helpers:135:16)
    at lazy (/root/.local/share/fnm/node-versions/v22.8.0/installation/lib/node_modules/yo/node_modules/import-lazy/index.js:2:51)
    at /root/.local/share/fnm/node-versions/v22.8.0/installation/lib/node_modules/yo/node_modules/import-lazy/index.js:10:11
    at new UpdateNotifier (/root/.local/share/fnm/node-versions/v22.8.0/installation/lib/node_modules/yo/node_modules/update-notifier/index.js:46:4)
    at module.exports (/root/.local/share/fnm/node-versions/v22.8.0/installation/lib/node_modules/yo/node_modules/update-notifier/index.js:183:25) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/root/.local/share/fnm/node-versions/v22.8.0/installation/lib/node_modules/yo/node_modules/update-notifier/index.js',
    '/root/.local/share/fnm/node-versions/v22.8.0/installation/lib/node_modules/yo/lib/cli.js'
    ]
    }

Node.js v22.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant