angularjs - Angular 2 issue: typings: command not found -
so might come off basic question has been bugging me days , haven't found solution.
i'm installing typings command line npm , appears run type typing command , says command doesn't exist!
it goes like:
kevyns-macbook-pro:~ kevynquiros$ sudo npm install typings --global password: /users/kevynquiros/npm/bin/typings -> /users/kevynquiros/npm/lib/node_modules/typings/dist/bin.js typings@1.0.4 /users/kevynquiros/npm/lib/node_modules/typings ├── listify@1.0.0 ├── xtend@4.0.1 ├── wordwrap@1.0.0 ├── archy@1.0.0 ├── minimist@1.2.0 ├── any-promise@1.3.0 ├── bluebird@3.4.0 ├── chalk@1.1.3 (supports-color@2.0.0, escape-string-regexp@1.0.5, ansi-styles@2.2.1, has-ansi@2.0.0, strip-ansi@3.0.1) ├── columnify@1.5.4 (strip-ansi@3.0.1, wcwidth@1.0.1) ├── update-notifier@0.7.0 (is-npm@1.0.0, xdg-basedir@2.0.0, semver-diff@2.1.0, ansi-align@1.0.0, boxen@0.5.1, configstore@2.0.0, latest-version@2.0.0) └── typings-core@1.0.1 (array-uniq@1.0.2, thenify@3.2.0, zip-object@0.1.0, popsicle-status@2.0.0, graceful-fs@4.1.4, popsicle-retry@3.1.0, throat@2.0.2, lockfile@1.0.1, promise-finally@2.2.0, string-template@1.0.0, strip-bom@2.0.0, sort-keys@1.1.2, make-error-cause@1.1.0, debug@2.2.0, has@1.0.1, rc@1.1.6, object.pick@1.1.2, configstore@2.0.0, parse-json@2.2.0, invariant@2.2.1, detect-indent@4.0.0, mkdirp@0.5.1, touch@1.0.0, is-absolute@0.2.5, popsicle-proxy-agent@2.0.1, rimraf@2.5.2, typescript@1.8.7, popsicle@6.2.0)
and happens:
kevyns-macbook-pro:~ kevynquiros$ typings search tape -bash: typings: command not found
please help!
as of cmd output in question, typings
package installed in /users/kevynquiros/npm/bin/typings
. need add folder path
.
one way is:
- create "or edit" file
/users/kevynquiros/.bash_profile
in file, add line:
export path=${path}:/users/kevynquiros/npm/bin/
close , re-open
terminal
, should work.