Meteor-Angular2-ReferenceError:系统未定义 [英] Meteor-Angular2 - ReferenceError: System is not defined

查看:78
本文介绍了Meteor-Angular2-ReferenceError:系统未定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于我尝试升级项目以支持最后一个Angular2路由器,所以我彻底破坏了我的app.h

Since I tried upgraded my project to support the last Angular2 router I completely broke my app.h

什么都没有发生,经历了我遇到的所有错误和问题,这是一段了不起的旅程.除了这一个,我设法解决了所有问题.

Nothing went smoot and it's been an amazing journey through all errors and problems that I have face. I managed to solve them all except this one.

如果有人可以给我一个提示,因为我用尽了一切机会,我将不胜感激.

I would be very appreciated if someone could give me a hint on what to do because I ran out of possibilities.

W20160905-02:19:05.541(1)? (STDERR) /home/workspace/.meteor/packages/meteor-tool/.1.4.1_1.crqcrg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280
W20160905-02:19:05.652(1)? (STDERR)                             throw(ex);
W20160905-02:19:05.652(1)? (STDERR)                             ^
W20160905-02:19:05.653(1)? (STDERR)           
W20160905-02:19:05.653(1)? (STDERR) ReferenceError: System is not defined
W20160905-02:19:05.653(1)? (STDERR)     at systemjs.config.js:40:26
W20160905-02:19:05.654(1)? (STDERR)     at meteorInstall.systemjs.config.js (systemjs.config.js:5:1)
W20160905-02:19:05.654(1)? (STDERR)     at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)
W20160905-02:19:05.655(1)? (STDERR)     at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1)
W20160905-02:19:05.655(1)? (STDERR)     at server/main.ts:11:4
W20160905-02:19:05.655(1)? (STDERR)     at /home/workspace/meteor-angular/test-app-v1.0.3/.meteor/local/build/programs/server/boot.js:292:10
W20160905-02:19:05.656(1)? (STDERR)     at Array.forEach (native)
W20160905-02:19:05.656(1)? (STDERR)     at Function._.each._.forEach (/home/workspace/.meteor/packages/meteor-tool/.1.4.1_1.crqcrg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20160905-02:19:05.656(1)? (STDERR)     at /home/workspace/meteor-angular/test-app-v1.0.3/.meteor/local/build/programs/server/boot.js:128:5
=> Exited with code: 1

推荐答案

我将在这里留下我的解决方案,它可能会对其他人有所帮助.

I'm just leaving here my solution, it may help someone else.

我找不到导致问题的原因,但是我创建了一个新的流星项目,将所有项目文件复制到其中,并使用以下命令安装了项目依赖项:

I wasn't able to find what was causing the problem, but I created a new meteor project, copied all the project files into it and installed the project dependencies with:

meteor npm install

也许与破损的包裹有关.

Maybe it had something to do with a broken package.

这篇关于Meteor-Angular2-ReferenceError:系统未定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆