PatrickJS / angular-hmr

:fire: Angular Hot Module Replacement for Hot Module Reloading
https://patrickjs.com
Apache License 2.0
506 stars 45 forks source link

Npm install issue #12

Closed ghaiat closed 8 years ago

ghaiat commented 8 years ago

Hello I m having the following issue when trying to install 0.6.0:

typings ERR! message Unable to resolve Typings dependencies typings ERR! caused by Unable to find "typings.json" from "/Users/xxxx/Documents/Phonegap/yo-ui-web/node_modules/angular2-hmr"

dallas commented 8 years ago

I'm having the same issue. I think the problem is the postinstall script in package.json which is requiring that npm run typings -- install finish successfully in order to actually install the package. However, it can't find that typings.json file because it isn't included in the files section in the package.json file. If either of those two things changes, then it should work.

Kikketer commented 8 years ago

Please get this fixed, this really irritates me that dependencies can bork an entire library (like Angular 2) because it's not build in an environment that isn't local. Every time I run into this (not the first time with Angular 2) I get inspired to drop NPM completely.

TheLarkInn commented 8 years ago

@gdi2290 is this an easy fix? Typings related? LMK if you need help with this.

PatrickJS commented 8 years ago

is this still an issue? we don't have postinstall anymore

TheLarkInn commented 8 years ago

Haven't tested it myself, was just lurking in all your repoz.

PatrickJS commented 8 years ago

I'll close this but if someone has this error please reopen the issue