Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Install failed #31

Open
lacangelia opened this issue Feb 13, 2018 · 3 comments
Open

Install failed #31

lacangelia opened this issue Feb 13, 2018 · 3 comments

Comments

@lacangelia
Copy link

Is there any issue with the installation?
npm ERR! Windows_NT 10.0.16299
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "ng2-search-filter" "--save"
npm ERR! node v7.3.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! ng2-search-filter@0.4.1 postinstall: typings install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ng2-search-filter@0.4.1 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 ng2-search-filter 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 ng2-search-filter
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls ng2-search-filter
npm ERR! There is likely additional logging output above.
What does it mean? Thank you

@solodynamo
Copy link
Owner

try #3

@lacangelia
Copy link
Author

Thanks! I got to install it right away!
But when I tried to yarn, the error below appear:

yarn : The term 'yarn' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
At line:1 char:1

  • yarn add ng2-search-filter
  •   + CategoryInfo          : ObjectNotFound: (yarn:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    

What might be the problem?

@solodynamo
Copy link
Owner

solodynamo commented Feb 13, 2018

Try re-installing yarn through npm install yarn -g
Related : yarnpkg/yarn#2504

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

No branches or pull requests

2 participants