首页 > 解决方案 > 使用 mocha 安装时出错 npm 测试。我正在使用 VS 代码

问题描述

npm test
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Users\dell\Documents\Gan-crypt\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\dell\Documents\Gan-crypt\package.json'
npm ERR! enoent This is related to npm not being able to find a file.    
npm ERR! enoent 

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\dell\AppData\Roaming\npm-cache\_logs\2021-09-06T05_30_21_377Z-debug.log

标签: mocha.js

解决方案


推荐阅读