Linux, Web Development

Making npm work on a Cifs/Windows Share

I spent the last 5 hours trying to work out why I couldn’t use npm install for bootstrap in a cifs partition.

Turns out some has had this problem and posted a fix: http://askubuntu.com/questions/269727/npm-errors-when-installing-packages-on-windows-share

npm install --no-bin-links

This is since on a cifs partition npm will actually bail out with chmod when trying to set symlinks for the modules that it cannot due to you using a Windows share.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s