Microsoft/vscode

[Mac OSX 11.5] Cannot launch code after build from source on a case sensitive partition

Open

#129.665 aperta il 28 lug 2021

Vedi su GitHub
 (5 commenti) (1 reazione) (1 assegnatario)TypeScript (10.221 fork)batch import
buggood first issuemacos

Metriche repository

Star
 (74.848 star)
Metriche merge PR
 (Merge medio 11h 43m) (1000 PR mergiate in 30 g)

Descrizione

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: origin/main -> 762f213a29109d70e89b54d4232de97f51f8187c
  • OS Version: MacOS 11.5

Steps to Reproduce:

  1. Create a disk image and format as case sensitive APFS
  2. git clone the main branch of vscode on new case sensitive volume
  3. Build and run code with ./scripts/code.sh
  4. Observer below log

Log: `$ ./scripts/code.sh yarn run v1.22.10 $ node build/lib/electron node:events:371 throw er; // Unhandled 'error' event ^

Error: File not found with singular glob: /Volumes/Data/code/vscode/resources/darwin/Bower.icns (if this was purposeful, use allowEmpty option) at Glob. (/Volumes/Data/code/vscode/node_modules/glob-stream/readable.js:84:17) at Object.onceWrapper (node:events:514:26) at Glob.emit (node:events:394:28) at Glob._finish (/Volumes/Data/code/vscode/node_modules/glob-stream/node_modules/glob/glob.js:197:8) at done (/Volumes/Data/code/vscode/node_modules/glob-stream/node_modules/glob/glob.js:182:14) at Glob._processSimple2 (/Volumes/Data/code/vscode/node_modules/glob-stream/node_modules/glob/glob.js:688:12) at /Volumes/Data/code/vscode/node_modules/glob-stream/node_modules/glob/glob.js:676:10 at Glob.stat2 (/Volumes/Data/code/vscode/node_modules/glob-stream/node_modules/glob/glob.js:772:12) at lstatcb (/Volumes/Data/code/vscode/node_modules/glob-stream/node_modules/glob/glob.js:764:12) at RES (/Volumes/Data/code/vscode/node_modules/inflight/inflight.js:31:16) Emitted 'error' event on DestroyableTransform instance at: at Pumpify.emit (node:events:394:28) at Pumpify.Duplexify._destroy (/Volumes/Data/code/vscode/node_modules/duplexify/index.js:191:15) at /Volumes/Data/code/vscode/node_modules/duplexify/index.js:182:10 at processTicksAndRejections (node:internal/process/task_queues:78:11) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.`

Guida contributor