brightsign / brightsign/node.js-starter-project

How to Handle Other Build Tools

Open
#25 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Brightscript
Stars
24
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Hi,

Currently working to deploy a SvelteKit app to a BrightSign device. SvelteKit is only able to use Vite as a build tool. When building for a NodeJS application, vite generates the following:
```
build/
-- index.js
-- handler.js
-- shims.js
-- env.js
-- client/
-- server/
```

In my first attempt, I tried to start the node server by selecting `index.js` as the entry point, but that didn't work.

With some digging through examples, including this one, I tried to create an index.html that just adds a script tag referencing the `index.js` as the src. This is also not working.

I'm uploading these files via the Content page using a zip of the `build/` directory.

Then I add the content to a presentation, schedule it, and publish it.

When I navigate to the device and take a screenshot all that shows is a black screen and there is one log saying that the `index.js` or `index.html` cannot be found

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.