Я пытаюсь установить генератор Yeogurt из командной строки в Mac. Теперь проблема заключается в том, что он успешно устанавливается, но команда не найдена, когда я выполняю команду yo.Установка Yeogurt Yo Issue
Ниже мой журнал установки и мой .bash_profile и .bashrc файл
УСТАНОВКА LOG
MacBook-Pro:~ administrator$ sudo npm install -g generator-yeogurt
npm WARN unmet dependency /usr/local/lib/node_modules/bower/node_modules/bower-registry-client/node_modules/bower-config requires [email protected]'0.0.3' but will load
npm WARN unmet dependency /usr/local/lib/node_modules/bower/node_modules/osenv,
npm WARN unmet dependency which is version 0.1.0
npm WARN unmet dependency /usr/local/lib/node_modules/bower/node_modules/inquirer/node_modules/readline2 requires [email protected]'~2.4.1' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/local/lib/node_modules/grunt/node_modules/grunt-legacy-util requires [email protected]'~0.9.2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/local/lib/node_modules/grunt/node_modules/grunt-legacy-util requires [email protected]'~2.2.1' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/local/lib/node_modules/grunt/node_modules/findup-sync/node_modules/glob requires [email protected]'0.3' but will load
npm WARN unmet dependency /usr/local/lib/node_modules/grunt/node_modules/minimatch,
npm WARN unmet dependency which is version 0.2.14
npm WARN unmet dependency /usr/local/lib/node_modules/grunt/node_modules/js-yaml/node_modules/argparse requires [email protected]'~2.4.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/local/lib/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/npmconf requires [email protected]'^0.5.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/local/lib/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/npmconf requires [email protected]'2 || 3 || 4' but will load
npm WARN unmet dependency /usr/local/lib/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/semver,
npm WARN unmet dependency which is version 1.0.14
npm WARN unmet dependency /usr/local/lib/node_modules/grunt-init/node_modules/prompt requires [email protected]'0.1.x' but will load
npm WARN unmet dependency /usr/local/lib/node_modules/grunt-init/node_modules/async,
npm WARN unmet dependency which is version 0.2.10
npm WARN unmet dependency /usr/local/lib/node_modules/grunt-init/node_modules/grunt/node_modules/findup-sync requires [email protected]'~2.4.1' but will load
npm WARN unmet dependency /usr/local/lib/node_modules/grunt-init/node_modules/grunt/node_modules/lodash,
npm WARN unmet dependency which is version 0.9.2
npm WARN unmet dependency /usr/local/lib/node_modules/grunt-init/node_modules/grunt/node_modules/findup-sync/node_modules/glob requires [email protected]'0.3' but will load
npm WARN unmet dependency /usr/local/lib/node_modules/grunt-init/node_modules/grunt/node_modules/minimatch,
npm WARN unmet dependency which is version 0.2.14
[email protected] /usr/local/lib/node_modules/generator-yeogurt
├── [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].0, [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])
MacBook-Pro:~ administrator$ yo
-bash: yo: command not found
MacBook-Pro:~ administrator$
.bash_profile
export PATH=$PATH:/Users/administrator/Downloads/ChromeDownloads/adt-bundle-mac-x86_64-20140702_2/sdk/platform-tools
$ export PATH=${PATH}:/Applications/Momentics.app/host_10_2_0_15/darwin/x86/usr/bin/
export PATH="$PATH":~/.node/bin
export PATH="/usr/local/bin:$PATH"
export SENCHA_SDK_TOOLS_2_0_0_BETA3="/Applications/SenchaSDKTools-2.0.0-beta3"
# New environment setting added by BB10 WebWorks SDK on Sat Mar 01 12:33:46 GMT+05:30 2014 1.
# The unmodified version of this file is saved in /Users/administrator/.bash_profile1186019250.
# Do NOT modify these lines; they are used to uninstall.
WEBWORKS_HOME="/Applications/BlackBerry/BB10 WebWorks SDK 2.0.0.54"
export WEBWORKS_HOME
# End comments by InstallAnywhere on Sat Mar 01 12:33:46 GMT+05:30 2014 1.
# New environment setting added by BB10 WebWorks SDK on Sat Mar 01 12:33:46 GMT+05:30 2014 2.
# The unmodified version of this file is saved in /Users/administrator/.bash_profile1186019250.
# Do NOT modify these lines; they are used to uninstall.
PATH="$WEBWORKS_HOME:${PATH}"
export PATH
# End comments by InstallAnywhere on Sat Mar 01 12:33:46 GMT+05:30 2014 2.
# New environment setting added by BB10 WebWorks SDK 2.1.0.13 on Fri Jun 27 21:20:23 GMT+05:30 2014 1.
# The unmodified version of this file is saved in /Users/administrator/.bash_profile780247064.
# Do NOT modify these lines; they are used to uninstall.
WEBWORKS_HOME="/Applications/BB10 WebWorks SDK 2.1.0.13"
export WEBWORKS_HOME
# End comments by InstallAnywhere on Fri Jun 27 21:20:23 GMT+05:30 2014 1.
# New environment setting added by BB10 WebWorks SDK 2.1.0.13 on Fri Jun 27 21:20:23 GMT+05:30 2014 2.
# The unmodified version of this file is saved in /Users/administrator/.bash_profile780247064.
# Do NOT modify these lines; they are used to uninstall.
PATH="$WEBWORKS_HOME:$WEBWORKS_HOME/cordova-blackberry/bin/dependencies/bb-tools/bin:${PATH}"
export PATH
# End comments by InstallAnywhere on Fri Jun 27 21:20:23 GMT+05:30 2014 2.
export PATH="$PATH":/Users/administrator/.node/bin
и вот моя .bashrc
export PATH=/Applications/SenchaSDKTools-2.0.0-beta3:$PATH
export SENCHA_SDK_TOOLS_2_0_0_BETA3="/Applications/SenchaSDKTools-2.0.0-beta3"
Этот Yeogurt действительно отображается в папке node_modules. Но все-таки я не в состоянии использовать YO команду
мне нужно решить эту проблему.
Спасибо, Анкит Танна