Для школьного проекта мне нужно разработать веб-приложение, используя генератор углового ползунка от Yeoman.Угловой-фулл-сток | Yeoman - толчок к git с heroku не удалось
В этом процессе мне нужно нажать мое веб-приложение с героку. Я последовал за все шаги, но когда я
git push heroku master
Я получаю сообщение об ошибке:
remote: > typings install
remote:
remote: sh: 1: typings: not found
remote:
remote: npm ERR! Linux 3.13.0-100-generic
remote: npm ERR! argv "/tmp/build_619bf0f5cc66ca8fa9680ec4149eaa76/.heroku/node/bin/node" "/tmp/build_619bf0f5cc66ca8fa9680ec4149eaa76/.heroku/node/bin/npm" "install" "--unsafe-perm" "--userconfig" "/tmp/build_619bf0f5cc66ca8fa9680ec4149eaa76/.npmrc"
remote: npm ERR! node v6.9.1
remote: npm ERR! npm v4.0.3
remote: npm ERR! file sh
remote: npm ERR! code ELIFECYCLE
remote: npm ERR! errno ENOENT
remote: npm ERR! syscall spawn
remote: npm ERR! [email protected] postinstall: `typings install`
remote: npm ERR! spawn ENOENT
remote: npm ERR!
remote: npm ERR! Failed at the [email protected] postinstall script 'typings install'.
remote: npm ERR! Make sure you have the latest version of node.js and npm installed.
remote: npm ERR! If you do, this is most likely a problem with the projet-yboo-emotion package,
remote: npm ERR! not with npm itself.
remote: npm ERR! Tell the author that this fails on your system:
remote: npm ERR! typings install
...
remote: ! Push rejected, failed to compile Node.js app.
remote:
remote: ! Push failed
remote: Verifying deploy....
remote:
remote: ! Push rejected to ybooemotiont3m.
remote:
To https://git.heroku.com/ybooemotiont3m.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/ybooemotiont3m.git'
Я не понимаю, почему ... У меня типизации установлен:
typings --version
2.0.0
и в моем package.json
:
"dependencies": {
...
"typings": "^2.0.0"
...
Я действительно не знаю об Heroku, но, возможно, это помогает найти ENONET. Это стандартная ошибка Linux с описанием «Машина не в сети» –
какая версия углового ползуна вы используете? – DevManny
Я использую последнюю версию: [email protected] –