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
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
yarn installnpx create-react-app bs-app --template file:./dev-cookbook/cra-template-brightsign-appcd bs-app yarn && yarn startPLAYER=your.device.ip.address PLAYER_PW=yourdeviceserialnumber yarn run put:prodScreenshots
Screenshot of running it locally
Screenshot of running it from brightsign
BrightSign Device (please complete the following information):