Production build does not work in template

Open
#28 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
react, typescript

Research direction

Start in templates/app-template by running the reported npx degit, install, build, and preview commands, then compare the production preview with npm run dev. Investigate why the production preview shows a blank page instead of loading the Canvas; done means the built template renders the Canvas successfully with npm run preview.

Written by the indexing model from the issue text.

Description

Reproduction steps

npx degit plexinc/react-lightning/templates/app-template my-lightning-app
npm install
npm run build
npm run preview

The production preview is just a blank white page and does not load the Canvas ever.

Note: npm run dev works though.

Dominant language
TypeScript
Stars
18
Forks
5
Avg merge
1d 11h
Merged PRs (30d)
5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from plexinc/react-lightning

All issues in plexinc/react-lightning

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.