after yarn create nuxt-app auth
error :
Trace: Error: Cannot find module './prompts'
Getting the same issue with both npx create-nuxt-app <name> and npm init nuxt-app <name>
Using Windows, node version 12.3.1 and npm 6.9.0
Same issue #349
I recommend using the previous version until this issue is fixed
Same issue #349
I recommend using the previous version until this issue is fixed
how?
@roshangara: https://github.com/nuxt/create-nuxt-app/issues/349#issuecomment-536609437
npx [email protected] target-directory
Yesterday I ran npx create-nuxt-app and it worked. Today not. Thanks @wmartins
Same issue here.
OS : Win 10
node -v
v10.11.0
npm -v
6.11.3
Just faced this issue:
node -v
v12.10.0
npm -v
6.10.3
npx create-nuxt-app project-name works yesterday but getting below issue today
Trace: { Error: Cannot find module './prompts'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
at Function.Module._load (internal/modules/cjs/loader.js:506:25)
at Module.require (internal/modules/cjs/loader.js:636:17)
Same on Linux here. Will do https://github.com/nuxt/create-nuxt-app/issues/350#issuecomment-536616454
fixed in 2.11.1 https://github.com/nuxt/create-nuxt-app/pull/352
Worth the wait for npm to update or use 2.10.1? Thanks!
Do npm update -g create-nuxt-app and then try, it should fix. Worked for me.
Most helpful comment
@roshangara: https://github.com/nuxt/create-nuxt-app/issues/349#issuecomment-536609437