Angularjs npm重建节点sass不工作

Angularjs npm重建节点sass不工作,angularjs,ubuntu,ionic-framework,Angularjs,Ubuntu,Ionic Framework,我在Windows操作系统上开发ionic项目,然后我尝试在ubuntu(linux操作系统)上使用它,但它告诉我运行npm rebuild node sass,所以我这样做了,但这个错误不断出现,我试图修复“文件系统是只读的”,但没有任何效果 npm rebuild node-sass npm ERR! Linux 4.8.0-41-generic npm ERR! argv "/usr/local/bin/node" "/usr/bin/npm" "rebuild" "node-sass"

我在Windows操作系统上开发ionic项目,然后我尝试在ubuntu(linux操作系统)上使用它,但它告诉我运行
npm rebuild node sass
,所以我这样做了,但这个错误不断出现,我试图修复“文件系统是只读的”,但没有任何效果

npm rebuild node-sass
npm ERR! Linux 4.8.0-41-generic
npm ERR! argv "/usr/local/bin/node" "/usr/bin/npm" "rebuild" "node-sass"
npm ERR! node v4.8.0
npm ERR! npm  v4.1.2
npm ERR! path /media/bishoy/realwork/ambulancer/code/patients/node_modules/.bin/node-sass
npm ERR! code EROFS
npm ERR! errno -30
npm ERR! syscall unlink

npm ERR! rofs EROFS: read-only file system, unlink '/media/bishoy/realwork/ambulancer/code/patients/node_modules/.bin/node-sass'
npm ERR! rofs This is most likely not a problem with npm itself
npm ERR! rofs and is related to the file system being read-only.
npm ERR! rofs 
npm ERR! rofs Often virtualized file systems, or other file systems
npm ERR! rofs that don't support symlinks, give this error.
npm ERR! Linux 4.8.0-41-generic
npm ERR! argv "/usr/local/bin/node" "/usr/bin/npm" "rebuild" "node-sass"
npm ERR! node v4.8.0
npm ERR! npm  v4.1.2
npm ERR! path npm-debug.log.185227705
npm ERR! code EROFS
npm ERR! errno -30
npm ERR! syscall open

npm ERR! rofs EROFS: read-only file system, open 'npm-debug.log.185227705'
npm ERR! rofs This is most likely not a problem with npm itself
npm ERR! rofs and is related to the file system being read-only.
npm ERR! rofs 
npm ERR! rofs Often virtualized file systems, or other file systems
npm ERR! rofs that don't support symlinks, give this error.

npm ERR! Please include the following file with any support request:
npm ERR!     /media/bishoy/realwork/ambulancer/code/patients/npm-debug.log

您需要删除
node\u模块
并运行
npm安装

看这里:

rm -rf node_modules 
npm install