"содержательная" команда не найдена

Я следую этому руководство по началу работы и столкнулся с этой проблемой, несмотря на запуск brew upgrade node и установку инструмента contentful-cli там, где он должен быть установлен. Любые идеи, почему это произойдет?

~/Development/misc-dev/travel-blog(master):0 npm i -g contentful-cli  
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This module has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version of hapi to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
/usr/local/Cellar/node/11.14.0/bin/contentful -> /usr/local/Cellar/node/11.14.0/lib/node_modules/contentful-cli/bin/contentful.js

> [email protected] postinstall /usr/local/Cellar/node/11.14.0/lib/node_modules/contentful-cli/node_modules/spawn-sync
> node postinstall

+ [email protected]
added 490 packages from 231 contributors in 20.129s

~/Development/misc-dev/travel-blog(master):0 contentful --help      
zsh: command not found: contentful

🤔 А знаете ли вы, что...
Node.js обладает большой активной сообществом разработчиков и поддерживается множеством компаний.


899
1

Ответ:

Решено

Мне пришлось добавить export PATH = "/usr/local/Cellar/node/11.14.0/bin:$PATH" в мой .zshrc файл, потому что brew установленные пакеты узлов не были частью моей $PATH переменной. Запуск npm bin -g помог мне найти, где установлены мои глобальные пакеты, и подтвердил это для меня. Спасибо @Tico за руководство.