1
resposta

Node não acessa projeto

Usage: npm

where 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 -h quick help on npm -l display full usage info npm help search for help on npm help npm involved overview

Specify configs in the ini-formatted file: C:\Users\dani_.npmrc or on the command line via: npm --key value Config info can be viewed via: npm help config

npm@5.3.0 C:\Users\dani\AppData\Roaming\npm\node_modules\npm PS C:\Users\dani\Repositorio\Mean> npm help config PS C:\Users\dani\Repositorio\Mean> npm config npm ERR! Usage: npm ERR! npm config set npm ERR! npm config get [] npm ERR! npm config delete npm ERR! npm config list npm ERR! npm config edit npm ERR! npm set npm ERR! npm get [] npm ERR! npm ERR! alias: c PS C:\Users\dani\Repositorio\Mean> ^C

1 resposta

Já existe o package.json na pasta que estas tentando utilizar o npm?

Se não deverias executar o npm init antes de começar a utilizar npm para gerenciar suas dependencias e script de execucao.