Error ETXTBSY text file is busy on npm install

0 votes

When running npm install [any package] or even npm install on homestead I get the following error:

npm ERR! ETXTBSY: text file is busy, rmdir '/home/vagrant/valemus-shop-starter/valemus-shop
/node_modules/fsevents'

I tried removing the fsevents directory, however, it doesn't exist.

How do I fix this?

Apr 14, 2020 in Laravel by kartik
• 37,490 points
182 views

1 answer to this question.

0 votes

Hello,

1.Make sure to update node to latest version

To update, you can install n

sudo npm install -g n

Then just :

sudo n latest

2.Set Node scripts to use environment variables across platforms

In vagrant run :

npm install --save-dev cross-env
npm install 
npm run dev 

Thank You!!

answered Apr 14, 2020 by Niroj
• 82,560 points

Related Questions In Laravel

+1 vote
3 answers

Error: Exception file_put_contents failed to open stream: No such file or directory in Laravel?

Hello, You should typically run the php artisan config:cache command ...READ MORE

answered Mar 31, 2020 in Laravel by Niroj
• 82,560 points
10,634 views
0 votes
1 answer

How can I install Laravel via Laravel Installer on Windows?

Hello, The PATH for Windows: I’ve found the location ...READ MORE

answered Mar 31, 2020 in Laravel by Niroj
• 82,560 points
385 views
+5 votes
2 answers

Error:Uncaught ReferenceError: is not defined at HTMLAnchorElement.onclick

The most common reason behind the error ...READ MORE

answered Dec 13, 2020 in Laravel by Gitika
• 65,870 points
21,954 views
0 votes
1 answer

Error:Laravel - Session store not set on request

Hello @kartik, You'll need to use the web middleware if ...READ MORE

answered Aug 4, 2020 in Laravel by Niroj
• 82,560 points
4,035 views
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 1,840 views
0 votes
0 answers
0 votes
1 answer

Error:Laravel [InvalidArgumentException] Script “post-install-cmd” is not defined in this package

Hello @kartik, Do composer global update before laravel new <project-name> and you'll ...READ MORE

answered Apr 6, 2020 in Laravel by Niroj
• 82,560 points
301 views
0 votes
1 answer

Error: Class 'SoapClient' not found in /home/user/mysite.com/path/to/file.php on line 16

Hello @kartik, find this line in php.ini : ;extension=soap then ...READ MORE

answered Oct 29, 2020 in Laravel by Niroj
• 82,560 points
100 views