Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can't deploy ACE app on Heroku

Hello

I am having difficulty deploying my application to Heroku. I developed using mongodb. I am trying to push the app to Heroku, but it keeps failing at the build.

Here is some parts of the logs.

       [build-jsx-node] 
       [build-jsx-node] > my-app@0.0.1 build-jsx-node /tmp/build_7449a027_
       [build-jsx-node] > parcel build --log-level 1 --no-minify --target node --out-dir views/node views/*.jsx
       [build-jsx-node] 
       [build-jsx-browser] 
       [build-jsx-browser] > my-app@0.0.1 build-jsx-browser /tmp/build_7449a027_
       [build-jsx-browser] > parcel build --log-level 1 --global __root_component --out-dir views views/*.jsx
       [build-jsx-browser] 
       [build-jsx-node] lscpu: failed to determine number of CPUs: /sys/devices/system/cpu/possible: No such file or directory
       [build-jsx-node] 🚨  No entries found.
       [build-jsx-node]     at Bundler.bundle (/tmp/build_7449a027_/node_modules/parcel-bundler/src/Bundler.js:275:17)
       [build-jsx-browser] lscpu: failed to determine number of CPUs: /sys/devices/system/cpu/possible: No such file or directory
       [build-jsx-browser] 🚨  No entries found.
       [build-jsx-browser]     at Bundler.bundle (/tmp/build_7449a027_/node_modules/parcel-bundler/src/Bundler.js:275:17)
       [build-jsx-node] npm ERR! code ELIFECYCLE
       [build-jsx-node] npm ERR! errno 1
       [build-jsx-node] npm ERR! my-app@0.0.1 build-jsx-node: `parcel build --log-level 1 --no-minify --target node --out-dir views/node views/*.jsx`
       [build-jsx-node] npm ERR! Exit status 1
       [build-jsx-node] npm ERR! 
       [build-jsx-node] npm ERR! Failed at the my-app@0.0.1 build-jsx-node script.
       npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
       [build-jsx-node] 
       [build-jsx-node] npm ERR! A complete log of this run can be found in:
       [build-jsx-node] npm ERR!     /tmp/npmcache.DXbDq/_logs/2021-02-04T09_13_27_109Z-debug.log
       [build-jsx-node] npm run build-jsx-node exited with code 1
       [build-jsx-browser] npm ERR! code ELIFECYCLE
       [build-jsx-browser] npm ERR! errno 1
       [build-jsx-browser] npm ERR! my-app@0.0.1 build-jsx-browser: `parcel build --log-level 1 --global __root_component --out-dir views views/*.jsx`
       [build-jsx-browser] npm ERR! Exit status 1
       [build-jsx-browser] npm ERR! 
       [build-jsx-browser] npm ERR! Failed at the my-app@0.0.1 build-jsx-browser script.
       npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
       [build-jsx-browser] 
       [build-jsx-browser] npm ERR! A complete log of this run can be found in:
       [build-jsx-browser] npm ERR!     /tmp/npmcache.DXbDq/_logs/2021-02-04T09_13_27_144Z-debug.log
       [build-jsx-browser] npm run build-jsx-browser exited with code 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! my-app@0.0.1 build: `concurrently -i 'npm:build-*'`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the my-app@0.0.1 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.DXbDq/_logs/2021-02-04T09_13_27_169Z-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 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

1 answer

0 votes

Hm, any interesting info here 

/tmp/npmcache.DXbDq/_logs/2021-02-04T09_13_27_109Z-debug.log

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

241 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you