開發 Angular.io's WebPack Project 情境 5 -- Start Angular.io ! V ---- Troubleshooting 1

凌晨2:12

開發 Angular.io's WebPack Project 情境 5 -- Start Angular.io ! V ---- Troubleshooting 1

(1). npm WARN deprecated [the module 1]@1.2.1: 1.2.0 should have been a major version bump

    a. 我遇到了這個問題,目前還不知道如何處理。

        (a). 我試過:

            npm uninstall [the module 1]@1.2.1
            npm install [the module 1]@1.2.0

            then

            ng test my-app

            失敗

    b. 在網路上,看到相關的資訊,好像無解:npm WARN deprecated istanbul-lib-hook@1.2.1: 1.2.0 should have been a major version bump #11325。有人說,那只是一個警告。(REF:https://github.com/angular/angular-cli/issues/11325)。但是,因著這些warning,接著出現 npm ERR! path ....,npm install 失敗

    c. 解決方式

        (1). 我就當它只是一個WARN。
        (2). 我避開直接使用,npm install Install the dependencies in the local node_modules folder.

  • Share:

You Might Also Like

0 意見