GithubHelp home page GithubHelp logo

Comments (4)

sizov avatar sizov commented on May 7, 2024

Please see my PR #45, let me know if using Deploy to Heroku from my clone works for you.
See my commit for details

from essential-react.

nguyennb9 avatar nguyennb9 commented on May 7, 2024

I still got that error, here is my log:

2016-05-19T09:23:21.464170+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=essentialreact.herokuapp.com request_id=f1e7f7a0-4e3a-4849-8e03-d07965f84f88 fwd="113.161.74.19" dyno= connect= service= status=503 bytes=
2016-05-19T09:23:28.459070+00:00 heroku[web.1]: State changed from crashed to starting
2016-05-19T09:23:32.134524+00:00 heroku[web.1]: Starting process with command `npm start`
2016-05-19T09:23:34.801654+00:00 app[web.1]: 
2016-05-19T09:23:34.801681+00:00 app[web.1]: > [email protected] start /app
2016-05-19T09:23:34.801690+00:00 app[web.1]: > node server.js
2016-05-19T09:23:34.801691+00:00 app[web.1]: 
2016-05-19T09:23:34.887670+00:00 app[web.1]: /app/server.js:1
2016-05-19T09:23:34.887712+00:00 app[web.1]:                                                               ^^^^^^
2016-05-19T09:23:34.887714+00:00 app[web.1]: 
2016-05-19T09:23:34.887715+00:00 app[web.1]: SyntaxError: Unexpected token import
2016-05-19T09:23:34.887715+00:00 app[web.1]:     at exports.runInThisContext (vm.js:53:16)
2016-05-19T09:23:34.887716+00:00 app[web.1]:     at Module._compile (module.js:387:25)
2016-05-19T09:23:34.887725+00:00 app[web.1]:     at Object.Module._extensions..js (module.js:422:10)
2016-05-19T09:23:34.887726+00:00 app[web.1]:     at Module.load (module.js:357:32)
2016-05-19T09:23:34.887726+00:00 app[web.1]:     at Function.Module._load (module.js:314:12)
2016-05-19T09:23:34.887727+00:00 app[web.1]:     at Function.Module.runMain (module.js:447:10)
2016-05-19T09:23:34.896181+00:00 app[web.1]: 
2016-05-19T09:23:34.904671+00:00 app[web.1]: npm ERR! Linux 3.13.0-85-generic
2016-05-19T09:23:34.906143+00:00 app[web.1]: npm ERR! code ELIFECYCLE
2016-05-19T09:23:34.906295+00:00 app[web.1]: npm ERR! [email protected] start: `node server.js`
2016-05-19T09:23:34.906400+00:00 app[web.1]: npm ERR! Exit status 1
2016-05-19T09:23:34.906533+00:00 app[web.1]: npm ERR! 
2016-05-19T09:23:34.906852+00:00 app[web.1]: npm ERR! If you do, this is most likely a problem with the essential-react package,
2016-05-19T09:23:34.906982+00:00 app[web.1]: npm ERR! not with npm itself.
2016-05-19T09:23:34.907067+00:00 app[web.1]: npm ERR! Tell the author that this fails on your system:
2016-05-19T09:23:34.913021+00:00 app[web.1]: npm ERR! Please include the following file with any support request:
2016-05-19T09:23:34.913233+00:00 app[web.1]: npm ERR!     /app/npm-debug.log
2016-05-19T09:23:35.753922+00:00 heroku[web.1]: State changed from starting to crashed
2016-05-19T09:23:35.750224+00:00 heroku[web.1]: Process exited with status 1

from essential-react.

rasmuszimmer avatar rasmuszimmer commented on May 7, 2024

I solved it by changing the script line in package.json

from

"server": "node start.js"

to

"start": "node start.js"

However, since I'm new to this stuff I am not sure whether it is the right way to go about it.

from essential-react.

rasmuszimmer avatar rasmuszimmer commented on May 7, 2024

Closed by mistake.

from essential-react.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.