前提:在npm install xxx 的时候报错
npm ERR! path /
npm ERR! code EROFS
npm ERR! errno -30
npm ERR! syscall access
npm ERR! rofs EROFS: read-only file system, access '/'
npm ERR! rofs Often virtualized file systems, or other file systems
npm ERR! rofs that don't support symlinks, give this error.
原因:
这个路径是错的。要改到有node_model 包的路径下执行
注意看这一句
npm ERR! rofs EROFS: read-only file system, access '/'