reactjs - 我正在尝试建立一个反应开发环境,在纱线的某个地方出现错误
问题描述
我正在尝试建立一个反应开发环境,用纱线在某处获得错误亲属。
我已经安装了 Node.js
npm -v
6.14.4
node -v
v10.20.1
现在在我的公共 html 文件夹中,我创建了站点并安装了节点 js 包
纱线安装工作正常。
[edu2mfgitulstagi@st03 edu2mfg-clean-architecture]$ yarn install
yarn install v1.22.4
但是yarn clean
并yarn build
显示错误
[edu2mfgitulstagi@st03 server]$ yarn clean yarn run v1.22.4 $ npm-run-all clean:* /bin/sh: npm-run-all: command not found error Command failed with exit code 127. info 访问https:// /yarnpkg.com/en/docs/cli/run获取有关此命令的文档。
[edu2mfgitulstagi@st03 server]$ yarn build
yarn run v1.22.4
$ npm-run-all clean lint compile copy
/bin/sh: npm-run-all: command not found
请帮我解决这个问题。提前谢谢你
解决方案
推荐阅读
- javascript - Octicons不工作,我做错了吗?(html/css/js)
- php - html表单无法发送数据到
- mongodb - Mongodb 在使用动态键的嵌套文档中添加两个值的问题
- python-3.x - Networkx中终端节点的邻居
- git - Git“提交除子模块更改之外的所有内容”
- java - AsynceTask 图像崩溃
- python - 仅使用新信息将字典读取到文件覆盖
- z3 - 精益是否增强了证明可测量性?
- c# - 从列表中提取所有数据
- 在 C# 中使用 HTML Agility Pack 标记
- google-cloud-platform - 如何在 GCP 中监控 VM 服务?