solid / solid/solidproject.org

"Building your first Solid app" example CodeSandbox not working

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

Nobody has claimed this yet.

Dominant language
HTML
Stars
183
Forks
152
PR merge metrics
No merged PRs in 30d

Description

Search terms you've used
I searched "CodeSandbox" in this repository issues. There was none

Describe the bug
On this page, the CodeSandbox example for the example app doesn't work with error message: "SyntaxError / Identified 'process' has already been declared" (or "Cannot declare a const variable twice: 'process'." on Safari)

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://solidproject.org/developers/tutorials/first-app
  2. Scroll down a bit, and click "Edit on CodeSandbox"
  3. Wait for like 5 seconds
  4. Boom
  5. Even if I open the page on a new tab as instructed, I see this error. I guess the instruction there isn't related to this issue.

Expected behavior
There should be no error message popping up

Screenshots
Screenshot 2023-01-16 at 4 48 04 PM

Desktop:
(I don't think this error message is linked with a specific platform)

  • OS: macOS 13.1
  • Browser: Brave, Chrome, Safari
  • Version
    • Brave: 1.47.171 Chromium: 109.0.5414.87 (Official Build) (arm64)
    • Chrome: 108.0.5359.124 (Official Build) (arm64)
    • Safari: Version 16.2 (18614.3.7.1.5)

Additional context
Add any other context about the problem here.
I'm new to Solid community

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.

Research direction

Open the “Building your first Solid app” tutorial and follow its “Edit on CodeSandbox” link. Inspect the CodeSandbox project at _posts/developers/apps/inrupt-tutorial/codesandbox/, starting with index.js, and reproduce the duplicate process declaration in the listed browsers. Done means the example opens without that syntax error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.