第一个npm runbuild出现了问题,按照老师的版本 "css-loader": "^0.28.7", "vue": "^2.5.13", "vue-loader": "^13.6.0", "vue-template-compiler": "^2.5.13", "webpack": "^3.10.0"

来源:2-1 vue-loader+webpack项目配置

慕圣7255176

2018-08-06 21:01

TypeError: path.jion is not a function

    at Object.<anonymous> (E:\web前段\zuixin-vue\webpack.config.js:5:12)

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

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

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

    at tryModuleLoad (module.js:505:12)

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

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

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

    at requireConfig (E:\web前段\zuixin-vue\node_modules\webpack\bin\convert-argv.js:97:18)

    at E:\web前段\zuixin-vue\node_modules\webpack\bin\convert-argv.js:104:17

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! zuixin-vue@1.0.0 build: `webpack --config webpack.config.js`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the zuixin-vue@1.0.0 build script.

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


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

npm ERR!     C:\Users\小陆\AppData\Roaming\npm-cache\_logs\2018-08-06T12_50_20_720Z-debug.log


写回答 关注

1回答

  • H2MAX
    2018-08-06 23:59:33

    TypeError: path.jion is not a function

    是join

Vue+Webpack打造todo应用

用前端最热门框架Vue+最火打包工具Webpack打造todo应用

84606 学习 · 787 问题

查看课程

相似问题