代码之家  ›  专栏  ›  技术社区  ›  Roman Pokrovskij Archil Labadze

visual studio 2017中的npm引用:如何处理“感叹号-未填充”

  •  0
  • Roman Pokrovskij Archil Labadze  · 技术社区  · 8 年前

    情况:

    enter image description here

    我试过:

     1. "VS/Solution Explorer/npm/context-right-click-menu/Restore Packages.."
    
     2. npm install
    
     3. npm install kind-of (concreate not installed package)
    

    没什么帮助。

    事实上我并没有因此而痛苦,但我觉得我需要知道发生了什么。

    1 回复  |  直到 8 年前
        1
  •  0
  •   Roman Pokrovskij Archil Labadze    8 年前

    npm init 修复此问题和其他Asterix问题(一起或不一起 del npm_modules 我是说, npm istall )中。

    我不知道为什么我们要一次又一次地重复 NPM初始化 但这行得通。