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

chapter8 chapter10 parcel package.json, index.html error #391

Closed
neilhan opened this issue Oct 3, 2021 · 0 comments · Fixed by #407
Closed

chapter8 chapter10 parcel package.json, index.html error #391

neilhan opened this issue Oct 3, 2021 · 0 comments · Fixed by #407

Comments

@neilhan
Copy link

neilhan commented Oct 3, 2021

In chapter8 and chapter 10, follow 2 changes are needed to run parcel src/index --open

package.json "main":"" will cause an error. To start parcel, it need to be:

"main": "output/Main/index.js"

for src/index.html, this line need to be updated. "type='module'" is required.

<script type="module" src="./index.js"></script>

chriz-zeller added a commit to chriz-zeller/purescript-book that referenced this issue Nov 16, 2021
chriz-zeller added a commit to chriz-zeller/purescript-book that referenced this issue Nov 16, 2021
milesfrain pushed a commit that referenced this issue Nov 21, 2021
* Adds path to main. Refs #391.

* Adds type "module". Refs #391.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant