Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to setup with angular-cli project? #4

Closed
jspenc72 opened this issue Feb 3, 2017 · 3 comments
Closed

How to setup with angular-cli project? #4

jspenc72 opened this issue Feb 3, 2017 · 3 comments

Comments

@jspenc72
Copy link

jspenc72 commented Feb 3, 2017

Running

npm install @types/d3 --save-dev

results in:

npm WARN ng2-select@1.1.2 requires a peer of @angular/common@2.0.0 but none was installed.
npm WARN ng2-select@1.1.2 requires a peer of @angular/compiler@2.0.0 but none was installed.
npm WARN ng2-select@1.1.2 requires a peer of @angular/core@2.0.0 but none was installed.
npm WARN ng2-select@1.1.2 requires a peer of @angular/forms@2.0.0 but none was installed.
npm ERR! Darwin 16.4.0
npm ERR! argv "/.nvm/versions/node/v7.2.1/bin/node" "/.nvm/versions/node/v7.2.1/bin/npm" "i" "angular-star-rating" "--save"
npm ERR! node v7.2.1
npm ERR! npm  v3.10.10
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! angular-star-rating@2.0.0-beta.2 postinstall: `typings install`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the angular-star-rating@2.0.0-beta.2 postinstall script 'typings install'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the angular-star-rating package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     typings install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs angular-star-rating
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls angular-star-rating
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
@mathisloge
Copy link

having the same issue

@BioPhoton
Copy link
Owner

Hi, I will rework the bulid process. Will keep you up to date.

@BioPhoton
Copy link
Owner

Hi @jspenc72 ans @mathisloge!

I released a new version and in the example folder i use the lib in a cli project. Also the readme is updated.

If the issue still persists feel free to reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants