找不到模块CoA/COMPILE.js [英] Cannot find module coa/compile.js

查看:15
本文介绍了找不到模块CoA/COMPILE.js的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Create-Reaction-app创建的项目中运行纱线,但收到以下错误:

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:905
  throw 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 {

我已卸载了所有.lock和NODE_MODULE文件夹,但仍然无法工作。

推荐答案

该问题正在CoA包的Github页面上解决:https://github.com/veged/coa/issues/99

攻击者发布了该程序包的损坏版本,请不要安装该程序包,特别是如果您使用的是Windows!

这篇关于找不到模块CoA/COMPILE.js的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆