已解决
启动项目报错,找不到模块 coa/compile.js
来自网友在路上 184884提问 提问时间:2023-10-09 10:12:24阅读次数: 84
最佳答案 问答题库848位专家为你答疑解惑
启动项目报错:
Exit code: 1
Command: start /B node compile.js & node compile.js
Arguments:
Directory: uber-web/node_modules/coa
Output:
/bin/sh: 1: start: not found
internal/modules/cjs/loader.js:905throw err;^Error: Cannot find module 'uber-web/node_modules/coa/compile.js'at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)at Function.Module._load (internal/modules/cjs/loader.js:746:27)at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)at internal/main/run_main_module.js:17:47 {
解决办法:
在package.json文件中添加:
"coa": "2.0.2"
删除node_modules,重新npm i --legacy-peer-deps,再运行即可
查看全文
99%的人还看了
相似问题
- conda创建pytorch环境报错
- Python通过selenium调用IE11浏览器报错解决方法
- kafka本地安装报错
- 【BUG】第一次创建vue3+vite项目启动报错Error: Cannot find module ‘worker_threads‘
- git 构建报错
- Docker build报错总结,版本过新大避雷!
- Mongodb3.4升级高版本mongoTemplate.executeCommand报错The cursor option is required
- duplicate复制数据库单个数据文件复制失败报错rman-03009 ora-03113
- 安装第三方包报错 error: Microsoft Visual C++ 14.0 or greater is required——解决办法
- 邮件|gitpushgithub报错|Lombok注解
猜你感兴趣
版权申明
本文"启动项目报错,找不到模块 coa/compile.js":http://eshow365.cn/6-17733-0.html 内容来自互联网,请自行判断内容的正确性。如有侵权请联系我们,立即删除!