> protobufjs@6.8.8 postinstall /tmp/build_615ec1b7/node_modules/protobufjs
> node scripts/postinstall
> grpc@1.18.0 install /tmp/build_615ec1b7/node_modules/grpc
> node-pre-gyp install --fallback-to-build --library=static_library
[grpc] Success: "/tmp/build_615ec1b7/node_modules/grpc/src/node/extension_binary/node-v64-linux-x64-glibc/grpc_node.node" is installed via remote
> bcrypt@5.0.0 install /tmp/build_615ec1b7/node_modules/bcrypt
> node-pre-gyp install --fallback-to-build
[bcrypt] Success: "/tmp/build_615ec1b7/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node" is installed via remote
added 548 packages in 14.818s
-----> Build
Detected both "build" and "heroku-postbuild" scripts
Running heroku-postbuild
> node-red-google-home@1.0.0 heroku-postbuild /tmp/build_615ec1b7
> npm run build && npm run copyhtml && npm run schema
> node-red-google-home@1.0.0 build /tmp/build_615ec1b7
> tsc
src/google/execute.ts(1,37): error TS2307: Cannot find module '../nora-common/google/execute'.
src/google/query.ts(1,27): error TS2307: Cannot find module '../nora-common/models'.
src/http/services/execute.service.ts(6,54): error TS2307: Cannot find module '../../nora-common/google/execute'.
src/http/services/execute.service.ts(7,36): error TS2307: Cannot find module '../../nora-common/util'.
src/http/services/query.service.ts(3,24): error TS2307: Cannot find module '../../nora-common/models'.
src/http/services/query.service.ts(4,27): error TS2307: Cannot find module '../../nora-common/util'.
src/http/services/sync.service.ts(5,30): error TS2307: Cannot find module '../../nora-common/models'.
src/http/services/sync.service.ts(6,25): error TS2307: Cannot find module '../../nora-common/util'.
src/http/services/sync.service.ts(42,38): error TS2339: Property 'name' does not exist on type 'unknown'.
src/http/services/sync.service.ts(43,43): error TS2339: Property 'nicknames' does not exist on type 'unknown'.
src/http/services/sync.service.ts(45,38): error TS2339: Property 'roomHint' does not exist on type 'unknown'.
src/http/services/sync.service.ts(57,32): error TS2339: Property 'type' does not exist on type 'unknown'.
src/http/services/sync.service.ts(69,36): error TS2339: Property 'brightnessControl' does not exist on type 'unknown'.
src/http/services/sync.service.ts(72,36): error TS2339: Property 'colorControl' does not exist on type 'unknown'.
src/http/services/sync.service.ts(82,53): error TS2339: Property 'sceneReversible' does not exist on type 'unknown'.
src/http/services/sync.service.ts(89,67): error TS2339: Property 'availableModes' does not exist on type 'unknown'.
src/http/services/sync.service.ts(90,63): error TS2339: Property 'temperatureUnit' does not exist on type 'unknown'.
src/http/services/sync.service.ts(91,56): error TS2339: Property 'bufferRangeCelsius' does not exist on type 'unknown'.
src/http/services/sync.service.ts(92,67): error TS2339: Property 'commandOnlyTemperatureSetting' does not exist on type 'unknown'.
src/http/services/sync.service.ts(93,65): error TS2339: Property 'queryOnlyTemperatureSetting' does not exist on type 'unknown'.
src/http/services/sync.service.ts(125,49): error TS2339: Property 'state' does not exist on type 'unknown'.
src/services/devices.repository.ts(6,58): error TS2307: Cannot find module '../nora-common/models'.
src/services/devices.repository.ts(7,25): error TS2307: Cannot find module '../nora-common/util'.
src/services/report-state.service.ts(5,30): error TS2307: Cannot find module '../nora-common/models'.
src/socket/types.ts(1,38): error TS2307: Cannot find module '../nora-common/models'.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! node-red-google-home@1.0.0 build: tsc
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the node-red-google-home@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/npmcache.GlUgz/_logs/2021-03-27T17_24_53_649Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! node-red-google-home@1.0.0 heroku-postbuild: npm run build && npm run copyhtml && npm run schema
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the node-red-google-home@1.0.0 heroku-postbuild script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/npmcache.GlUgz/_logs/2021-03-27T17_24_53_668Z-debug.log
-----> Build failed
We're sorry this build is failing! You can troubleshoot common issues here:
https://devcenter.heroku.com/articles/troubleshooting-node-deploys
Some possible problems:
- A module may be missing from 'dependencies' in package.json
https://devcenter.heroku.com/articles/troubleshooting-node-deploys#ensure-you-aren-t-relying-on-untracked-dependencies
Love,
Heroku
Hello Andrei,
I´m trying to test the service but I have problems to deploy on heroku.
The log show this:
**-----> Building on the Heroku-20 stack -----> Using buildpack: heroku/nodejs -----> Node.js app detected
-----> Creating runtime environment
-----> Installing binaries engines.node (package.json): 10 engines.npm (package.json): unspecified (use default)
-----> Installing dependencies Installing node modules
-----> Build Detected both "build" and "heroku-postbuild" scripts Running heroku-postbuild
npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! node-red-google-home@1.0.0 build:
tsc
npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the node-red-google-home@1.0.0 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /tmp/npmcache.GlUgz/_logs/2021-03-27T17_24_53_649Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! node-red-google-home@1.0.0 heroku-postbuild:npm run build && npm run copyhtml && npm run schema
npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the node-red-google-home@1.0.0 heroku-postbuild script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /tmp/npmcache.GlUgz/_logs/2021-03-27T17_24_53_668Z-debug.log -----> Build failed! Push rejected, failed to compile Node.js app. ! Push failed**
------ THANKS FOR YOUR HELP -----