Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----> Node.js app detected
- -----> Creating runtime environment
- NPM_CONFIG_LOGLEVEL=error
- NODE_ENV=production
- NODE_MODULES_CACHE=true
- NODE_VERBOSE=false
- -----> Installing binaries
- engines.node (package.json): unspecified
- engines.npm (package.json): unspecified (use default)
- engines.yarn (package.json): unspecified (use default)
- Resolving node version 12.x...
- Downloading and installing node 12.16.3...
- Using default npm version: 6.14.4
- Resolving yarn version 1.x...
- Downloading and installing yarn (1.22.4)...
- Installed yarn 1.22.4
- -----> Installing dependencies
- Installing node modules (yarn.lock)
- yarn install v1.22.4
- [1/4] Resolving packages...
- [2/4] Fetching packages...
- info fsevents@2.1.3: The platform "linux" is incompatible with this module.
- info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
- [3/4] Linking dependencies...
- [4/4] Building fresh packages...
- error /tmp/build_fe435b2c45024be9818941b912d58fdc/node_modules/canvas: Command failed.
- Exit code: 1
- Command: node-pre-gyp install --fallback-to-build
- Arguments:
- Directory: /tmp/build_fe435b2c45024be9818941b912d58fdc/node_modules/canvas
- Output:
- Package pangocairo was not found in the pkg-config search path.
- Perhaps you should add the directory containing `pangocairo.pc'
- to the PKG_CONFIG_PATH environment variable
- No package 'pangocairo' found
- gyp: Call to 'pkg-config pangocairo --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
- gyp ERR! configure error
- gyp ERR! stack Error: `gyp` failed with exit code: 1
- gyp ERR! stack at ChildProcess.onCpExit (/tmp/build_fe435b2c45024be9818941b912d58fdc/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
- gyp ERR! stack at ChildProcess.emit (events.js:310:20)
- gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
- gyp ERR! System Linux 4.4.0-1062-aws
- 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"
- gyp ERR! cwd /tmp/build_fe435b2c45024be9818941b912d58fdc/node_modules/canvas
- gyp ERR! node -v v12.16.3
- gyp ERR! node-gyp -v v5.1.0
- gyp ERR! not ok
- node-pre-gyp ERR! build error
- 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)
- node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/tmp/build_fe435b2c45024be9818941b912d58fdc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
- node-pre-gyp ERR! stack at ChildProcess.emit (events.js:310:20)
- node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
- node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
- node-pre-gyp ERR! System Linux 4.4.0-1062-aws
- 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"
- node-pre-gyp ERR! cwd /tmp/build_fe435b2c45024be9818941b912d58fdc/node_modules/canvas
- node-pre-gyp ERR! node -v v12.16.3
- node-pre-gyp ERR! node-pre-gyp -v v0.11.0
- node-pre-gyp ERR! not ok
- 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)
- info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
- -----> 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:
- - Node version not specified in package.json
- https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
- Love,
- Heroku
- ! Push rejected, failed to compile Node.js app.
- ! Push failed
Add Comment
Please, Sign In to add comment