Exit status 1 npm-lifecycle\index.js:285:16

后端 未结 1 726
隐瞒了意图╮
隐瞒了意图╮ 2021-01-13 13:34
0 silly lifecycle stork.spa@1.0.0~build.prod: Args: [ \'/d /s /c\',
10 silly lifecycle   \'gulp build.prod --color --env-config prod --build-type prod --base /cli/ -         


        
相关标签:
1条回答
  • 2021-01-13 14:17

    If you are using rxjs library, then make sure you change the value of

    import { Observable } from 'rxjs/Rx';

    to

    import { Observable } from 'rxjs/observable';

    across your workspace

    And then make sure you revert/upgrade your typescript to v 2.3.4 and rxjs to 5.6.0. Do a npm clean cache and build again.

    This worked for me. It seems there is some problem in compatibility of rxjs library and typescript versions.

    Hope this helps.

    0 讨论(0)
提交回复
热议问题