Codesandbox-client: Manifest Error when Exporting default CRA template

Created on 4 Jun 2019  路  5Comments  路  Source: codesandbox/codesandbox-client

馃悰 bug report

Description of the problem

Because there is no manifest.json file in the default create-react-app template (related to #1532), exporting and running yarn start gives the Manifest: Line: 1, column: 1, Unexpected token. error because HTML is getting served instead of JSON.

Screen Shot 2019-06-04 at 00 55 25
Screen Shot 2019-06-04 at 00 55 49
Screen Shot 2019-06-04 at 00 56 05

How has this issue affected you? What are you trying to accomplish?

Export + yarn start default CRA template without browser console errors.

Link to sandbox:

https://codesandbox.io/s/new

Your Environment

| Software | Name/Version |
| ---------------- | ------------- |
| 小odesandbox | PROD-1559409667-1cce2689 |
| Browser | Chrome stable |
| Operating System | macOS 10.14.5 |

馃悰 Bug

Most helpful comment

Simple explanation here is that our create-react-app template is not a 1;1 clone of the official create react app starter files, so that would be the source of this bug.

We're looking to address this in an upcoming overhaul of templates on the platform. Thanks for reporting this and we'll address it as soon as possible!

For now all I can offer as a solution is to add the missing files that create react app expects yourself when attempting to run the code on your local machine. We can't retroactively add missing files to Sandboxes forked from the existing React template without running the risk of overwriting a user's changes.

All 5 comments

Simple explanation here is that our create-react-app template is not a 1;1 clone of the official create react app starter files, so that would be the source of this bug.

We're looking to address this in an upcoming overhaul of templates on the platform. Thanks for reporting this and we'll address it as soon as possible!

For now all I can offer as a solution is to add the missing files that create react app expects yourself when attempting to run the code on your local machine. We can't retroactively add missing files to Sandboxes forked from the existing React template without running the risk of overwriting a user's changes.

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

@Saeris was the manifest ever added here?

This issue has automatically been marked stale because there has been no activity in a while. Please leave a comment if the issue has not been resolved, or if it is not stale for any other reason. After 2 weeks, this issue will automatically be closed, unless a comment is made or the stale label is removed.

not stale

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kentcdodds picture kentcdodds  路  3Comments

CompuIves picture CompuIves  路  3Comments

alansouzati picture alansouzati  路  3Comments

MarcelloTheArcane picture MarcelloTheArcane  路  3Comments

supersonicclay picture supersonicclay  路  3Comments