Skip to content

Instantly share code, notes, and snippets.

@wirtzdan
Created November 6, 2017 18:14
Show Gist options
  • Save wirtzdan/b1cb98c85f2998cf3fab0d33ab778ebf to your computer and use it in GitHub Desktop.
Save wirtzdan/b1cb98c85f2998cf3fab0d33ab778ebf to your computer and use it in GitHub Desktop.
els-MBP:publicweb-stream DanielWirtz$ ng generate component contact
bash: ng: command not found
Daniels-MBP:publicweb-stream DanielWirtz$ yarn
yarn install v1.1.0
[1/4] 🔍 Resolving packages...
success Already up-to-date.
✨ Done in 0.80s.
Daniels-MBP:publicweb-stream DanielWirtz$ ng generate component contact
bash: ng: command not found
Daniels-MBP:publicweb-stream DanielWirtz$ npm serve
Usage: npm <command>
where <command> is one of:
access, adduser, bin, bugs, c, cache, completion, config,
ddp, dedupe, deprecate, dist-tag, docs, doctor, edit,
explore, get, help, help-search, i, init, install,
install-test, it, link, list, ln, login, logout, ls,
outdated, owner, pack, ping, prefix, prune, publish, rb,
rebuild, repo, restart, root, run, run-script, s, se,
search, set, shrinkwrap, star, stars, start, stop, t, team,
test, tst, un, uninstall, unpublish, unstar, up, update, v,
version, view, whoami
npm <command> -h quick help on <command>
npm -l display full usage info
npm help <term> search for help on <term>
npm help npm involved overview
Specify configs in the ini-formatted file:
/Users/DanielWirtz/.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config
npm@5.3.0 /usr/local/lib/node_modules/npm
Daniels-MBP:publicweb-stream DanielWirtz$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment