waktu tersisa untuk klaim DISKON 40% dalam program Full Stack Membership. Klaim Promo!

npm install && npm run dev gagal di homestead

Ditanyakan pada tanggal 27 June 2020 oleh Alowisius Trihartoyo Edit  Hapus  Tandai Selesai  Tandai 
pada waktu melakukan perintah npm install && npm run dev di homestead gagal. Berikut kodenya:

npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.2.7 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"<8.10.0"} (current: {"node":"14.4.0","npm":"6.14.5"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]~2.1.2 (node_modules/watchpack/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ENOENT
npm ERR! syscall rename
npm ERR! path /home/vagrant/code/perpustakaan/node_modules/hash-base/node_modules/safe-buffer
npm ERR! dest /home/vagrant/code/perpustakaan/node_modules/hash-base/node_modules/.safe-buffer.DELETE
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, rename '/home/vagrant/code/perpustakaan/node_modules/hash-base/node_modules/safe-buffer' -> '/home/vagrant/code/perpustakaan/node_modules/hash-base/node_modules/.safe-buffer.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/vagrant/.npm/_logs/2020-06-27T12_34_24_502Z-debug.log
Itu kenapa yah kira2? apakah bisa diberikan solusinya? terima kasih.
Comment ..

npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.2.7 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"<8.10.0"} (current: {"node":"14.4.0","npm":"6.14.5"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]~2.1.2 (node_modules/watchpack/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ENOENT
npm ERR! syscall rename
npm ERR! path /home/vagrant/code/perpustakaan/node_modules/hash-base/node_modules/safe-buffer
npm ERR! dest /home/vagrant/code/perpustakaan/node_modules/hash-base/node_modules/.safe-buffer.DELETE
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, rename '/home/vagrant/code/perpustakaan/node_modules/hash-base/node_modules/safe-buffer' -> '/home/vagrant/code/perpustakaan/node_modules/hash-base/node_modules/.safe-buffer.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! /home/vagrant/.npm/_logs/2020-06-27T12_34_24_502Z-debug.log

Dikomentari pada tanggal 27 June 2020 oleh Alowisius Trihartoyo Edit  Remove 
BUAT KOMENTAR

1 JAWABAN / 2 KOMENTAR

User avatar
Ahmad Oriza menjawab pada tanggal 1 July 2020 Jadikan Jawaban Terbaik  Edit  Hapus  Ubah ke Komentar 

Ini gara gara environment tutorial dan real di laptop kakak berbeda. Berbagai dependencynya ada crash.

Boleh minta isi dari :

npm ERR! /home/vagrant/.npm/_logs/2020-06-27T12_34_24_502Z-debug.log

Coba :

cat /home/vagrant/.npm/_logs/2020-06-27T12_34_24_502Z-debug.log
Comment ..

Saya sudah uninstall homesteadnya mas. Skrg pake WAMP aja ternyata lebih mudah dan nggak ada kendala klo pake WAMP.
Thanks.

Dikomentari pada tanggal 8 July 2020 oleh Alowisius Trihartoyo Edit  Remove 
BUAT KOMENTAR