Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/meteor/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Meteor Can';找不到npm模块';流星德克';_Meteor_Modulus.io - Fatal编程技术网

Meteor Can';找不到npm模块';流星德克';

Meteor Can';找不到npm模块';流星德克';,meteor,modulus.io,Meteor,Modulus.io,我正试图在Module上部署meteor应用程序,但我在控制台上遇到了这些错误 Error: Can't find npm module 'meteor-deque'. Did you forget to call 'Npm.depends' in package.js within the 'meteor' package? at Object.Npm.require (/mnt/app/bundle/programs/server/boot.js:175:17) at Meteor.star

我正试图在Module上部署meteor应用程序,但我在控制台上遇到了这些错误

Error: Can't find npm module 'meteor-deque'. Did you forget to call 'Npm.depends' in package.js within the 'meteor' package?
at Object.Npm.require (/mnt/app/bundle/programs/server/boot.js:175:17)
at Meteor.startup (packages/meteor/fiber_helpers.js:17:1)
at /mnt/app/bundle/programs/server/packages/meteor.js:816:4
at /mnt/app/bundle/programs/server/packages/meteor.js:1274:3
at /mnt/app/bundle/programs/server/boot.js:242:10
at Array.forEach (native)
at Function._.each._.forEach (/mnt/app/bundle/programs/server/node_modules/underscore/underscore.js:79:11)
at /mnt/app/bundle/programs/server/boot.js:137:5

npm ERR! Linux 3.13.0-46-generic
npm ERR! argv "node" "/mnt/app/.modulus/nvm/v0.10.40/bin/npm" "start"
npm ERR! node v0.10.40
npm ERR! npm  v3.3.10
npm ERR! code ELIFECYCLE
npm ERR! meteor-dev-bundle@0.0.0 start: `node ../../main`
npm ERR! Exit status 8
npm ERR! 
npm ERR! Failed at the meteor-dev-bundle@0.0.0 start script 'node ../../main'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the meteor-dev-bundle package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ../../main
npm ERR! You can get their info via:
npm ERR!     npm owner ls meteor-dev-bundle
npm ERR! There is likely additional logging output above.
我的节点版本是0.10.4
我的meteor版本是1.2.1

请升级到meteor 1.4.2.3(最新版本)并安装babel运行时NPM(因为meteor 1.4.2.1不再提供自己的babel功能):

如果仍然存在问题,请尝试流星重置:

meteor reset
如果仍有问题,请重新安装Meteor: 从Meteor.com重新安装Meteor
cd到我的应用程序目录

meteor rebuild
meteor reset
重新安装您添加的所有软件包
运行应用程序

meteor

当我在构建包时没有指定部署包的目标体系结构,我就遇到了这个问题。我正在使用windows操作系统为linux部署服务器创建捆绑包。 例如,如果您的目标是linux部署服务器,那么请使用以下命令


meteor构建--目录构建--仅限服务器--体系结构os.linux.x86_64

我非常确定您必须将节点0.10.40与meteor 1.2+一起使用(节点0.10.36代表1.0+)这是正确的,Node的0.12.*版本中存在一个bug,它与meteor不兼容。我如何指定要与meteor项目一起使用的版本?我已经测试了Modular上使用的Node版本,即0.10。40@Naor我只是卸载了它,删除并再次部署了它,然后它就工作了。无法找到交易问题。令人惊讶的是,本地项目上的meteor重置(注意:这会删除开发数据库!),然后
mup部署
帮助。
meteor