找不到模块 coa/compile.js

THI*_*NIS 11 node.js create-react-app yarnpkg

我在使用 create-react-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 {
Run Code Online (Sandbox Code Playgroud)

我已经卸载了所有 .lock 和 node_module 文件夹,但它仍然不起作用。

小智 3

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

攻击者发布了该软件包的损坏版本,请勿安装它,尤其是在 Windows 上!