Angular 2 seed, webstorm 2016.1 abruptly stop importing libraries

I am using the newest Webstorm 2016.1 and angular 2.

Somehow, it no longer imports libraries from node modules (e.g. RouteConfig or OnInit)

any suggestions?

Thank!

+4
source share
3 answers

Go to Settings -> Language and Frame -> Javascript and add a new library typed by node-modules that points to your node-modules module.

+1
source

Idea tsconfig.json(src/tsconfig.json). , tsconfig.json , IDE. src/tsconfig.json src/tsconfig.json_disabled tsconfig.json . Idea src, tsconfig.json. , .

, , , tsconfig.json. , , tsconfig.json .

0

, , , .

  • finder/explorer
  • .idea node_modules finder/explorer
  • webstorm npm install
  • , webstorm .

0

All Articles