2017-02-05 224 views
0

我有一個非常大的問題,與流星NPM安裝,我用:爲什麼meteor安裝npm --save angular-ui-grid不工作?

  • 流星角
  • 流星

我嘗試導入ui-griduiRouterangularUBoostrap(正如你所看到的圖片)。但是是不可能的。我不是第一次嘗試導入一些由'meteor npm install'安裝的軟件包,有時很好,有時會出錯。 爲什麼?我該如何解決這個問題?請,我真的,真的,真的,我需要安裝uiGrid'流星npm安裝' 請幫助!

enter image description here

這是導航控制檯整個menssage錯誤:

modules.js?hash=b73ee78…:3830 Uncaught Error: [$injector:modulerr] Failed to instantiate module ageApp due to: 
Error: [$injector:modulerr] Failed to instantiate module {} due to: 
Error: [ng:areq] Argument 'module' is not a function, got Object 
http://errors.angularjs.org/1.5.8/ng/areq?p0=module&p1=not%20a%20function%2C%20got%20Object 
    at http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:3830:12 
    at assertArg (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:5654:11) 
    at assertArgFn (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:5664:3) 
    at http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8388:11 
    at forEach (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:4083:20) 
    at loadModules (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8363:5) 
    at http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8380:40 
    at forEach (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:4083:20) 
    at loadModules (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8363:5) 
    at createInjector (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8285:19) 
http://errors.angularjs.org/1.5.8/$injector/modulerr?p0=%7B%7D&p1=Error%3A%20%5Bng%3Aareq%5D%20Argument%20'module'%20is%20not%20a%20function%2C%20got%20Object%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.5.8%2Fng%2Fareq%3Fp0%3Dmodule%26p1%3Dnot%2520a%2520function%252C%2520got%2520Object%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A3830%3A12%0A%20%20%20%20at%20assertArg%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A5654%3A11)%0A%20%20%20%20at%20assertArgFn%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A5664%3A3)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8388%3A11%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A4083%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8363%3A5)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8380%3A40%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A4083%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8363%3A5)%0A%20%20%20%20at%20createInjector%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8285%3A19) 
    at http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:3830:12 
    at http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8402:15 
    at forEach (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:4083:20) 
    at loadModules (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8363:5) 
    at http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8380:40 
    at forEach (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:4083:20) 
    at loadModules (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8363:5) 
    at createInjector (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8285:19) 
    at doBootstrap (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:5520:20) 
    at bootstrap (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:5541:12) 
http://errors.angularjs.org/1.5.8/$injector/modulerr?p0=ageApp&p1=Error%3A%20%5B%24injector%3Amodulerr%5D%20Failed%20to%20instantiate%20module%20%7B%7D%20due%20to%3A%0AError%3A%20%5Bng%3Aareq%5D%20Argument%20'module'%20is%20not%20a%20function%2C%20got%20Object%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.5.8%2Fng%2Fareq%3Fp0%3Dmodule%26p1%3Dnot%2520a%2520function%252C%2520got%2520Object%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A3830%3A12%0A%20%20%20%20at%20assertArg%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A5654%3A11)%0A%20%20%20%20at%20assertArgFn%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A5664%3A3)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8388%3A11%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A4083%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8363%3A5)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8380%3A40%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A4083%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8363%3A5)%0A%20%20%20%20at%20createInjector%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8285%3A19)%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.5.8%2F%24injector%2Fmodulerr%3Fp0%3D%257B%257D%26p1%3DError%253A%2520%255Bng%253Aareq%255D%2520Argument%2520'module'%2520is%2520not%2520a%2520function%252C%2520got%2520Object%250Ahttp%253A%252F%252Ferrors.angularjs.org%252F1.5.8%252Fng%252Fareq%253Fp0%253Dmodule%2526p1%253Dnot%252520a%252520function%25252C%252520got%252520Object%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A3000%252Fpackages%252Fmodules.js%253Fhash%253Db73ee7873484799229a6d88f4293000c7ed10f7f%253A3830%253A12%250A%2520%2520%2520%2520at%2520assertArg%2520(http%253A%252F%252Flocalhost%253A3000%252Fpackages%252Fmodules.js%253Fhash%253Db73ee7873484799229a6d88f4293000c7ed10f7f%253A5654%253A11)%250A%2520%2520%2520%2520at%2520assertArgFn%2520(http%253A%252F%252Flocalhost%253A3000%252Fpackages%252Fmodules.js%253Fhash%253Db73ee7873484799229a6d88f4293000c7ed10f7f%253A5664%253A3)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A3000%252Fpackages%252Fmodules.js%253Fhash%253Db73ee7873484799229a6d88f4293000c7ed10f7f%253A8388%253A11%250A%2520%2520%2520%2520at%2520forEach%2520(http%253A%252F%252Flocalhost%253A3000%252Fpackages%252Fmodules.js%253Fhash%253Db73ee7873484799229a6d88f4293000c7ed10f7f%253A4083%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(http%253A%252F%252Flocalhost%253A3000%252Fpackages%252Fmodules.js%253Fhash%253Db73ee7873484799229a6d88f4293000c7ed10f7f%253A8363%253A5)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A3000%252Fpackages%252Fmodules.js%253Fhash%253Db73ee7873484799229a6d88f4293000c7ed10f7f%253A8380%253A40%250A%2520%2520%2520%2520at%2520forEach%2520(http%253A%252F%252Flocalhost%253A3000%252Fpackages%252Fmodules.js%253Fhash%253Db73ee7873484799229a6d88f4293000c7ed10f7f%253A4083%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(http%253A%252F%252Flocalhost%253A3000%252Fpackages%252Fmodules.js%253Fhash%253Db73ee7873484799229a6d88f4293000c7ed10f7f%253A8363%253A5)%250A%2520%2520%2520%2520at%2520createInjector%2520(http%253A%252F%252Flocalhost%253A3000%252Fpackages%252Fmodules.js%253Fhash%253Db73ee7873484799229a6d88f4293000c7ed10f7f%253A8285%253A19)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A3830%3A12%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8402%3A15%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A4083%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8363%3A5)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8380%3A40%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A4083%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8363%3A5)%0A%20%20%20%20at%20createInjector%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8285%3A19)%0A%20%20%20%20at%20doBootstrap%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A5520%3A20)%0A%20%20%20%20at%20bootstrap%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A5541%3A12) 
    at http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:3830:12 
    at assertArg (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:5654:11) 
    at assertArgFn (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:5664:3) 
    at http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8388:11 
    at forEach (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:4083:20) 
    at loadModules (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8363:5) 
    at http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8380:40 
    at forEach (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:4083:20) 
    at loadModules (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8363:5) 
    at createInjector (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8285:19) 
http://errors.angularjs.org/1.5.8/$injector/modulerr?p0=%7B%7D&p1=Error%3A%20%5Bng%3Aareq%5D%20Argument%20'module'%20is%20not%20a%20function%2C%20got%20Object%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.5.8%2Fng%2Fareq%3Fp0%3Dmodule%26p1%3Dnot%2520a%2520function%252C%2520got%2520Object%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A3830%3A12%0A%20%20%20%20at%20assertArg%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A5654%3A11)%0A%20%20%20%20at%20assertArgFn%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A5664%3A3)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8388%3A11%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A4083%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8363%3A5)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8380%3A40%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A4083%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8363%3A5)%0A%20%20%20%20at%20createInjector%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8285%3A19) 
    at http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:3830:12 
    at http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8402:15 
    at forEach (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:4083:20) 
    at loadModules (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8363:5) 
    at http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8380:40 
    at forEach (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:4083:20) 
    at loadModules (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8363:5) 
    at createInjector (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8285:19) 
    at doBootstrap (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:5520:20) 
    at bootstrap (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:5541:12) 
http://errors.angularjs.org/1.5.8/$injector/modulerr?p0=ageApp&p1=Error%3A%20%5B%24injector%3Amodulerr%5D%20Failed%20to%20instantiate%20module%20%7B%7D%20due%20to%3A%0AError%3A%20%5Bng%3Aareq%5D%20Argument%20'module'%20is%20not%20a%20function%2C%20got%20Object%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.5.8%2Fng%2Fareq%3Fp0%3Dmodule%26p1%3Dnot%2520a%2520function%252C%2520got%2520Object%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A3830%3A12%0A%20%20%20%20at%20assertArg%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A5654%3A11)%0A%20%20%20%20at%20assertArgFn%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A5664%3A3)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8388%3A11%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A4083%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8363%3A5)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8380%3A40%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A4083%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8363%3A5)%0A%20%20%20%20at%20createInjector%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8285%3A19)%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.5.8%2F%24injector%2Fmodulerr%3Fp0%3D%257B%257D%26p1%3DError%253A%2520%255Bng%253Aareq%255D%2520Argument%2520'module'%2520is%2520not%2520a%2520function%252C%2520got%2520Object%250Ahttp%253A%252F%252Ferrors.angularjs.org%252F1.5.8%252Fng%252Fareq%253Fp0%253Dmodule%2526p1%253Dnot%252520a%252520function%25252C%252520got%252520Object%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A3000%252Fpackages%252Fmodules.js%253Fhash%253Db73ee7873484799229a6d88f4293000c7ed10f7f%253A3830%253A12%250A%2520%2520%2520%2520at%2520assertArg%2520(http%253A%252F%252Flocalhost%253A3000%252Fpackages%252Fmodules.js%253Fhash%253Db73ee7873484799229a6d88f4293000c7ed10f7f%253A5654%253A11)%250A%2520%2520%2520%2520at%2520assertArgFn%2520(http%253A%252F%252Flocalhost%253A3000%252Fpackages%252Fmodules.js%253Fhash%253Db73ee7873484799229a6d88f4293000c7ed10f7f%253A5664%253A3)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A3000%252Fpackages%252Fmodules.js%253Fhash%253Db73ee7873484799229a6d88f4293000c7ed10f7f%253A8388%253A11%250A%2520%2520%2520%2520at%2520forEach%2520(http%253A%252F%252Flocalhost%253A3000%252Fpackages%252Fmodules.js%253Fhash%253Db73ee7873484799229a6d88f4293000c7ed10f7f%253A4083%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(http%253A%252F%252Flocalhost%253A3000%252Fpackages%252Fmodules.js%253Fhash%253Db73ee7873484799229a6d88f4293000c7ed10f7f%253A8363%253A5)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A3000%252Fpackages%252Fmodules.js%253Fhash%253Db73ee7873484799229a6d88f4293000c7ed10f7f%253A8380%253A40%250A%2520%2520%2520%2520at%2520forEach%2520(http%253A%252F%252Flocalhost%253A3000%252Fpackages%252Fmodules.js%253Fhash%253Db73ee7873484799229a6d88f4293000c7ed10f7f%253A4083%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(http%253A%252F%252Flocalhost%253A3000%252Fpackages%252Fmodules.js%253Fhash%253Db73ee7873484799229a6d88f4293000c7ed10f7f%253A8363%253A5)%250A%2520%2520%2520%2520at%2520createInjector%2520(http%253A%252F%252Flocalhost%253A3000%252Fpackages%252Fmodules.js%253Fhash%253Db73ee7873484799229a6d88f4293000c7ed10f7f%253A8285%253A19)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A3830%3A12%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8402%3A15%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A4083%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8363%3A5)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8380%3A40%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A4083%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8363%3A5)%0A%20%20%20%20at%20createInjector%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A8285%3A19)%0A%20%20%20%20at%20doBootstrap%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A5520%3A20)%0A%20%20%20%20at%20bootstrap%20(http%3A%2F%2Flocalhost%3A3000%2Fpackages%2Fmodules.js%3Fhash%3Db73ee7873484799229a6d88f4293000c7ed10f7f%3A5541%3A12) 
    at http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:3830:12 
    at http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8402:15 
    at forEach (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:4083:20) 
    at loadModules (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8363:5) 
    at createInjector (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:8285:19) 
    at doBootstrap (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:5520:20) 
    at bootstrap (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:5541:12) 
    at angularInit (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:5426:5) 
    at HTMLDocument.<anonymous> (http://localhost:3000/packages/modules.js?hash=b73ee7873484799229a6d88f4293000c7ed10f7f:35525:5) 
    at fire (http://localhost:3000/packages/jquery.js? 

回答

0

有時候角模塊沒有發揮好。如果模塊沒有導出正確的東西(即角度模塊的名稱),它會中斷。

,而不是驗證碼:

export default angular.module('ageApp',[  
    angularMeteor, 
    angularUBoostrap, 
    uiRouter, 
    uiGrid 
]) 

嘗試使用,而不是uiGrid 'ui.grid',像這樣:

export default angular.module('ageApp',[  
    angularMeteor, 
    angularUBoostrap, 
    uiRouter, 
    'ui.grid' 
]) 

這是不是一個大問題,但我不得不這樣做這在少數情況下我自己。

+0

你好,謝謝你的回答。我試圖實施你的建議,但我沒有好消息。同樣的問題仍然存在。這是解決這個問題的另一種方法嗎? 再次感謝! – TigerSpirt

+0

你可以試試這個流星包https://atmospherejs.com/smrsoftware/angular-ui-grid – Mikkel

+0

是的,但實際上我已經安裝了v3.0.0。但我需要實際的版本uiGrid 4.0.0。 – TigerSpirt