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.

yarn devするとエラーなしでクラッシュする

0
Posted at

問題

Nuxt使用時に、yarn devもしくはyarn run devを行うとエラーやログを出力せずに、nodemonがクラッシュする。
実際のエラーはこんな感じ:

[HPM] Proxy created: /  ->  http://localhost:5000
ℹ Preparing project for development                         02:06:33
ℹ Initial build may take a while                            02:06:33
✔ Builder initialized                                        02:06:34
✔ Nuxt files generated                                       02:06:34

● Client █████████████████████████ building (52%) 352/386 modules 34 active
 babel-loader › ts-loader › vue-loader › src/hoge/path/mom.vue

● Server █████████████████████████ building (37%) 228/240 modules 12 active
 url-loader › src/static/hoge.png

[nodemon] app crashed - waiting for file changes before starting...

環境

VagrantのDebian9 (Windows10 Pro上)
cat /etc/os-release -> PRETTY_NAME="Debian GNU/Linux 10 (buster)"
↑ stretchをbusterアップデートしてしまったため...

原因

メモリが足りなかったためです!!!!!!!!!!!
free -hして確認すると、512MBしか割り当てられてませんでした。みなさんも気を付けましょう!!!!!!!!!!!!!!!

0
0
0

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?