0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

node.js npm startエラーで実行できない

Posted at

npm start の実行エラー

以下の資料を基に実行していますが、
ch2 - 6 npmでローカルにサーバを起動する箇所でエラーがでます。
https://paper.dropbox.com/doc/ch2-web-MSZhptwaAfXOZ8OTiTeTx

素人なのでエラー原因がわからず進まない状況です。
npmなどのバージョンの影響なのでしょうか。。
ご教授願います。

実行環境
windows10 64bit
npmのバージョンは6.9.0
nodeのバージョンはv10.16.3

エラー表示

スクリプトやnpmエラーとなります。

filename.rb
npm ERR! missing script: build;
npm ERR!
npm ERR! Did you mean this?
npm ERR!     build

npm ERR! A complete log of this run can be found in:
npm ERR!     
filename.rb
 -------------------------------------
[Browsersync] Serving files from: dist/
[Browsersync] Watching files...
0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?