当我尝试将流星项目从Meteor 1.3.5.1更新到METEOR 1.4时,我有这个错误.我不知道为什么我有这个错误.我已经尝试过.meteor和.np floder.
=> Errors while initializing project:
While loading package npm-bcrypt@0.8.7:
error: Command failed:
/home/noob/.meteor/packages/meteor-tool/.1.4.0.hylsrj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm
rebuild --no-bin-links --update-binary
gyp ERR! clean error
gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
gyp ERR! stack at Error (native)
gyp ERR! System Linux 3.16.0-38-generic
gyp ERR! command
"/home/noob/.meteor/packages/meteor-tool/.1.4.0.hylsrj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node"
"/home/noob/.meteor/packages/meteor-tool/.1.4.0.hylsrj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild"
gyp ERR! cwd
/home/noob/.meteor/packages/npm-bcrypt/.0.8.7.1np1i1l++os.linux.x86_64+web.browser+web.cordova/npm/node_modules/.temp-140iag7/node_modules/bcrypt
gyp ERR! node -v v4.4.7
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! Linux 3.16.0-38-generic
npm ERR! argv
"/home/noob/.meteor/packages/meteor-tool/.1.4.0.hylsrj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node"
"/home/noob/.meteor/packages/meteor-tool/.1.4.0.hylsrj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm"
"rebuild" "--no-bin-links" "--update-binary" …
Run Code Online (Sandbox Code Playgroud) 当我运行我的流星项目时,我有这个警告:
警告:尝试安装插件cordova-plugin-device@0.3.0,但其最低版本应为1.1.1,以确保与当前平台版本兼容.为方便起见,安装最低版本,但您应该调整依赖项.
然后,我有这个错误:
I20160401-19:50:43.017(2)?E/MeteorWebApp(19633):com.meteor.webapp.WebAppException:跳过下载新的版本,因为科尔多瓦平台版本或者插件的版本已经改变,都可能不兼容
如何更新cordova-plugin-device插件?