angular / angular-electron

Angular2 + Electron
605 stars 115 forks source link

Npm run setup on windows fails #31

Open BaileyMillerSSI opened 7 years ago

BaileyMillerSSI commented 7 years ago

I cloned and ran the command and installed a few things and then hit typings install. Afterwards typings is not a recognized as an internal or external command

2017-07-05T14_36_57_767Z-debug-text.txt

Rambou commented 5 years ago

This happens because you don't have typings installed globally. Can you check this?

If this is the case, Typings is deprecated in favor of NPM @types. This means that in later versions of npm you don't need to install typings but rather do npm i @types/<name_of_type>. This seems to be a problem of electron though so for the moment follow instructions below.

To install typings you can: npm i -g typings

More information about this can be found here: Typings Package