nodeSolidServer / nodeSolidServer/node-solid-server

Unable to execute solid init command

Open
#1,739 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.8k
Forks
308
PR merge metrics
No merged PRs in 30d

Description

I am setting solid on a remote Linux-based server. Whenever I execute solid init command, it generates this error:

const Blob = globalThis.Blob || bufferModule.Blob
             ^

ReferenceError: globalThis is not defined
    at Object.<anonymous> (/home/ranaifwh/node/lib/node_modules/solid-server/node_modules/readable-stream/lib/ours/util.js:5:14)
    at Module._compile (internal/modules/cjs/loader.js:701:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
    at Module.load (internal/modules/cjs/loader.js:600:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
    at Function.Module._load (internal/modules/cjs/loader.js:531:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (/home/ranaifwh/node/lib/node_modules/solid-server/node_modules/readable-stream/lib/stream.js:31:5)
    at Module._compile (internal/modules/cjs/loader.js:701:30)

Anybody can guide?

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

Reproduce solid init on the remote Linux server and inspect the reported dependency file node_modules/readable-stream/lib/ours/util.js. Determine why globalThis is unavailable in the Node.js runtime; done when solid init completes without this ReferenceError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.