老师我配置了环境以后到了npm install这步命令行报错,前面都和视频里面是一样的

来源:2-2 Vue-cli脚手架安装

张名扬

2017-11-23

npm WARN skippingAction Module is inside a symlinked module: not running add boolbase@1.0.0 node_modules\boolbase

npm WARN skippingAction Module is inside a symlinked module: not running add electron-to-chromium@1.3.27 node_modules\browserslist\node_modules\electron-to-chromium

npm WARN skippingAction Module is inside a symlinked module: not running add caniuse-db@1.0.30000769 node_modules\caniuse-db

npm WARN skippingAction Module is inside a symlinked module: not running add browserslist@1.7.7 node_modules\browserslist

npm WARN skippingAction Module is inside a symlinked module: not running add ansi-regex@2.1.1 node_modules\clap\node_modules\ansi-regex

npm WARN skippingAction Module is inside a symlinked module: not running add ansi-styles@2.2.1 node_modules\clap\node_modules\ansi-styles

npm WARN skippingAction Module is inside a symlinked module: not running add has-ansi@2.0.0 node_modules\clap\node_modules\has-ansi

npm WARN skippingAction Module is inside a symlinked module: not running add strip-ansi@3.0.1 node_modules\clap\node_modules\strip-ansi

npm WARN skippingAction Module is inside a symlinked module: not running add supports-color@2.0.0 node_modules\clap\node_modules\supports-color

npm WARN skippingAction Module is inside a symlinked module: not running add chalk@1.1.3 node_modules\clap\node_modules\chalk

npm WARN skippingAction Module is inside a symlinked module: not running add clap@1.2.3 node_modules\clap

npm WARN skippingAction Module is inside a symlinked module: not running add source-map@0.5.7 node_modules\clean-css\node_modules\source-map

npm WARN skippingAction Module is inside a symlinked module: not running add clean-css@4.1.9 node_modules\clean-css

npm WARN skippingAction Module is inside a symlinked module: not running add clone@1.0.3 node_modules\clone

npm WARN skippingAction Module is inside a symlinked module: not running add color-name@1.1.3 node_modules\color-name



写回答

1回答

张名扬

提问者

2017-11-23

Administrator@YZ59 MINGW64 /d/Demospace/helloVue/vue-music

$ node -v

v6.9.1


Administrator@YZ59 MINGW64 /d/Demospace/helloVue/vue-music

$ npm -v

3.10.8

这是我的npm 和node的版本

0
2
张名扬
回复
ustbhuangyi
老师,我是这样解决的,之前可能是vue-cli模块没有安装。大赞老师!!!!我安装了vue-cli模块以后npm install安装依赖的时候没有反应,所以我是用了cnpm最终项目安装并且运行成功了。谢谢老师的解答,一语中的666!
2017-11-23
共2条回复

Vue2.0高级应用教学实战,开发企业级移动端音乐Web App

Vue.js高级知识应用大集合,实战企业级APP,教你搞定组件化开发。

5432 学习 · 3804 问题

查看课程