node.js - 如何修复使用命令 npm run build 时显示的错误?
问题描述
我尝试运行npm run build
输出低于错误:
root@tim-VPCEB42EG:/home/tavinder/es6# npm run build
npm ERR! Linux 4.15.0-39-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! missing script: build
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /home/tavinder/es6/npm-debug.log
解决方案
推荐阅读
- c# - 在 SQL 中填充表 - 每次达到随机数时填充都会停止
- javascript - 如何滚动通过 AJAX 调用的动态网站
- c# - (嵌套)拥有类型的 EF Core 域范围值转换
- mysql - MySQL 按列排序,然后在该集合内排序
- css - 我如何垂直居中对齐每个
带柔性显示?
- php - PHP脚本不断发送空白电子邮件
- assembly - 了解一些汇编“Hello World”代码: equ $ - msg1 打印两条消息?
- spring - ActiveMQ 5.16.0 在 PUT 消息上间歇性地抛出错误
- javascript - 带有js的Google表单选择单选按钮
- python - 在 Python 中根据日期/时间计算正常运行时间