Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught SyntaxError: Unexpected token < dashboard.bundle.js (when trying to access from Heroku) #114

Closed
astanton opened this issue Mar 9, 2016 · 5 comments

Comments

@astanton
Copy link

astanton commented Mar 9, 2016

I saw another post about this in #91 however I have just pulled the latest version of the code so I would think that fix should be in there.

It runs fine when I run it locally with npm run dashboard however when I try to run it on the Heroku server with npm start like it says to do, this is the error I'm getting.

Any ideas? Is it something simple I'm missing?

@drew-gross
Copy link
Contributor

Try npm install first, or try npm run dashboard on Heroku instead of npm start.

@astanton
Copy link
Author

@drew-gross Tried both of those and didn't have any luck with either.

Although, npm install didn't really seem to do much at all.

~ $ npm install
npm WARN parse-dashboard@2.0.0 license should be a valid SPDX license expression
~ $ 

That was ran in the heroku bash command prompt, in the /app directory.

@drew-gross
Copy link
Contributor

That is not what I would expect from npm install. Can you post the contents of package.json please?

@DazChong
Copy link

I found out that the error occurred on incomplete npm install mainly due to process killed by insufficient memory.

@drew-gross
Copy link
Contributor

no response in 6 days, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants