brightsign / brightsign/dev-cookbook

Error when trying to run the example

Open
#22 4 comments 0 reactions 0 assignees View on GitHub
bug good first issue
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
![image](https://github.com/brightsign/dev-cookbook/assets/105317926/bfb73300-ae75-4580-b95b-9fe10f6dd8d0)
## Screenshot of running it from brightsign
![image](https://github.com/brightsign/dev-cookbook/assets/105317926/965d5a78-b670-4cb2-8506-5d17f7a4b72e)

**BrightSign Device (please complete the following information):**
- FWVersion: '8.5.47',
- bootVersion: '8.0.94',
- Device model: XT1144

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.