在轨道上的红宝石中安装纱线时出错

时间:2018-04-14 16:07:42

标签: ruby-on-rails ruby yarnpkg

我从github上的rails repo上拉了一个红宝石。在进入rails s时它会问我“你的纱线包装已经过时了。请运行纱线安装” 在运行纱线安装时,我收到以下错误: -

error An unexpected error occurred: 
"/home/umesh/Downloads/dms/dms_webapp/node_modules/node: Command 
failed.
Exit code: 1
Command: sh
Arguments: -c node installArchSpecificPackage
Directory: /home/umang/Downloads/dms/dms_webapp/node_modules/node
Output:
npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module 'node-gyp/bin/node-gyp'

0 个答案:

没有答案