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

The project cannot be started #212

Open
wangweiji1006 opened this issue Dec 30, 2022 · 4 comments
Open

The project cannot be started #212

wangweiji1006 opened this issue Dec 30, 2022 · 4 comments

Comments

@wangweiji1006
Copy link

hello,when running the program:
1.npm run dev

[email protected] dev
nuxt

Nuxi 3.0.0 11:00:59
Usage: npx nuxi dev|build|build-module|cleanup|clean|preview|start|analyze|generate|prepare|typecheck|usage|info|init|create|upgrade|test|add|new [args] 11:00:59

Use npx nuxi [command] --help to see help for each command
2.when run "npx nuxi dev":
Nuxi 3.0.0
Nuxt 3.0.0 with Nitro 1.0.0
ERROR Cannot read properties of undefined (reading 'options')
at httpModule (node_modules@nuxt\http\lib\module.js:10:35)
at installModule (/C:/Users/Administrator/Downloads/Compressed/express-template-master_2/express-template-master/node_modules/@nuxt/kit/dist/index.mjs:416:9)
at async initNuxt (/C:/Users/Administrator/Downloads/Compressed/express-template-master_2/express-template-master/node_modules/nuxt/dist/index.mjs:1825:7)
at async loadNuxt (/C:/Users/Administrator/Downloads/Compressed/express-template-master_2/express-template-master/node_modules/nuxt/dist/index.mjs:1857:5)
at async loadNuxt (/C:/Users/Administrator/Downloads/Compressed/express-template-master_2/express-template-master/node_modules/@nuxt/kit/dist/index.mjs:493:19)
at async Object.invoke (/C:/Users/Administrator/Downloads/Compressed/express-template-master_2/express-template-master/node_modules/nuxi/dist/chunks/build.mjs:34:18)
at async _main (/C:/Users/Administrator/Downloads/Compressed/express-template-master_2/express-template-master/node_modules/nuxi/dist/cli.mjs:50:20)

====ps.====
node -v
v16.15.0
npm -v
9.2.0

@Explosion-Scratch
Copy link

Happening for me as well

@Explosion-Scratch
Copy link

Screenshot with basic start:

image

@Cynthia1911
Copy link

I changed nuxt version to '2' and project started

@Bayn-Web
Copy link

this problem is solved by lock nuxt version to ^2. Thinking the author made the project to early but the nuxt version in package.json is still keep latest.

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

4 participants