brightsign / brightsign/dev-cookbook
Error when trying to run the example
- Dominant language
- JavaScript
- Stars
- 23
- Forks
- 6
- Avg merge
- 10d 20h
- Merged PRs (30d)
- 1
Description
Loving this repo btw. These are really useful.
**Describe the bug**
The website has MIME type mismatch. The script from “http://localhost:3000/dist/frontend.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
**To Reproduce**
nvm version: 0.39.7
Node version: node v14.17.6 (npm v6.14.15)
yarn version: 1.22.22
- In the top level of the monorepo run `yarn install`
- Bootstrap a new React application: `npx create-react-app bs-app --template file:./dev-cookbook/cra-template-brightsign-app`
- Run the example locally `cd bs-app yarn && yarn start`
- Publish to brightsign via DWS `PLAYER=your.device.ip.address PLAYER_PW=yourdeviceserialnumber yarn run put:prod`
**Screenshots**
## Screenshot of running it locally

## Screenshot of running it from brightsign

**BrightSign Device (please complete the following information):**
- FWVersion: '8.5.47',
- bootVersion: '8.0.94',
- Device model: XT1144
Contributor guide
Assessment
This issue has not been assessed yet.