運(yùn)行項(xiàng)目報(bào)錯(cuò)
Module build failed (from ./node_modules/vue-loader/index.js):TypeError: Cannot read properties of undefined (reading ‘vue’)
Module build failed (from ./node_modules/vue-loader/index.js):
TypeError: Cannot read properties of undefined (reading 'vue')
at Object.module.exports (/Users/user/Desktop/allprj/proj/nodejs/xioau/node_modules/vue-loader/lib/loader.js:61:18)
@ ./src/main.js 5:0-24 35:16-19
解決方法:提高vue-loader版本文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-580841.html
npm install vue-loader@14.2.2
參考===>文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-580841.html
到了這里,關(guān)于vue項(xiàng)目報(bào)錯(cuò):Module build failed (from ./node_modules/vue-loader/index.js)的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!