Skip to content

Help me  #420

@ghost

Description

-----> 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)

   Resolving node version 12.x...
   Downloading and installing node 12.16.1...
   Using default npm version: 6.13.4

-----> Installing dependencies
Prebuild detected (node_modules already exists)
Rebuilding any native modules

   > @discordjs/opus@0.1.0 install /tmp/build_cfc96e10cd6bbc622307cff02a145bdd/node_modules/@discordjs/opus
   > node-pre-gyp install --fallback-to-build
   
   sh: 1: node-pre-gyp: Permission denied
   npm ERR! code ELIFECYCLE
   npm ERR! errno 126
   npm ERR! @discordjs/opus@0.1.0 install: `node-pre-gyp install --fallback-to-build`
   npm ERR! Exit status 126
   npm ERR! 
   npm ERR! Failed at the @discordjs/opus@0.1.0 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.Plnq6/_logs/2020-03-16T08_21_02_084Z-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:
   
   - node_modules checked into source control
     https://blog.heroku.com/node-habits-2016#9-only-git-the-important-bits
   
   - 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions