solidproject.org
solidproject.org copied to clipboard
"Building your first Solid app" example CodeSandbox not working
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:
- Go to https://solidproject.org/developers/tutorials/first-app
- Scroll down a bit, and click "Edit on CodeSandbox"
- Wait for like 5 seconds
- Boom
- 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

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)
- Brave:
Additional context Add any other context about the problem here. I'm new to Solid community
I tried to fix it, but I couldn't find any variable names "process" in the CodeSandbox source code. I'm suspecting that it may be a typing error in the npm Solid package, but not sure.
@Shawn-sudo were you able to fix this? I am having a similar issue. Unable to get the first-app example running.
@anuradhawick No I couldn't. I just gave up implementing it
@Shawn-sudo After much struggle I found the example at Inrupt to be functional.
https://docs.inrupt.com/developer-tools/javascript/client-libraries/tutorial/getting-started/