Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

AngularUI v5.0.4 publish error #4268


User avatar
0
fguo created

I am trying v5.0.4 Core+Angular. The UI part works fine on my local machine, but I got error while publish it with "ng build -prod" as below. Any idea?

ERROR in ./node_modules/rxjs/_esm5/observable/BoundNodeCallbackObservable.js Module build failed: TypeError: Cannot read property 'type' of undefined at Object.getEffectiveTypeAnnotationNode (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:9341:17) at assignContextualParameterTypes (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:41652:25) at checkFunctionExpressionOrObjectLiteralMethod (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:41948:29) at checkExpressionWorker (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:42959:28) at checkExpression (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:42898:42) at checkExpressionCached (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:42779:38) at checkReturnStatement (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:45418:54) at checkSourceElement (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:46763:28) at Object.forEach (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:1506:30) at checkBlock (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:44563:16) at checkSourceElement (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:46742:28) at checkFunctionExpressionOrObjectLiteralMethodDeferred (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:41990:21) at checkDeferredNodes (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:46828:25) at checkSourceFileWorker (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:46863:17) at checkSourceFile (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:46842:13) at Object.forEach (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:1506:30) @ ./node_modules/rxjs/_esm5/observable/bindNodeCallback.js 2:0-76 @ ./node_modules/rxjs/_esm5/add/observable/bindNodeCallback.js @ ./node_modules/rxjs/_esm5/Rx.js @ ./src/account/login/validate-two-factor-code.component.ts @ ./src/account/account.module.ngfactory.js @ ./src/$$_lazy_route_resource lazy @ ./node_modules/@angular/core/esm5/core.js @ ./src/main.ts @ multi ./src/main.ts ERROR in ./node_modules/rxjs/_esm5/observable/BoundCallbackObservable.js Module build failed: TypeError: Cannot read property 'type' of undefined at Object.getEffectiveTypeAnnotationNode (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:9341:17) at assignContextualParameterTypes (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:41652:25) at checkFunctionExpressionOrObjectLiteralMethod (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:41948:29) at checkExpressionWorker (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:42959:28) at checkExpression (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:42898:42) at checkExpressionCached (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:42779:38) at checkReturnStatement (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:45418:54) at checkSourceElement (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:46763:28) at Object.forEach (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:1506:30) at checkBlock (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:44563:16) at checkSourceElement (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:46742:28) at checkFunctionExpressionOrObjectLiteralMethodDeferred (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:41990:21) at checkDeferredNodes (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:46828:25) at checkSourceFileWorker (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:46863:17) at checkSourceFile (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:46842:13) at Object.forEach (C:\dev\SNet\angular\node_modules\typescript\lib\typescript.js:1506:30) @ ./node_modules/rxjs/_esm5/observable/bindCallback.js 2:0-68 @ ./node_modules/rxjs/_esm5/add/observable/bindCallback.js @ ./node_modules/rxjs/_esm5/Rx.js @ ./src/account/login/validate-two-factor-code.component.ts @ ./src/account/account.module.ngfactory.js @ ./src/$$_lazy_route_resource lazy @ ./node_modules/@angular/core/esm5/core.js @ ./src/main.ts @ multi ./src/main.ts


17 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @fguo,

    Have you installed packages using yarn ? If so, can you check which version of typescript you are using ?

  • User Avatar
    0
    fguo created

    Yes. I run yarn before build.

    I checked the package.json, and it is "typescript": "^2.4.2", so I run npm install [email protected] on the project folder. I run yarn again, and run ng build -prod. This time, I got the error below:

    @angular/[email protected] requires typescript@'>=2.4.2 <2.5.0' but 2.6.1 was found instead. Using this version can result in undefined behaviour and difficult to debug problems.

    Please run the following command to install a compatible version of TypeScript.

    npm install typescript@&#39;&gt;=2.4.2 &lt;2.5.0&#39;
    

    To disable this warning run "ng set warnings.typescriptMismatch=false".

    15% building modules 43/50 modules 7 active ...ts\demo\default\base\style.bundle.cssNode#moveTo was deprecated. Use Container#append. Date: 2017-12-04T14:20:55.666Z Hash: 78200bf01224e15c38f4 Time: 33994ms chunk {0} styles.255649cc11201439ef71.bundle.css (styles) 1.64 MB [initial] [rendered] chunk {1} polyfills.3bc34265385d52184eab.bundle.js (polyfills) 86 bytes [initial] [rendered] chunk {2} main.e402deade8b026b7d50e.bundle.js (main) 84 bytes [initial] [rendered] chunk {3} inline.9844d451d37c4464325b.bundle.js (inline) 1.45 kB [entry] [rendered]

    ERROR in src/app/admin/tenants/create-tenant-modal.component.ts(75,76): error TS2339: Property 'value' does not exist on type 'number | ((...items: any[]) => number) | (() => string) | (() => any) | (() => any[]) | { <S exte...'. Property 'value' does not exist on type 'number'. src/app/admin/tenants/create-tenant-modal.component.ts(93,54): error TS2339: Property 'isFree' does not exist on type 'number | ((...items: any[]) => number) | (() => string) | (() => any) | (() => any[]) | { <S exte...'. Property 'isFree' does not exist on type 'number'.

    Any idea?

  • User Avatar
    0
    aaron created
    Support Team

    Like the error suggests, try:

    npm install typescript@'>=2.4.2 <2.5.0'

  • User Avatar
    0
    fguo created

    As I said, I run "npm install [email protected]" on the project folder before running "ng build -prod", but got that error.

    I tried exactly "npm install typescript@'>=2.4.2 <2.5.0'" just now, but got "The system cannot find the file specified."

    Any further advice?

  • User Avatar
    0
    fguo created

    I tried again to use the original copy of the project/angular folder, and yarn, and ng build -prod.

    I got some warnings after yarn: yarn install v0.21.3 [1/4] Resolving packages... [2/4] Fetching packages... warning [email protected]: Unable to read "./man" directory of module "json2" warning [email protected]: Unable to read "./man" directory of module "joose" warning [email protected]: Unable to read "./man" directory of module "joosex-namespace-depended" warning [email protected]: Unable to read "./man" directory of module "joosex-simplerequest" warning [email protected]: The platform "win32" is incompatible with this module. info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. [3/4] Linking dependencies... warning "[email protected]" has incorrect peer dependency "bootstrap@^3.1.1". warning "[email protected]" has incorrect peer dependency "@angular/core@^2.4.2". warning "[email protected]" has incorrect peer dependency "@angular/core@^2.4.2". warning "[email protected]" has unmet peer dependency "npm@>=3.10.8". warning "[email protected]" has unmet peer dependency "grunt@>=0.4.0". [4/4] Building fresh packages... Done in 37.11s.

    I got same error while running "ng build -prod" as the one on my first post on this topic: ERROR in ./node_modules/rxjs/_esm5/observable/BoundNodeCallbackObservable.js ...

    Is any warning on yarn related to the build error? Shall I do something to update my developing environment?

    Thanks,

  • User Avatar
    0
    joe704la created

    Have you figured the build issue yet? I am having the same issues.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Can you try this <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/646#issuecomment-349179587">https://github.com/aspnetzero/aspnet-ze ... -349179587</a>.

  • User Avatar
    0
    fguo created

    It does help and eliminates the error while running "ng build -prod". However, I get a blank screen after login.

    Any idea?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @fguo,

    Do you have an error on browser console ?

  • User Avatar
    0
    fguo created

    Yes. I tried it on Chrome and Edge, and got different content on console. I don't know how to copy the errors on Edge, but here is the content on chrome console:

    scripts.e734b96cbef250b4cf8a.bundle.js:69 GET <a class="postlink" href="http://dev1.bcnyintl.com/poppins-v5-devanagari_latin-ext_latin-300.01860d964547bc9d93cf.woff2">http://dev1.bcnyintl.com/poppins-v5-dev ... 93cf.woff2</a> net::ERR_ABORTED (anonymous) @ scripts.e734b96cbef250b4cf8a.bundle.js:69 A @ scripts.e734b96cbef250b4cf8a.bundle.js:68 x.touch @ scripts.e734b96cbef250b4cf8a.bundle.js:69 (anonymous) @ scripts.e734b96cbef250b4cf8a.bundle.js:69 (anonymous) @ scripts.e734b96cbef250b4cf8a.bundle.js:69 (anonymous) @ scripts.e734b96cbef250b4cf8a.bundle.js:69 main.649a1ba7e1ef35a5c419.bundle.js:1 ERROR Error: Cannot find module './en-US.js'. at r (main.649a1ba7e1ef35a5c419.bundle.js:1) at main.649a1ba7e1ef35a5c419.bundle.js:1 at t.invoke (polyfills.510b5920d0b12586d917.bundle.js:1) at Object.onInvoke (main.649a1ba7e1ef35a5c419.bundle.js:1) at t.invoke (polyfills.510b5920d0b12586d917.bundle.js:1) at r.run (polyfills.510b5920d0b12586d917.bundle.js:1) at polyfills.510b5920d0b12586d917.bundle.js:1 at t.invokeTask (polyfills.510b5920d0b12586d917.bundle.js:1) at Object.onInvokeTask (main.649a1ba7e1ef35a5c419.bundle.js:1) at t.invokeTask (polyfills.510b5920d0b12586d917.bundle.js:1) (anonymous) @ main.649a1ba7e1ef35a5c419.bundle.js:1 e.handleError @ main.649a1ba7e1ef35a5c419.bundle.js:1 (anonymous) @ main.649a1ba7e1ef35a5c419.bundle.js:1 t.invoke @ polyfills.510b5920d0b12586d917.bundle.js:1 r.run @ polyfills.510b5920d0b12586d917.bundle.js:1 e.runOutsideAngular @ main.649a1ba7e1ef35a5c419.bundle.js:1 (anonymous) @ main.649a1ba7e1ef35a5c419.bundle.js:1 t.invoke @ polyfills.510b5920d0b12586d917.bundle.js:1 onInvoke @ main.649a1ba7e1ef35a5c419.bundle.js:1 t.invoke @ polyfills.510b5920d0b12586d917.bundle.js:1 r.run @ polyfills.510b5920d0b12586d917.bundle.js:1 (anonymous) @ polyfills.510b5920d0b12586d917.bundle.js:1 t.invokeTask @ polyfills.510b5920d0b12586d917.bundle.js:1 onInvokeTask @ main.649a1ba7e1ef35a5c419.bundle.js:1 t.invokeTask @ polyfills.510b5920d0b12586d917.bundle.js:1 r.runTask @ polyfills.510b5920d0b12586d917.bundle.js:1 o @ polyfills.510b5920d0b12586d917.bundle.js:1 e.invokeTask @ polyfills.510b5920d0b12586d917.bundle.js:1 v @ polyfills.510b5920d0b12586d917.bundle.js:1 d @ polyfills.510b5920d0b12586d917.bundle.js:1 XMLHttpRequest.send (async) n @ polyfills.510b5920d0b12586d917.bundle.js:1 t.scheduleTask @ polyfills.510b5920d0b12586d917.bundle.js:1 onScheduleTask @ polyfills.510b5920d0b12586d917.bundle.js:1 t.scheduleTask @ polyfills.510b5920d0b12586d917.bundle.js:1 r.scheduleTask @ polyfills.510b5920d0b12586d917.bundle.js:1 r.scheduleMacroTask @ polyfills.510b5920d0b12586d917.bundle.js:1 (anonymous) @ polyfills.510b5920d0b12586d917.bundle.js:1 o.(anonymous function) @ polyfills.510b5920d0b12586d917.bundle.js:1 (anonymous) @ main.649a1ba7e1ef35a5c419.bundle.js:1 AP4T.t._trySubscribe @ polyfills.510b5920d0b12586d917.bundle.js:1 AP4T.t.subscribe @ polyfills.510b5920d0b12586d917.bundle.js:1 e.call @ main.649a1ba7e1ef35a5c419.bundle.js:1 AP4T.t.subscribe @ polyfills.510b5920d0b12586d917.bundle.js:1 D62v.e.call @ main.649a1ba7e1ef35a5c419.bundle.js:1 AP4T.t.subscribe @ polyfills.510b5920d0b12586d917.bundle.js:1 e.call @ main.649a1ba7e1ef35a5c419.bundle.js:1 AP4T.t.subscribe @ polyfills.510b5920d0b12586d917.bundle.js:1 D62v.e.call @ main.649a1ba7e1ef35a5c419.bundle.js:1 AP4T.t.subscribe @ polyfills.510b5920d0b12586d917.bundle.js:1 (anonymous) @ polyfills.510b5920d0b12586d917.bundle.js:1 t @ polyfills.510b5920d0b12586d917.bundle.js:1 AP4T.t.toPromise @ polyfills.510b5920d0b12586d917.bundle.js:1 (anonymous) @ main.649a1ba7e1ef35a5c419.bundle.js:1 t @ polyfills.510b5920d0b12586d917.bundle.js:1 e.init @ main.649a1ba7e1ef35a5c419.bundle.js:1 (anonymous) @ main.649a1ba7e1ef35a5c419.bundle.js:1 (anonymous) @ main.649a1ba7e1ef35a5c419.bundle.js:1 c @ scripts.e734b96cbef250b4cf8a.bundle.js:2 fireWith @ scripts.e734b96cbef250b4cf8a.bundle.js:2 (anonymous) @ scripts.e734b96cbef250b4cf8a.bundle.js:2 c @ scripts.e734b96cbef250b4cf8a.bundle.js:2 fireWith @ scripts.e734b96cbef250b4cf8a.bundle.js:2 (anonymous) @ scripts.e734b96cbef250b4cf8a.bundle.js:2 c @ scripts.e734b96cbef250b4cf8a.bundle.js:2 fireWith @ scripts.e734b96cbef250b4cf8a.bundle.js:2 i @ scripts.e734b96cbef250b4cf8a.bundle.js:3 (anonymous) @ scripts.e734b96cbef250b4cf8a.bundle.js:3 D @ polyfills.510b5920d0b12586d917.bundle.js:1 t.invokeTask @ polyfills.510b5920d0b12586d917.bundle.js:1 onInvokeTask @ main.649a1ba7e1ef35a5c419.bundle.js:1 t.invokeTask @ polyfills.510b5920d0b12586d917.bundle.js:1 r.runTask @ polyfills.510b5920d0b12586d917.bundle.js:1 e.invokeTask @ polyfills.510b5920d0b12586d917.bundle.js:1 v @ polyfills.510b5920d0b12586d917.bundle.js:1 d @ polyfills.510b5920d0b12586d917.bundle.js:1 XMLHttpRequest.send (async) n @ polyfills.510b5920d0b12586d917.bundle.js:1 t.scheduleTask @ polyfills.510b5920d0b12586d917.bundle.js:1 onScheduleTask @ polyfills.510b5920d0b12586d917.bundle.js:1 t.scheduleTask @ polyfills.510b5920d0b12586d917.bundle.js:1 r.scheduleTask @ polyfills.510b5920d0b12586d917.bundle.js:1 r.scheduleMacroTask @ polyfills.510b5920d0b12586d917.bundle.js:1 (anonymous) @ polyfills.510b5920d0b12586d917.bundle.js:1 o.(anonymous function) @ polyfills.510b5920d0b12586d917.bundle.js:1 send @ scripts.e734b96cbef250b4cf8a.bundle.js:3 ajax @ scripts.e734b96cbef250b4cf8a.bundle.js:3 pe.(anonymous function) @ scripts.e734b96cbef250b4cf8a.bundle.js:3 getScript @ scripts.e734b96cbef250b4cf8a.bundle.js:3 e.loadLocalizedScripts @ main.649a1ba7e1ef35a5c419.bundle.js:1 e.loadResources @ main.649a1ba7e1ef35a5c419.bundle.js:1 (anonymous) @ main.649a1ba7e1ef35a5c419.bundle.js:1 c @ scripts.e734b96cbef250b4cf8a.bundle.js:2 fireWith @ scripts.e734b96cbef250b4cf8a.bundle.js:2 o.(anonymous function) @ scripts.e734b96cbef250b4cf8a.bundle.js:2 handleResponse @ scripts.e734b96cbef250b4cf8a.bundle.js:35 (anonymous) @ scripts.e734b96cbef250b4cf8a.bundle.js:35 c @ scripts.e734b96cbef250b4cf8a.bundle.js:2 fireWith @ scripts.e734b96cbef250b4cf8a.bundle.js:2 i @ scripts.e734b96cbef250b4cf8a.bundle.js:3 (anonymous) @ scripts.e734b96cbef250b4cf8a.bundle.js:3 D @ polyfills.510b5920d0b12586d917.bundle.js:1 t.invokeTask @ polyfills.510b5920d0b12586d917.bundle.js:1 onInvokeTask @ main.649a1ba7e1ef35a5c419.bundle.js:1 t.invokeTask @ polyfills.510b5920d0b12586d917.bundle.js:1 r.runTask @ polyfills.510b5920d0b12586d917.bundle.js:1 e.invokeTask @ polyfills.510b5920d0b12586d917.bundle.js:1 v @ polyfills.510b5920d0b12586d917.bundle.js:1 d @ polyfills.510b5920d0b12586d917.bundle.js:1 XMLHttpRequest.send (async) n @ polyfills.510b5920d0b12586d917.bundle.js:1 t.scheduleTask @ polyfills.510b5920d0b12586d917.bundle.js:1 onScheduleTask @ polyfills.510b5920d0b12586d917.bundle.js:1 t.scheduleTask @ polyfills.510b5920d0b12586d917.bundle.js:1 r.scheduleTask @ polyfills.510b5920d0b12586d917.bundle.js:1 r.scheduleMacroTask @ polyfills.510b5920d0b12586d917.bundle.js:1 (anonymous) @ polyfills.510b5920d0b12586d917.bundle.js:1 o.(anonymous function) @ polyfills.510b5920d0b12586d917.bundle.js:1 send @ scripts.e734b96cbef250b4cf8a.bundle.js:3 ajax @ scripts.e734b96cbef250b4cf8a.bundle.js:3 (anonymous) @ scripts.e734b96cbef250b4cf8a.bundle.js:35 Deferred @ scripts.e734b96cbef250b4cf8a.bundle.js:2 abp.ajax @ scripts.e734b96cbef250b4cf8a.bundle.js:35 e.getUserConfiguration @ main.649a1ba7e1ef35a5c419.bundle.js:1 (anonymous) @ main.649a1ba7e1ef35a5c419.bundle.js:1 (anonymous) @ main.649a1ba7e1ef35a5c419.bundle.js:1 c @ scripts.e734b96cbef250b4cf8a.bundle.js:2 fireWith @ scripts.e734b96cbef250b4cf8a.bundle.js:2 o.(anonymous function) @ scripts.e734b96cbef250b4cf8a.bundle.js:2 (anonymous) @ scripts.e734b96cbef250b4cf8a.bundle.js:35 c @ scripts.e734b96cbef250b4cf8a.bundle.js:2 fireWith @ scripts.e734b96cbef250b4cf8a.bundle.js:2 i @ scripts.e734b96cbef250b4cf8a.bundle.js:3 (anonymous) @ scripts.e734b96cbef250b4cf8a.bundle.js:3 D @ polyfills.510b5920d0b12586d917.bundle.js:1 t.invokeTask @ polyfills.510b5920d0b12586d917.bundle.js:1 onInvokeTask @ main.649a1ba7e1ef35a5c419.bundle.js:1 t.invokeTask @ polyfills.510b5920d0b12586d917.bundle.js:1 r.runTask @ polyfills.510b5920d0b12586d917.bundle.js:1 e.invokeTask @ polyfills.510b5920d0b12586d917.bundle.js:1 v @ polyfills.510b5920d0b12586d917.bundle.js:1 d @ polyfills.510b5920d0b12586d917.bundle.js:1 XMLHttpRequest.send (async) n @ polyfills.510b5920d0b12586d917.bundle.js:1 t.scheduleTask @ polyfills.510b5920d0b12586d917.bundle.js:1 onScheduleTask @ polyfills.510b5920d0b12586d917.bundle.js:1 t.scheduleTask @ polyfills.510b5920d0b12586d917.bundle.js:1 r.scheduleTask @ polyfills.510b5920d0b12586d917.bundle.js:1 r.scheduleMacroTask @ polyfills.510b5920d0b12586d917.bundle.js:1 (anonymous) @ polyfills.510b5920d0b12586d917.bundle.js:1 o.(anonymous function) @ polyfills.510b5920d0b12586d917.bundle.js:1 send @ scripts.e734b96cbef250b4cf8a.bundle.js:3 ajax @ scripts.e734b96cbef250b4cf8a.bundle.js:3 (anonymous) @ scripts.e734b96cbef250b4cf8a.bundle.js:35 Deferred @ scripts.e734b96cbef250b4cf8a.bundle.js:2 abp.ajax @ scripts.e734b96cbef250b4cf8a.bundle.js:35 e.getApplicationConfig @ main.649a1ba7e1ef35a5c419.bundle.js:1 e.run @ main.649a1ba7e1ef35a5c419.bundle.js:1 (anonymous) @ main.649a1ba7e1ef35a5c419.bundle.js:1 t @ polyfills.510b5920d0b12586d917.bundle.js:1 (anonymous) @ main.649a1ba7e1ef35a5c419.bundle.js:1 e.runInitializers @ main.649a1ba7e1ef35a5c419.bundle.js:1 (anonymous) @ main.649a1ba7e1ef35a5c419.bundle.js:1 (anonymous) @ main.649a1ba7e1ef35a5c419.bundle.js:1 (anonymous) @ main.649a1ba7e1ef35a5c419.bundle.js:1 t.invoke @ polyfills.510b5920d0b12586d917.bundle.js:1 onInvoke @ main.649a1ba7e1ef35a5c419.bundle.js:1 t.invoke @ polyfills.510b5920d0b12586d917.bundle.js:1 r.run @ polyfills.510b5920d0b12586d917.bundle.js:1 e.run @ main.649a1ba7e1ef35a5c419.bundle.js:1 e.bootstrapModuleFactory @ main.649a1ba7e1ef35a5c419.bundle.js:1 yy @ main.649a1ba7e1ef35a5c419.bundle.js:1 cDNt @ main.649a1ba7e1ef35a5c419.bundle.js:1 e @ inline.b5e15fee162de528ff52.bundle.js:1 0 @ main.649a1ba7e1ef35a5c419.bundle.js:1 e @ inline.b5e15fee162de528ff52.bundle.js:1 window.webpackJsonp @ inline.b5e15fee162de528ff52.bundle.js:1 (anonymous) @ main.649a1ba7e1ef35a5c419.bundle.js:1 main.649a1ba7e1ef35a5c419.bundle.js:1 ERROR Error: Uncaught (in promise): Error: Cannot find module './en-US.js'. Error: Cannot find module './en-US.js'. at r (main.649a1ba7e1ef35a5c419.bundle.js:1) at main.649a1ba7e1ef35a5c419.bundle.js:1 at t.invoke (polyfills.510b5920d0b12586d917.bundle.js:1) at Object.onInvoke (main.649a1ba7e1ef35a5c419.bundle.js:1) at t.invoke (polyfills.510b5920d0b12586d917.bundle.js:1) at r.run (polyfills.510b5920d0b12586d917.bundle.js:1) at polyfills.510b5920d0b12586d917.bundle.js:1 at t.invokeTask (polyfills.510b5920d0b12586d917.bundle.js:1) at Object.onInvokeTask (main.649a1ba7e1ef35a5c419.bundle.js:1) at t.invokeTask (polyfills.510b5920d0b12586d917.bundle.js:1) at r (main.649a1ba7e1ef35a5c419.bundle.js:1) at main.649a1ba7e1ef35a5c419.bundle.js:1 at t.invoke (polyfills.510b5920d0b12586d917.bundle.js:1) at Object.onInvoke (main.649a1ba7e1ef35a5c419.bundle.js:1) at t.invoke (polyfills.510b5920d0b12586d917.bundle.js:1) at r.run (polyfills.510b5920d0b12586d917.bundle.js:1) at polyfills.510b5920d0b12586d917.bundle.js:1 at t.invokeTask (polyfills.510b5920d0b12586d917.bundle.js:1) at Object.onInvokeTask (main.649a1ba7e1ef35a5c419.bundle.js:1) at t.invokeTask (polyfills.510b5920d0b12586d917.bundle.js:1) at i (polyfills.510b5920d0b12586d917.bundle.js:1) at polyfills.510b5920d0b12586d917.bundle.js:1 at t.invokeTask (polyfills.510b5920d0b12586d917.bundle.js:1) at Object.onInvokeTask (main.649a1ba7e1ef35a5c419.bundle.js:1) at t.invokeTask (polyfills.510b5920d0b12586d917.bundle.js:1) at r.runTask (polyfills.510b5920d0b12586d917.bundle.js:1) at o (polyfills.510b5920d0b12586d917.bundle.js:1) at e.invokeTask [as invoke] (polyfills.510b5920d0b12586d917.bundle.js:1) at v (polyfills.510b5920d0b12586d917.bundle.js:1) at XMLHttpRequest.d (polyfills.510b5920d0b12586d917.bundle.js:1)

  • User Avatar
    0
    fguo created

    Here is the errors on Edge console:

    HTML1300: Navigation occurred. dev1.bcnyintl.com CSS3117: @font-face failed cross-origin request. Resource access is restricted. poppins-v5-devanagari_latin-ext_latin-600.0d49524ae3304f2876fb.woff2 HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier). GET - <a class="postlink" href="http://dev1.bcnyintl.com/poppins-v5-devanagari_latin-ext_latin-600.0d49524ae3304f2876fb.woff2">http://dev1.bcnyintl.com/poppins-v5-dev ... 76fb.woff2</a> CSS3117: @font-face failed cross-origin request. Resource access is restricted. poppins-v5-devanagari_latin-ext_latin-700.fa4ee371c37a0738f29b.woff2 HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier). GET - <a class="postlink" href="http://dev1.bcnyintl.com/poppins-v5-devanagari_latin-ext_latin-700.fa4ee371c37a0738f29b.woff2">http://dev1.bcnyintl.com/poppins-v5-dev ... f29b.woff2</a> CSS3117: @font-face failed cross-origin request. Resource access is restricted. poppins-v5-devanagari_latin-ext_latin-regular.76e766753becb2b7da20.woff2 HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier). GET - <a class="postlink" href="http://dev1.bcnyintl.com/poppins-v5-devanagari_latin-ext_latin-regular.76e766753becb2b7da20.woff2">http://dev1.bcnyintl.com/poppins-v5-dev ... da20.woff2</a> HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier). GET - <a class="postlink" href="http://dev1.bcnyintl.com/poppins-v5-devanagari_latin-ext_latin-500.93553e98363f8e91ea2f.woff2">http://dev1.bcnyintl.com/poppins-v5-dev ... ea2f.woff2</a> HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier). GET - <a class="postlink" href="http://dev1.bcnyintl.com/poppins-v5-devanagari_latin-ext_latin-300.01860d964547bc9d93cf.woff2">http://dev1.bcnyintl.com/poppins-v5-dev ... 93cf.woff2</a> CSS3117: @font-face failed cross-origin request. Resource access is restricted. poppins-v5-devanagari_latin-ext_latin-500.93553e98363f8e91ea2f.woff2 CSS3117: @font-face failed cross-origin request. Resource access is restricted. poppins-v5-devanagari_latin-ext_latin-300.01860d964547bc9d93cf.woff2 ERROR Error: Cannot find module './en-US.js'. main.649a1ba7e1ef35a5c419.bundle.js (1,451849) "ERROR" { [functions]: , proto: { }, __zone_symbol__currentTask: { }, description: "Cannot find module './en-US.js'.", message: "Cannot find module './en-US.js'.", name: "Error", stack: "Error: Cannot find module './en-US.js'. at r (<a class="postlink" href="http://dev1.bcnyintl.com/main.649a1ba7e1ef35a5c419.bundle.js:1:333095">http://dev1.bcnyintl.com/main.649a1ba7e ... s:1:333095</a>) at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/main.649a1ba7e1ef35a5c419.bundle.js:1:2184043">http://dev1.bcnyintl.com/main.649a1ba7e ... :1:2184043</a>) at t.prototype.invoke (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:67970">http://dev1.bcnyintl.com/polyfills.510b ... js:1:67970</a>) at onInvoke (<a class="postlink" href="http://dev1.bcnyintl.com/main.649a1ba7e1ef35a5c419.bundle.js:1:465642">http://dev1.bcnyintl.com/main.649a1ba7e ... s:1:465642</a>) at t.prototype.invoke (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:67970">http://dev1.bcnyintl.com/polyfills.510b ... js:1:67970</a>) at r.prototype.run (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:63212">http://dev1.bcnyintl.com/polyfills.510b ... js:1:63212</a>) at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:72694">http://dev1.bcnyintl.com/polyfills.510b ... js:1:72694</a>) at t.prototype.invokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:68627">http://dev1.bcnyintl.com/polyfills.510b ... js:1:68627</a>) at onInvokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/main.649a1ba7e1ef35a5c419.bundle.js:1:465556">http://dev1.bcnyintl.com/main.649a1ba7e ... s:1:465556</a>) at t.prototype.invokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:68627">http://dev1.bcnyintl.com/polyfills.510b ... js:1:68627</a>)" }

    ERROR Error: Uncaught (in promise): Error: Cannot find module './en-US.js'. Error: Cannot find module './en-US.js'. at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/main.649a1ba7e1ef35a5c419.bundle.js:1:470209">http://dev1.bcnyintl.com/main.649a1ba7e ... s:1:470209</a>) at t.prototype.invoke (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:67970">http://dev1.bcnyintl.com/polyfills.510b ... js:1:67970</a>) at onInvoke (<a class="postlink" href="http://dev1.bcnyintl.com/main.649a1ba7e1ef35a5c419.bundle.js:1:465642">http://dev1.bcnyintl.com/main.649a1ba7e ... s:1:465642</a>) at t.prototype.invoke (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:67970">http://dev1.bcnyintl.com/polyfills.510b ... js:1:67970</a>) at r.prototype.run (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:63212">http://dev1.bcnyintl.com/polyfills.510b ... js:1:63212</a>) at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:72694">http://dev1.bcnyintl.com/polyfills.510b ... js:1:72694</a>) at t.prototype.invokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:68627">http://dev1.bcnyintl.com/polyfills.510b ... js:1:68627</a>) at onInvokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/main.649a1ba7e1ef35a5c419.bundle.js:1:465556">http://dev1.bcnyintl.com/main.649a1ba7e ... s:1:465556</a>) at t.prototype.invokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:68627">http://dev1.bcnyintl.com/polyfills.510b ... js:1:68627</a>) at r.prototype.runTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:63903">http://dev1.bcnyintl.com/polyfills.510b ... js:1:63903</a>) main.649a1ba7e1ef35a5c419.bundle.js (1,451849) "ERROR" { [functions]: , proto: { }, description: "Uncaught (in promise): Error: Cannot find module './en-US.js'. Error: Cannot find module './en-US.js'. at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/main.649a1ba7e1ef35a5c419.bundle.js:1:470209">http://dev1.bcnyintl.com/main.649a1ba7e ... s:1:470209</a>) at t.prototype.invoke (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:67970">http://dev1.bcnyintl.com/polyfills.510b ... js:1:67970</a>) at onInvoke (<a class="postlink" href="http://dev1.bcnyintl.com/main.649a1ba7e1ef35a5c419.bundle.js:1:465642">http://dev1.bcnyintl.com/main.649a1ba7e ... s:1:465642</a>) at t.prototype.invoke (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:67970">http://dev1.bcnyintl.com/polyfills.510b ... js:1:67970</a>) at r.prototype.run (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:63212">http://dev1.bcnyintl.com/polyfills.510b ... js:1:63212</a>) at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:72694">http://dev1.bcnyintl.com/polyfills.510b ... js:1:72694</a>) at t.prototype.invokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:68627">http://dev1.bcnyintl.com/polyfills.510b ... js:1:68627</a>) at onInvokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/main.649a1ba7e1ef35a5c419.bundle.js:1:465556">http://dev1.bcnyintl.com/main.649a1ba7e ... s:1:465556</a>) at t.prototype.invokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:68627">http://dev1.bcnyintl.com/polyfills.510b ... js:1:68627</a>) at r.prototype.runTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:63903">http://dev1.bcnyintl.com/polyfills.510b ... js:1:63903</a>)", message: "Uncaught (in promise): Error: Cannot find module './en-US.js'. Error: Cannot find module './en-US.js'. at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/main.649a1ba7e1ef35a5c419.bundle.js:1:470209">http://dev1.bcnyintl.com/main.649a1ba7e ... s:1:470209</a>) at t.prototype.invoke (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:67970">http://dev1.bcnyintl.com/polyfills.510b ... js:1:67970</a>) at onInvoke (<a class="postlink" href="http://dev1.bcnyintl.com/main.649a1ba7e1ef35a5c419.bundle.js:1:465642">http://dev1.bcnyintl.com/main.649a1ba7e ... s:1:465642</a>) at t.prototype.invoke (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:67970">http://dev1.bcnyintl.com/polyfills.510b ... js:1:67970</a>) at r.prototype.run (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:63212">http://dev1.bcnyintl.com/polyfills.510b ... js:1:63212</a>) at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:72694">http://dev1.bcnyintl.com/polyfills.510b ... js:1:72694</a>) at t.prototype.invokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:68627">http://dev1.bcnyintl.com/polyfills.510b ... js:1:68627</a>) at onInvokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/main.649a1ba7e1ef35a5c419.bundle.js:1:465556">http://dev1.bcnyintl.com/main.649a1ba7e ... s:1:465556</a>) at t.prototype.invokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:68627">http://dev1.bcnyintl.com/polyfills.510b ... js:1:68627</a>) at r.prototype.runTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:63903">http://dev1.bcnyintl.com/polyfills.510b ... js:1:63903</a>)", name: "Error", promise: { }, rejection: { }, stack: "Error: Uncaught (in promise): Error: Cannot find module './en-US.js'. Error: Cannot find module './en-US.js'. at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/main.649a1ba7e1ef35a5c419.bundle.js:1:470209">http://dev1.bcnyintl.com/main.649a1ba7e ... s:1:470209</a>) at t.prototype.invoke (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:67970">http://dev1.bcnyintl.com/polyfills.510b ... js:1:67970</a>) at onInvoke (<a class="postlink" href="http://dev1.bcnyintl.com/main.649a1ba7e1ef35a5c419.bundle.js:1:465642">http://dev1.bcnyintl.com/main.649a1ba7e ... s:1:465642</a>) at t.prototype.invoke (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:67970">http://dev1.bcnyintl.com/polyfills.510b ... js:1:67970</a>) at r.prototype.run (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:63212">http://dev1.bcnyintl.com/polyfills.510b ... js:1:63212</a>) at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:72694">http://dev1.bcnyintl.com/polyfills.510b ... js:1:72694</a>) at t.prototype.invokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:68627">http://dev1.bcnyintl.com/polyfills.510b ... js:1:68627</a>) at onInvokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/main.649a1ba7e1ef35a5c419.bundle.js:1:465556">http://dev1.bcnyintl.com/main.649a1ba7e ... s:1:465556</a>) at t.prototype.invokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:68627">http://dev1.bcnyintl.com/polyfills.510b ... js:1:68627</a>) at r.prototype.runTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:63903">http://dev1.bcnyintl.com/polyfills.510b ... js:1:63903</a>) at i (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:72157">http://dev1.bcnyintl.com/polyfills.510b ... js:1:72157</a>) at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:72734">http://dev1.bcnyintl.com/polyfills.510b ... js:1:72734</a>) at t.prototype.invokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:68627">http://dev1.bcnyintl.com/polyfills.510b ... js:1:68627</a>) at onInvokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/main.649a1ba7e1ef35a5c419.bundle.js:1:465556">http://dev1.bcnyintl.com/main.649a1ba7e ... s:1:465556</a>) at t.prototype.invokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:68627">http://dev1.bcnyintl.com/polyfills.510b ... js:1:68627</a>) at r.prototype.runTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:63903">http://dev1.bcnyintl.com/polyfills.510b ... js:1:63903</a>) at o (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:60985">http://dev1.bcnyintl.com/polyfills.510b ... js:1:60985</a>) at e.invokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:69884">http://dev1.bcnyintl.com/polyfills.510b ... js:1:69884</a>) at v (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:54864">http://dev1.bcnyintl.com/polyfills.510b ... js:1:54864</a>) at d (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js:1:55172">http://dev1.bcnyintl.com/polyfills.510b ... js:1:55172</a>)", task: { }, zone: { } }

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @fguo,

    Can you clear your cookies and try again ?

  • User Avatar
    0
    fguo created

    I tried that already and again just now, but no help. The console content shows same error. I also tried it on an old IE 8 which never opened this url, and got javascript error message as below:

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB7.5; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; MS STORE DMC2.6.3411.2) Timestamp: Wed, 6 Dec 2017 14:56:33 UTC

    Message: Expected identifier Line: 1 Char: 29180 Code: 0 URI: <a class="postlink" href="http://dev1.bcnyintl.com/inline.b5e15fee162de528ff52.bundle.js">http://dev1.bcnyintl.com/inline.b5e15fe ... .bundle.js</a>

    Message: Expected identifier, string or number Line: 1 Char: 2833 Code: 0 URI: <a class="postlink" href="http://dev1.bcnyintl.com/polyfills.510b5920d0b12586d917.bundle.js">http://dev1.bcnyintl.com/polyfills.510b ... .bundle.js</a>

    Message: Expected identifier, string or number Line: 2 Char: 8672 Code: 0 URI: <a class="postlink" href="http://dev1.bcnyintl.com/scripts.e734b96cbef250b4cf8a.bundle.js">http://dev1.bcnyintl.com/scripts.e734b9 ... .bundle.js</a>

    Message: Expected identifier Line: 1 Char: 57378 Code: 0 URI: <a class="postlink" href="http://dev1.bcnyintl.com/main.649a1ba7e1ef35a5c419.bundle.js">http://dev1.bcnyintl.com/main.649a1ba7e ... .bundle.js</a>

  • User Avatar
    0
    ismcagdas created
    Support Team

    Sorry, now I reproduced the problem and fixed here <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/653">https://github.com/aspnetzero/aspnet-ze ... issues/653</a>. Can you try the same solution ?

  • User Avatar
    0
    fguo created

    I like to try. It is just saying "Don't load en-US locale for angular". I wonder how to do it by my own, on which files?

    Shall I expect the 5.0.5 released soon?

    Thanks,

  • User Avatar
    0
    aaron created
    Support Team

    That issue links to the commit that changes root.module.ts:

    ismcagdas closed this in 1fba893 x hours ago

  • User Avatar
    0
    fguo created

    I followed that and fixed. Thank you very much!!