午夜剧场伦理_日本一道高清_国产又黄又硬_91黄色网战_女同久久另类69精品国产_妹妹的朋友在线

您的位置:首頁技術文章
文章詳情頁

javascript - 為什么用mocha測試的時候提示說nodejs版本過低

瀏覽:240日期:2023-09-30 15:28:16

問題描述

'scripts': { 'test': 'mocha' }, 'author': '', 'license': 'ISC', 'description': '', 'dependencies': { 'koa': '^2.2.0' }, 'devDependencies': { 'mocha':'^3.2.0', 'supertest': '3.0.0' }

Darwin 16.5.0npm ERR! argv '/usr/local/bin/node' '/usr/local/bin/npm' 'run' 'test'npm ERR! node v7.8.0npm ERR! npm v4.2.0npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! koa-test@1.0.0 test: `mocha`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the koa-test@1.0.0 test script ’mocha’.npm ERR! Make sure you have the latest version of node.js and npm installed.npm ERR! If you do, this is most likely a problem with the koa-test package,npm ERR! not with npm itself. Tell the author that this fails on your system:npm ERR! mochanpm ERR! You can get information on how to open an issue for this project with:npm ERR! npm bugs koa-testnpm ERR! Or if that isn’t available, you can get their info via:npm ERR! npm owner ls koa-testnpm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request:npm ERR! /Users/rennaiqian/.npm/_logs/2017-04-11T01_44_49_682Z-debug.log

一開始用yarn install后來出問題了使用的是npm install

問題解答

回答1:

不是這個問題,這是npm排除自身錯誤的一個假設。你吧所有錯誤全部貼上來

標簽: JavaScript
相關文章:
主站蜘蛛池模板: 天天操天天操天天操天天操天天操 | 亚洲成人av免费观看 | 国产性xxxx高清 | 欧美特级毛片 | 99热18| 先锋资源男人 | av大片在线 | 久久一二区 | 色在线免费观看 | 精品日韩在线观看 | 中文字幕在线观看国产 | 国产精品另类 | 日韩mv欧美mv国产网站 | 成人p站在线观看 | 生猴子在线观看免费视频 | 欧美一区二区三区在线观看视频 | 天堂中文在线网 | 91传媒网站| 国产精品久久777777 | 亚洲毛片亚洲毛片亚洲毛片 | 三年中国中文观看免费播放 | 成人在线播放网站 | 欧美成年人网站 | 国产精品永久免费 | 婷婷国产 | 亚洲成人一级 | 色资源在线观看 | 亚洲男人的天堂在线观看 | 99r精品| 男女猛烈无遮挡 | 日韩有码av | 宅男噜噜噜66一区二区 | 97超碰人人模人人人爽人人爱 | av资源| 精品视频在线播放 | 成人手机av | 日韩av高清在线观看 | 精品一区二区三区国产 | 欧美三级精品 | 国产精品中文字幕在线 | 午夜国产免费 |