简体   繁体   English

角流星教程中的未定义模块

[英]Undefined module in angular-meteor tutorial

I am trying to follow along with the angular-meteor.com tutorial for Angular 1. I keep getting the following error when trying to convert it to component syntax in step 3 我正在尝试遵循Angular 1的angular-meteor.com教程。尝试在步骤3中将其转换为组件语法时,始终出现以下错误。

I thought it was a typo somewhere so I tried downloading step 3 from git and still having same error! 我以为这是一个错字,所以我尝试从git下载第3步,但仍然有同样的错误!

modules.js?hash=451e0fb…:755Uncaught Error: [$injector:modulerr] Failed to instantiate module socially due to:
Error: [$injector:modulerr] Failed to instantiate module undefined due to:
Error: [ng:areq] Argument 'module' is not a function, got undefined

Had the same issue here, I think it's due to not properly removing the ecmascript package as instructed in Step 0 我在这里遇到了同样的问题,我认为这是由于未按照步骤0中的说明正确删除ecmascript包

As soon as I followed the step-by-step instructions on removing and adding the correct packages it worked. 一旦按照分步说明删除和添加正确的程序包就可以了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM