codesandbox / codesandbox/codesandbox-client

Does it not work on Windows?

Open
#8,750 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

I have followed the steps in the contribution guide

https://github.com/codesandbox/codesandbox-client/blob/master/CONTRIBUTING.md#setting-up-the-project-locally

git clone https://github.com/codesandbox/codesandbox-client.git

cd codesandbox-client

yarn install

node version: v16.20.2
npm version:8.9.14
yarn version: 1.22.22

I just want to try hosting the bundle locally based on the documentation

Image

Since I don't have any other machines, I'm not sure if this error will occur on other machines. How can I solve it?

Thank you very much to the enthusiastic people

[5/6] Building fresh packages...
[1/15] ⠠ postinstall-postinstall
[-/15] ⠠ waiting...
[-/15] ⠠ waiting...
[-/15] ⠠ waiting...
error C:\Users\Administrator\Desktop\codesandbox-client\node_modules\postinstall-postinstall: Command failed.
Exit code: 1
Command: node ./run.js
Arguments: 
Directory: C:\Users\Administrator\Desktop\codesandbox-client\node_modules\postinstall-postinstall
Output:
lerna notice cli v6.6.2
lerna info versioning independent
lerna WARN EWORKSPACES Workspaces exist in the root package.json, but Lerna is not configured to use them.
lerna WARN EWORKSPACES To fix this and have Lerna use workspaces to resolve packages, set `useWorkspaces: true` in lerna.json. 
lerna info Executing command in 4 packages: "npm run install-dependencies"
sse-loading-screen: warning "@codesandbox/common > @babel/plugin-transform-flow-strip-types@7.22.5" has unmet peer dependency "@babel/core@^7.0.0-0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components@0.0.7" has unmet peer dependency "react-dom@^16.9.0".
sse-loading-screen: warning "@codesandbox/common > @tippy.js/react@3.1.1" has unmet peer dependency "react-dom@>=16.8".        
sse-loading-screen: warning "@codesandbox/common > react-icons@2.2.7" has unmet peer dependency "react-dom@^0.14.0 || ^15.0.0 || ^16.0.0".
sse-loading-screen: warning "@codesandbox/common > react-spring@8.0.27" has unmet peer dependency "react-dom@>= 16.8.0".       
sse-loading-screen: warning "@codesandbox/common > styled-components@5.3.11" has unmet peer dependency "react-dom@>= 16.8.0".  
sse-loading-screen: warning "@codesandbox/common > styled-components@5.3.11" has unmet peer dependency "react-is@>= 16.8.0".   
sse-loading-screen: warning "@codesandbox/common > @babel/plugin-transform-flow-strip-types > @babel/plugin-syntax-flow@7.22.5" has unmet peer dependency "@babel/core@^7.0.0-0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/auto-id@0.10.3" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/menu-button@0.10.3" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/skip-nav@0.10.5" has unmet peer dependency 
"react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/tooltip@0.12.1" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/visually-hidden@0.10.2" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/notifications > styled-components@4.4.1" has unmet peer dependency "react-dom@>= 16.3.0".
sse-loading-screen: warning "@codesandbox/common > react-icons > react-icon-base@2.1.0" has unmet peer dependency "react-dom@*".
sse-loading-screen: warning "@codesandbox/common > react-icons > react-icon-base@2.1.0" has unmet peer dependency "prop-types@*".
sse-loading-screen: warning "@codesandbox/common > react-scrollbars-custom > react-draggable@4.4.6" has unmet peer dependency "react-dom@>= 16.3.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/auto-id > @reach/utils@0.10.5" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/menu-button > @reach/auto-id@0.10.5" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/menu-button > @reach/descendants@0.10.5" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/menu-button > @reach/popover@0.10.5" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/tooltip > @reach/auto-id@0.12.1" has unmet 
peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/tooltip > @reach/portal@0.12.1" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/tooltip > @reach/rect@0.12.1" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/tooltip > @reach/utils@0.12.1" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/tooltip > @reach/visually-hidden@0.12.0" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > styled-components > babel-plugin-styled-components > @babel/plugin-syntax-jsx@7.22.5" has unmet peer dependency "@babel/core@^7.0.0-0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/menu-button > @reach/popover > @reach/portal@0.10.5" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/menu-button > @reach/popover > @reach/rect@0.10.5" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "preact-emotion > create-emotion-styled@9.2.8" has unmet peer dependency "prop-types@15.x".        
vscode-extensions: 'rm' �����ڲ����ⲿ���Ҳ���ǿ����еij���
vscode-extensions: �����������
vscode-extensions: error Command failed with exit code 1.
lerna ERR! npm run install-dependencies exited 1 in 'vscode-extensions'
lerna WARN complete Waiting for 1 child process to exit. CTRL-C to exit immediately.
error Command failed with exit code 1.
error Command failed with exit code 1.
node:child_process:935
    throw err;
    ^

Error: Command failed: yarn run postinstall
lerna notice cli v6.6.2
lerna info versioning independent
lerna WARN EWORKSPACES Workspaces exist in the root package.json, but Lerna is not configured to use them.
lerna WARN EWORKSPACES To fix this and have Lerna use workspaces to resolve packages, set `useWorkspaces: true` in lerna.json. 
lerna info Executing command in 4 packages: "npm run install-dependencies"
sse-loading-screen: warning "@codesandbox/common > @babel/plugin-transform-flow-strip-types@7.22.5" has unmet peer dependency "@babel/core@^7.0.0-0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components@0.0.7" has unmet peer dependency "react-dom@^16.9.0".
sse-loading-screen: warning "@codesandbox/common > @tippy.js/react@3.1.1" has unmet peer dependency "react-dom@>=16.8".        
sse-loading-screen: warning "@codesandbox/common > react-icons@2.2.7" has unmet peer dependency "react-dom@^0.14.0 || ^15.0.0 || ^16.0.0".
sse-loading-screen: warning "@codesandbox/common > react-spring@8.0.27" has unmet peer dependency "react-dom@>= 16.8.0".       
sse-loading-screen: warning "@codesandbox/common > styled-components@5.3.11" has unmet peer dependency "react-dom@>= 16.8.0".  
sse-loading-screen: warning "@codesandbox/common > styled-components@5.3.11" has unmet peer dependency "react-is@>= 16.8.0".   
sse-loading-screen: warning "@codesandbox/common > @babel/plugin-transform-flow-strip-types > @babel/plugin-syntax-flow@7.22.5" has unmet peer dependency "@babel/core@^7.0.0-0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/auto-id@0.10.3" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/menu-button@0.10.3" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/skip-nav@0.10.5" has unmet peer dependency 
"react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/tooltip@0.12.1" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/visually-hidden@0.10.2" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/notifications > styled-components@4.4.1" has unmet peer dependency "react-dom@>= 16.3.0".
sse-loading-screen: warning "@codesandbox/common > react-icons > react-icon-base@2.1.0" has unmet peer dependency "react-dom@*".
sse-loading-screen: warning "@codesandbox/common > react-icons > react-icon-base@2.1.0" has unmet peer dependency "prop-types@*".
sse-loading-screen: warning "@codesandbox/common > react-scrollbars-custom > react-draggable@4.4.6" has unmet peer dependency "react-dom@>= 16.3.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/auto-id > @reach/utils@0.10.5" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/menu-button > @reach/auto-id@0.10.5" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/menu-button > @reach/descendants@0.10.5" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/menu-button > @reach/popover@0.10.5" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/tooltip > @reach/auto-id@0.12.1" has unmet 
peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/tooltip > @reach/portal@0.12.1" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/tooltip > @reach/rect@0.12.1" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/tooltip > @reach/utils@0.12.1" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/tooltip > @reach/visually-hidden@0.12.0" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > styled-components > babel-plugin-styled-components > @babel/plugin-syntax-jsx@7.22.5" has unmet peer dependency "@babel/core@^7.0.0-0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/menu-button > @reach/popover > @reach/portal@0.10.5" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "@codesandbox/common > @codesandbox/components > @reach/menu-button > @reach/popover > @reach/rect@0.10.5" has unmet peer dependency "react-dom@^16.8.0".
sse-loading-screen: warning "preact-emotion > create-emotion-styled@9.2.8" has unmet peer dependency "prop-types@15.x".        
vscode-extensions: 'rm' �����ڲ����ⲿ���Ҳ���ǿ����еij���
vscode-extensions: �����������
vscode-extensions: error Command failed with exit code 1.
lerna ERR! npm run install-dependencies exited 1 in 'vscode-extensions'
lerna WARN complete Waiting for 1 child process to exit. CTRL-C to exit immediately.
error Command failed with exit code 1.
error Command failed with exit code 1.

    at checkExecSyncError (node:child_process:861:11)
    at execSync (node:child_process:932:15)
    at Object.<anonymous> (C:\Users\Administrator\Desktop\codesandbox-client\node_modules\postinstall-postinstall\run.js:15:5) 
    at Module._compile (node:internal/modules/cjs/loader:1198:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:22:47 {
  status: 1,
  signal: null,
  output: [
    null,
    Buffer(1487) [Uint8Array] [
      121,  97, 114, 110,  32, 114, 117, 110,  32, 118,  49,  46,
       50,  50,  46,  50,  50,  10,  36,  32, 121,  97, 114, 110,
       32, 108, 101, 114, 110,  97,  32, 114, 117, 110,  32, 105,
      110, 115, 116,  97, 108, 108,  45, 100, 101, 112, 101, 110,
      100, 101, 110,  99, 105, 101, 115,  32,  45,  45, 115, 116,
      114, 101,  97, 109,  32,  45,  45,  99, 111, 110,  99, 117,
      114, 114, 101, 110,  99, 121,  32,  49,  32,  38,  38,  32,
       99, 100,  32, 112,  97,  99, 107,  97, 103, 101, 115,  47,
       97, 112, 112,  47,
      ... 1387 more items
    ],
    Buffer(5388) [Uint8Array] [
      108, 101, 114, 110,  97,  32, 110, 111, 116, 105,  99, 101,
       32,  99, 108, 105,  32, 118,  54,  46,  54,  46,  50,  10,
      108, 101, 114, 110,  97,  32, 105, 110, 102, 111,  32, 118,
      101, 114, 115, 105, 111, 110, 105, 110, 103,  32, 105, 110,
      100, 101, 112, 101, 110, 100, 101, 110, 116,  10, 108, 101,
      114, 110,  97,  32,  87,  65,  82,  78,  32,  69,  87,  79,
       82,  75,  83,  80,  65,  67,  69,  83,  32,  87, 111, 114,
      107, 115, 112,  97,  99, 101, 115,  32, 101, 120, 105, 115,
      116,  32, 105, 110,
      ... 5288 more items
    ]
  ],
  pid: 10104,
  stdout: Buffer(1487) [Uint8Array] [
    121,  97, 114, 110,  32, 114, 117, 110,  32, 118,  49,  46,
     50,  50,  46,  50,  50,  10,  36,  32, 121,  97, 114, 110,
     32, 108, 101, 114, 110,  97,  32, 114, 117, 110,  32, 105,
    110, 115, 116,  97, 108, 108,  45, 100, 101, 112, 101, 110,
    100, 101, 110,  99, 105, 101, 115,  32,  45,  45, 115, 116,
    114, 101,  97, 109,  32,  45,  45,  99, 111, 110,  99, 117,
    114, 114, 101, 110,  99, 121,  32,  49,  32,  38,  38,  32,
     99, 100,  32, 112,  97,  99, 107,  97, 103, 101, 115,  47,
    110, 115, 116,  97, 108, 108,  45, 100, 101, 112, 101, 110,
    100, 101, 110,  99, 105, 101, 115,  32,  45,  45, 115, 116,
    114, 101,  97, 109,  32,  45,  45,  99, 111, 110,  99, 117,
    114, 114, 101, 110,  99, 121,  32,  49,  32,  38,  38,  32,
     99, 100,  32, 112,  97,  99, 107,  97, 103, 101, 115,  47,
    100, 101, 110,  99, 105, 101, 115,  32,  45,  45, 115, 116,
    114, 101,  97, 109,  32,  45,  45,  99, 111, 110,  99, 117,
    114, 114, 101, 110,  99, 121,  32,  49,  32,  38,  38,  32,
     99, 100,  32, 112,  97,  99, 107,  97, 103, 101, 115,  47,
    114, 114, 101, 110,  99, 121,  32,  49,  32,  38,  38,  32,
     99, 100,  32, 112,  97,  99, 107,  97, 103, 101, 115,  47,
     99, 100,  32, 112,  97,  99, 107,  97, 103, 101, 115,  47,
     97, 112, 112,  47,
    ... 1387 more items
     97, 112, 112,  47,
    ... 1387 more items
    ... 1387 more items
  ],
  stderr: Buffer(5388) [Uint8Array] [
    108, 101, 114, 110,  97,  32, 110, 111, 116, 105,  99, 101,
     32,  99, 108, 105,  32, 118,  54,  46,  54,  46,  50,  10,
    108, 101, 114, 110,  97,  32, 105, 110, 102, 111,  32, 118,
    101, 114, 115, 105, 111, 110, 105, 110, 103,  32, 105, 110,
    100, 101, 112, 101, 110, 100, 101, 110, 116,  10, 108, 101,
    114, 110,  97,  32,  87,  65,  82,  78,  32,  69,  87,  79,
     82,  75,  83,  80,  65,  67,  69,  83,  32,  87, 111, 114,
    107, 115, 112,  97,  99, 101, 115,  32, 101, 120, 105, 115,
  ],
  stderr: Buffer(5388) [Uint8Array] [
    108, 101, 114, 110,  97,  32, 110, 111, 116, 105,  99, 101,
     32,  99, 108, 105,  32, 118,  54,  46,  54,  46,  50,  10,
    108, 101, 114, 110,  97,  32, 105, 110, 102, 111,  32, 118,
    101, 114, 115, 105, 111, 110, 105, 110, 103,  32, 105, 110,
    100, 101, 112, 101, 110, 100, 101, 110, 116,  10, 108, 101,
    114, 110,  97,  32,  87,  65,  82,  78,  32,  69,  87,  79,
     82,  75,  83,  80,  65,  67,  69,  83,  32,  87, 111, 114,
    107, 115, 112,  97,  99, 101, 115,  32, 101, 120, 105, 115,
    116,  32, 105, 110,

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

Start with the setup steps in CONTRIBUTING.md and reproduce the failure using the reported Node, npm, and Yarn versions on Windows. Trace the vscode-extensions install-dependencies command, especially its failing rm invocation; done means yarn install completes successfully on Windows and the local bundler setup can proceed.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.