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

到 3.1.7 修改router(路由) 就不能顺利的构建了 #13

Open
qljiong opened this issue Feb 23, 2018 · 0 comments
Open

到 3.1.7 修改router(路由) 就不能顺利的构建了 #13

qljiong opened this issue Feb 23, 2018 · 0 comments

Comments

@qljiong
Copy link

qljiong commented Feb 23, 2018

到 3.1.7 修改router(路由) 用npm run dev 就会报错了。
1.git clone 你的源码,运行npm run dev 也报错。
2.最好能在文章的开头,说一下 你的运行版本和运行环境。要不同版本会有一点差异。

运行你的源码,报错如下:

[email protected] dev D:\VsCode\vue-todos
node build/dev-server.js

module.js:559
throw err;
^

Error: Cannot find module 'chalk'
at Function.Module._resolveFilename (module.js:557:15)
at Function.Module._load (module.js:484:25)
at Module.require (module.js:606:17)
at require (internal/module.js:11:18)
at Object. (D:\VsCode\vue-todos\build\check-versions.js:1:75)
at Module._compile (module.js:662:30)
at Object.Module._extensions..js (module.js:673:10)
at Module.load (module.js:575:32)
at tryModuleLoad (module.js:515:12)
at Function.Module._load (module.js:507:3)

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