在啟動(dòng)項(xiàng)目時(shí),突然報(bào)錯(cuò),提示無(wú)法解析axios文件....
我們只需要從新安裝axios
npm install --save axios
如果報(bào)錯(cuò)了文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-624763.html
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @vue/eslint-config-standard@6.1.0
npm ERR! Found: eslint-plugin-vue@8.7.1
npm ERR! node_modules/eslint-plugin-vue
npm ERR! dev eslint-plugin-vue@"^8.0.3" from the root project
......
只需要在命令后面加上這些,就可以安裝成功了,重新 啟動(dòng)項(xiàng)目即可?。?!文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-624763.html
npm install --save axios -dev --force
到了這里,關(guān)于如何解決 Can‘t resolve ‘a(chǎn)xios‘ in....的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!