You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to deploy the application on Heroku and I get an error.
Resolving node version 6.8.0...
Downloading and installing node 6.8.0...
Using default npm version: 3.10.8
-----> Installing dependencies
Installing node modules (package.json)
> [email protected] postinstall /tmp/build_67dad2ef0ad289323c47189c69cf4bff
> if [ $BUILD_ON_INSTALL ]; then npm run build; fi
> [email protected] build /tmp/build_67dad2ef0ad289323c47189c69cf4bff
> ./node_modules/typescript/bin/tsc
sh: 1: ./node_modules/typescript/bin/tsc: not found
npm ERR! Linux 4.4.0-1048-aws
npm ERR! argv "/tmp/build_67dad2ef0ad289323c47189c69cf4bff/.heroku/node/bin/node" "/tmp/build_67dad2ef0ad289323c47189c69cf4bff/.heroku/node/bin/npm" "run" "build"
npm ERR! node v6.8.0
npm ERR! npm v3.10.8
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] build: `./node_modules/typescript/bin/tsc`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] build script './node_modules/typescript/bin/tsc'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bot-kpis package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ./node_modules/typescript/bin/tsc
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs bot-kpis
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls bot-kpis
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /tmp/build_67dad2ef0ad289323c47189c69cf4bff/npm-debug.log
npm ERR! Linux 4.4.0-1048-aws
npm ERR! argv "/tmp/build_67dad2ef0ad289323c47189c69cf4bff/.heroku/node/bin/node" "/tmp/build_67dad2ef0ad289323c47189c69cf4bff/.heroku/node/bin/npm" "install" "--production=true" "--unsafe-perm" "--userconfig" "/tmp/build_67dad2ef0ad289323c47189c69cf4bff/.npmrc"
npm ERR! node v6.8.0
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: `if [ $BUILD_ON_INSTALL ]; then npm run build; fi`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'if [ $BUILD_ON_INSTALL ]; then npm run build; fi'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bot-kpis package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! if [ $BUILD_ON_INSTALL ]; then npm run build; fi
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs bot-kpis
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls bot-kpis
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /tmp/build_67dad2ef0ad289323c47189c69cf4bff/npm-debug.log
-----> Build failed
I have build script on install and install dev depedencies set to true.
On the first try I had install had dev dependencies set to false and I've got another error.
Does anyone have an idea that can unblock me?
Thank you!
The text was updated successfully, but these errors were encountered:
I tried to deploy the application on Heroku and I get an error.
I have build script on install and install dev depedencies set to true.

On the first try I had install had dev dependencies set to false and I've got another error.
Does anyone have an idea that can unblock me?
Thank you!
The text was updated successfully, but these errors were encountered: