TranTrung2006

Untitled

Apr 28th, 2020
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.59 KB | None | 0 0
  1. -----> Node.js app detected
  2.  
  3. -----> Creating runtime environment
  4.  
  5. NPM_CONFIG_LOGLEVEL=error
  6. NODE_ENV=production
  7. NODE_MODULES_CACHE=true
  8. NODE_VERBOSE=false
  9.  
  10. -----> Installing binaries
  11. engines.node (package.json): unspecified
  12. engines.npm (package.json): unspecified (use default)
  13. engines.yarn (package.json): unspecified (use default)
  14.  
  15. Resolving node version 12.x...
  16. Downloading and installing node 12.16.3...
  17. Using default npm version: 6.14.4
  18. Resolving yarn version 1.x...
  19. Downloading and installing yarn (1.22.4)...
  20. Installed yarn 1.22.4
  21.  
  22. -----> Installing dependencies
  23. Installing node modules (yarn.lock)
  24. yarn install v1.22.4
  25. [1/4] Resolving packages...
  26. [2/4] Fetching packages...
  27. info fsevents@2.1.3: The platform "linux" is incompatible with this module.
  28. info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
  29. [3/4] Linking dependencies...
  30. [4/4] Building fresh packages...
  31. error /tmp/build_fe435b2c45024be9818941b912d58fdc/node_modules/canvas: Command failed.
  32. Exit code: 1
  33. Command: node-pre-gyp install --fallback-to-build
  34. Arguments:
  35. Directory: /tmp/build_fe435b2c45024be9818941b912d58fdc/node_modules/canvas
  36. Output:
  37. Package pangocairo was not found in the pkg-config search path.
  38. Perhaps you should add the directory containing `pangocairo.pc'
  39. to the PKG_CONFIG_PATH environment variable
  40. No package 'pangocairo' found
  41. gyp: Call to 'pkg-config pangocairo --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
  42. gyp ERR! configure error
  43. gyp ERR! stack Error: `gyp` failed with exit code: 1
  44. gyp ERR! stack at ChildProcess.onCpExit (/tmp/build_fe435b2c45024be9818941b912d58fdc/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
  45. gyp ERR! stack at ChildProcess.emit (events.js:310:20)
  46. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
  47. gyp ERR! System Linux 4.4.0-1062-aws
  48. gyp ERR! command "/tmp/build_fe435b2c45024be9818941b912d58fdc/.heroku/node/bin/node" "/tmp/build_fe435b2c45024be9818941b912d58fdc/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/tmp/build_fe435b2c45024be9818941b912d58fdc/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/tmp/build_fe435b2c45024be9818941b912d58fdc/node_modules/canvas/build/Release" "--napi_version=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
  49. gyp ERR! cwd /tmp/build_fe435b2c45024be9818941b912d58fdc/node_modules/canvas
  50. gyp ERR! node -v v12.16.3
  51. gyp ERR! node-gyp -v v5.1.0
  52. gyp ERR! not ok
  53. node-pre-gyp ERR! build error
  54. node-pre-gyp ERR! stack Error: Failed to execute '/tmp/build_fe435b2c45024be9818941b912d58fdc/.heroku/node/bin/node /tmp/build_fe435b2c45024be9818941b912d58fdc/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/tmp/build_fe435b2c45024be9818941b912d58fdc/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/tmp/build_fe435b2c45024be9818941b912d58fdc/node_modules/canvas/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
  55. node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/tmp/build_fe435b2c45024be9818941b912d58fdc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
  56. node-pre-gyp ERR! stack at ChildProcess.emit (events.js:310:20)
  57. node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
  58. node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
  59. node-pre-gyp ERR! System Linux 4.4.0-1062-aws
  60. node-pre-gyp ERR! command "/tmp/build_fe435b2c45024be9818941b912d58fdc/.heroku/node/bin/node" "/tmp/build_fe435b2c45024be9818941b912d58fdc/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
  61. node-pre-gyp ERR! cwd /tmp/build_fe435b2c45024be9818941b912d58fdc/node_modules/canvas
  62. node-pre-gyp ERR! node -v v12.16.3
  63. node-pre-gyp ERR! node-pre-gyp -v v0.11.0
  64. node-pre-gyp ERR! not ok
  65. Failed to execute '/tmp/build_fe435b2c45024be9818941b912d58fdc/.heroku/node/bin/node /tmp/build_fe435b2c45024be9818941b912d58fdc/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/tmp/build_fe435b2c45024be9818941b912d58fdc/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/tmp/build_fe435b2c45024be9818941b912d58fdc/node_modules/canvas/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
  66. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
  67. -----> Build failed
  68.  
  69. We're sorry this build is failing! You can troubleshoot common issues here:
  70. https://devcenter.heroku.com/articles/troubleshooting-node-deploys
  71.  
  72. Some possible problems:
  73.  
  74. - Node version not specified in package.json
  75. https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
  76.  
  77. Love,
  78. Heroku
  79.  
  80. ! Push rejected, failed to compile Node.js app.
  81. ! Push failed
Add Comment
Please, Sign In to add comment