Comments (4)
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.
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.
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.
Closed by mistake.
from essential-react.
Related Issues (20)
- cannot load 'webpack' HOT 1
- [Question] Measure code coverage on JSX, not on transpiled JS HOT 2
- NPM Install fails HOT 1
- SOLVED: Incorrect CSS import order HOT 5
- Use Unlicense instead of MIT HOT 1
- Support source map debugging
- deprecated api calls HOT 1
- Less support HOT 1
- livereload of css
- Unexpected reserved word HOT 1
- Node v6.0.0 support? HOT 1
- Warning: It looks like you're using a minified copy of the development build of React. HOT 2
- testing + modular css = unexpected token error HOT 1
- Can't find where the <head> elements come from HOT 2
- npm start fails on osx mavericks and node version 6.40. HOT 1
- Why is there warning about using only minified dev build of react? HOT 3
- If support animation when switch pages?
- Use webpack-dev-server and drop the express dependency.
- [CORS]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from essential-react.