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

Fix start script #77

Merged
merged 2 commits into from
Aug 22, 2019
Merged

Fix start script #77

merged 2 commits into from
Aug 22, 2019

Conversation

LuAPi
Copy link
Contributor

@LuAPi LuAPi commented Aug 21, 2019

I tried to run npm run start and found the webpage didn't work. It seems that webpack-serve needs to have a --config flag set in order for it to look at the file it is provided with. The dev version of the built file appears in a subdirectory instead of the root directory so I updated the index.html to point at the right place.

Unrelated to the PR: After running cookie cutter I had to manually npm install http2 to make npm run start work (using node 8.4.0).

Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch @LuAPi - it wouldn't work with the other src, and though webpack-serve does seem to work without the --config it's clearly the correct usage. 💃

@alexcjohnson alexcjohnson merged commit 567d253 into plotly:master Aug 22, 2019
@LuAPi LuAPi deleted the fix-start branch August 22, 2019 10:10
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

Successfully merging this pull request may close these issues.

2 participants