Microsoft/vscode

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

開放

#129,665 建立於 2021年7月28日

 (5 則留言) (1 個反應) (1 位負責人)TypeScript (39,847 個分叉)batch import
buggood first issuemacos

倉庫指標

星標
 (184,936 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.`

貢獻者指南