Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Building your first Solid app" example CodeSandbox not working #756

Open
Shawn-sudo opened this issue Jan 16, 2023 · 4 comments
Open

"Building your first Solid app" example CodeSandbox not working #756

Shawn-sudo opened this issue Jan 16, 2023 · 4 comments

Comments

@Shawn-sudo
Copy link

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

@Shawn-sudo
Copy link
Author

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.

@anuradhawick
Copy link

@Shawn-sudo were you able to fix this? I am having a similar issue. Unable to get the first-app example running.

@Shawn-sudo
Copy link
Author

@anuradhawick No I couldn't. I just gave up implementing it

@anuradhawick
Copy link

@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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants