idea在運行前端代碼時,出現E404的錯誤,如下圖所示:
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@******** - Not found
npm ERR! 404
在Vue框架中打包和編譯時報錯。使用指令爲項目添加依賴,添加指令爲:
npm i
idea在運行前端代碼時,出現E404的錯誤,如下圖所示:
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@******** - Not found
npm ERR! 404
在Vue框架中打包和編譯時報錯。使用指令爲項目添加依賴,添加指令爲:
npm i
/** * 大數與或操作 */ global.andorOpera = function (a, b, type) { //type = 1是與運算,type = 2 是或運算,默認是與運算 a