老师,您的这个项目我没有权限访问

来源:6-1 Vue项目预热 - 环境配置

雅兰心诺

2018-07-28

https://gitee.com/dell-lee/Travel

写回答

3回答

Dell

2018-07-31

https://git.imooc.com/Project/coding-203 到这里下载最新代码

0
0

雅兰心诺

提问者

2018-07-29

$ npm run dev


> travel@1.0.0 dev C:\Users\15873\Desktop\coding-203

> webpack-dev-server --host 0.0.0.0 --inline --progress --config build/webpack.dev.conf.js


module.js:540

    throw err;

    ^


Error: Cannot find module 'webpack'

    at Function.Module._resolveFilename (module.js:538:15)

    at Function.Module._load (module.js:468:25)

    at Module.require (module.js:587:17)

    at require (internal/module.js:11:18)

    at Object.<anonymous> (C:\Users\15873\AppData\Roaming\npm\node_modules\webpack-dev-server\lib\Server.js:22:17)

    at Module._compile (module.js:643:30)

    at Object.Module._extensions..js (module.js:654:10)

    at Module.load (module.js:556:32)

    at tryModuleLoad (module.js:499:12)

    at Function.Module._load (module.js:491:3)

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! travel@1.0.0 dev: `webpack-dev-server --host 0.0.0.0 --inline --progress --config build/webpack.dev.conf.js`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the travel@1.0.0 dev script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm WARN Local package.json exists, but node_modules missing, did you mean to install?


npm ERR! A complete log of this run can be found in:

npm ERR!     C:\Users\15873\AppData\Roaming\npm-cache\_logs\2018-07-29T08_56_30_158Z-debug.log

老师,运行您的这个项目报这个错误,我的机器上一直运行不出来

0
0

Dell

2018-07-29

0
2
Dell
回复
雅兰心诺
你是不是本地都没有正确的安装node呀
2018-07-31
共2条回复

Vue2.5-2.6-3.0开发去哪儿网App 零基础入门到实战

课程紧跟Vue3版本迭代,企业主流版本Vue2+Vue3全掌握

10675 学习 · 8191 问题

查看课程