posit-dev / posit-dev/shinylive

webR fails to install packages

Open
#86 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
251
Forks
25
Avg merge
19m
Merged PRs (30d)
2

Description

I've created a shinylive app using shinylive R package. When running it using either httpuv or another local webserver numerous errors abound. Here all of the R packages fail to be installed.
image

Additionally sometimes the service worker cannot be found. Are there additional npm requirements that we should handle after "exporting" the app?
image

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reproducing the exported shinylive R app through httpuv or another local webserver, then inspect the package-installation errors and the missing service worker reported in the issue. Done means the R packages install successfully in the exported app and the service worker is found and runs without additional undocumented npm requirements.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, r, typescript
Domain
build-system, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.