curtiplas

Experience

3,290

0 Best Reply Awards

  • Member Since 3 Weeks Ago
  • 32 Lessons Completed
  • 0 Favorites

9th August, 2017

curtiplas left a reply on Npm Install Hang • 1 week ago

Well installing grunt didn't help at all. However, I installed yarn and instead of bombing out at fsevents it reads it as an optional dependency.

I get the following:

[email protected]:~/projects/MusekClub$ sudo yarn install
yarn install v0.27.5
    Resolving packages...
    Fetching packages...
warning [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check.
Excluding it from installation.
    Linking dependencies...
    Building fresh packages...
Done in 67.15s.

What's better is it looks like it actually works as I'm now able to run yarn dev.

Thank you so much!!!

curtiplas left a reply on Npm Install Hang • 1 week ago

Okay broke out each of the devDependencies and installed them one by one... looks like the error is getting called by the dependency.

"laravel-mix": "^1.0"

Any thoughts on how to get around this??

curtiplas left a reply on Npm Install Hang • 1 week ago

Just an update. I completely rebuilt the vagrant box from scratch and tried again. same issue.

Here is the cmd ln output:

[email protected]:~/projects/MusekClub$ sudo npm install
npm ERR! path /home/vagrant/projects/MusekClub/node_modules/fsevents/build/Release/.deps/User/eshanker/Code/fsevents/lib
npm ERR! code ETXTBSY
npm ERR! errno -26
npm ERR! syscall rmdir
npm ERR! ETXTBSY: text file is busy, rmdir '/home/vagrant/projects/MusekClub/node_modules/fsevents/build/Release/.deps/Users/eshanker/Code/fsevents/lib'

npm ERR! A complete log of this run can be found in:
npm ERR!    /home/vagrant/.npm/_logs/2017-08-09T12_45_58_590Z-debug.log
-```

7th August, 2017

curtiplas left a reply on Npm Install Hang • 2 weeks ago

Just to update everyone on the status, I completely removed npm and reinstalled it following:

https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions

for node.js 8

I then ran 'sudo npm install --verbose' directly from the host vm via virtualbox bypassing the vagrant ssh; but it still bombs out on me; thistime with a slightly different error. but still surrounding fsevents.

npm verb stack Error: EPERM: operation not permitted, scandir '/home/vagrant/projects/MusekClub/node_modules/fsevents/node_modules'
npm verb cwd /home/vagrant/projects/MusekClub
npm verb Linux 3.13.0-125-generic
npm verb argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--no-bin-links" "--verbose"
npm verb node v8.2.1
npm verb npm  v5.3.0
npm ERR! path /home/vagrant/projects/MusekClub/node_modules/fsevents/node_modules
npm ERR! code EPERM
npm ERR! errno -1
npm ERR! syscall scandir
npm ERR! Error: EPERM: operation not permitted, scandir '/home/vagrant/projects/MusekClub/node_modules/fsevents/node_modules'
npm ERR!  { Error: EPERM: operation not permitted, scandir '/home/vagrant/projects/MusekClub/node_modules/fsevents/node_modules'
npm ERR!   stack: 'Error: EPERM: operation not permitted, scandir \'/home/vagrant/projects/MusekClub/node_modules/fsevents/node_modules\'',
npm ERR!   errno: -1,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'scandir',
npm ERR!   path: '/home/vagrant/projects/MusekClub/node_modules/fsevents/node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm verb exit [ -1, true ]

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/vagrant/.npm/_logs/2017-08-07T21_30_18_892Z-debug.log

curtiplas started a new conversation Npm Install Hang • 2 weeks ago

Hello All, I'm unable to get npm installed correctly in my laravel project. I'm running laravel on a vagrant box (ubuntu-trusty-64). When I run 'npm install' I get the first error in my pastebin (linked below). I then found somewhere below that I should run it without symlinks when using a vagrant box on a windows host os so I then ran 'npm install --no-bin-links' and I was still getting the first error. So then with some help I ran 'rm -rf node_modules' then ran the 'npm install --no-bin-links' and it appears to work but hangs see second half of the pastebin.

Please help!

pastebin: https://pastebin.com/wuRkjqi6

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.