brightsign/dev-cookbook

Error when trying to run the example

Open

#22 opened on May 10, 2024

 (4 comments) (0 reactions) (0 assignees)JavaScript (6 forks)auto 404
buggood first issue

Repository metrics

Stars
 (21 stars)
PR merge metrics
 (PR metrics pending)

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

Screenshot of running it from brightsign

image

BrightSign Device (please complete the following information):

  • FWVersion: '8.5.47',
  • bootVersion: '8.0.94',
  • Device model: XT1144

Contributor guide