sunlonghb

506 经验值

老是问下 access是啥目录 怎么npm install 报错
npm ERR! path E:\WWW\laravel51\node_modules\sequencify
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall access
npm ERR! enoent ENOENT: no such file or directory, access 'E:\WWW\laravel51\node_modules\sequencify'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

"devDependencies": {

"bootstrap-sass": "^3.3.7",
"gulp": "^3.9.1",
"jquery": "^3.1.0",
"laravel-elixir": "^6.0.0-9",
"laravel-elixir-browsersync-official": "^1.0.0",
"laravel-elixir-vue-2": "^0.2.0",
"laravel-elixir-webpack-official": "^1.0.2",
"lodash": "^4.14.0",
"vue": "^2.5.9",
"vue-html-loader": "^1.2.4",
"vue-loader": "^13.5.0",
"vue-resource": "^0.9.3",
"vue-style-loader": "^3.0.3",
"vue-template-compiler": "^2.5.9",
"vuex": "^2.0.0",
"axios": "^0.17.1",
"vue-axios": "^2.0.2"

},

我用的laravel5.1 公司是这个版本我就用的这个版本 vue是2.5

npm ERR! path E:\WWW\laravel51\node_modules\sequencify
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall access
npm ERR! enoent ENOENT: no such file or directory, access 'E:\WWW\laravel51\node_modules\sequencify'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Program Files\nodejs\node_cache_logs\2017-12-10T13_01_49_961Z-debug.log

npm install vee-validate@next --save 安装后报错

npm ERR! path E:\WWW\laravel51\node_modules\browser-sync-client\node_modules\fresh
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'E:\WWW\laravel51\node_modules\browser-sync-client\node_modules\fresh' -> 'E:\WWW\laravel51\node_modules\browser-sync-client\node_modules\fresh'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

一天出错 无法渲染 就差上面那个命令了 哎 无语了

npm install vue vue-loader vue-html-loader vue-style-loader --save-dev
npm install vue-template-compiler --save-dev

<router-view class="view"></router-view> 不能渲染

今天被带入坑了 一个问题困扰了一天

routes.js?952c:19Uncaught TypeError: _vueRouter2.default is not a constructor