установить жить-сервер на глобальном уровне с:NPM живой сервер: команда не найдена
npm install -g live-server
, но по какой-то причине он не может быть найден, и я получаю следующую ошибку
bash: live-server: command not found
после команды live-server
Все правильно установлены:
/Users/username/npm-global/bin/live-server ->
/Users/username/npm-global/lib/node_modules/live-server/live-server.js
[email protected] /Users/username/npm-global/lib/node_modules/live-server
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
Что я здесь отсутствует?
Возможный дубликат [BrowserSync: Команда не найдена после установки браузера синхронизации] (http://stackoverflow.com/questions/35500178/browsersync-command-not-found-after-installing-browser -sync) – bolav
Что возвращает 'npm bin -g'? Что возвращает 'echo $ PATH'? – bolav
'npm bin -g' returns'/Пользователи/davidknowles/npm-global/bin' '(не в переменной PATH env)' – Timidfriendly