• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Heroku deployment issue

Scheduled Pinned Locked Moved Technical Support
issueherokudeploymenthelp
2 Posts 2 Posters 576 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • meghanmullallyM Offline
    meghanmullallyM Offline
    meghanmullally
    wrote on last edited by
    #1

    Help I'm trying to get my nodeBB to deploy to heroku but the last step isn't working for me.
    Any Ideas??

     make: Leaving directory '/tmp/build_8c0ab08ecd185b51c4f3a97498ad6366/node_modules/sharp/build'
           gyp ERR! build error 
           gyp ERR! stack Error: `make` failed with exit code: 2
           gyp ERR! stack     at ChildProcess.onExit (/tmp/build_8c0ab08ecd185b51c4f3a97498ad6366/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
           gyp ERR! stack     at ChildProcess.emit (events.js:203:13)
           gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
           gyp ERR! System Linux 4.4.0-1048-aws
           gyp ERR! command "/tmp/build_8c0ab08ecd185b51c4f3a97498ad6366/.heroku/node/bin/node" "/tmp/build_8c0ab08ecd185b51c4f3a97498ad6366/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
           gyp ERR! cwd /tmp/build_8c0ab08ecd185b51c4f3a97498ad6366/node_modules/sharp
           gyp ERR! node -v v12.8.0
           gyp ERR! node-gyp -v v5.0.3
           gyp ERR! not ok 
           npm ERR! code ELIFECYCLE
           npm ERR! errno 1
           npm ERR! [email protected] install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
           npm ERR! Exit status 1
           npm ERR! 
           npm ERR! Failed at the [email protected] install 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.YDgGT/_logs/2019-08-07T17_34_02_459Z-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:
           
           - Dangerous semver range (>) in engines.node
             https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
           
           Love,
           Heroku
           
     !     Push rejected, failed to compile Node.js app.
     !     Push failed
    
    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #2

    Are you running this on your local machine? Do you have build-essentials installed?

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development