angular-electron icon indicating copy to clipboard operation
angular-electron copied to clipboard

Npm run setup on windows fails

Open BaileyMillerSSI opened this issue 8 years ago • 1 comments

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

BaileyMillerSSI avatar Jul 05 '17 14:07 BaileyMillerSSI

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

Rambou avatar Apr 18 '19 18:04 Rambou