leafvmaple / vscode-nand2tetris

Language support for Nand2Tetris.
MIT License
10 stars 12 forks source link

Fails to execute commands when the username contains blacks on Windows #7

Open borishim opened 3 years ago

borishim commented 3 years ago

This is the log from the development window console:

abstractExtensionService.ts:717 Activating extension 'leafvmaple.nand2tetris' failed: ENOENT: no such file or directory, open 'c:/Users/Sangwoo" "Shim/.vscode/extensions/leafvmaple.nand2tetris-1.1.1/assets/zip.json'. _logMessageInConsole @ abstractExtensionService.ts:660 _logOrShowMessage @ abstractExtensionService.ts:728 $onExtensionActivationError @ mainThreadExtensionService.ts:57 _doInvokeHandler @ rpcProtocol.ts:396 _invokeHandler @ rpcProtocol.ts:330 _receiveRequest @ rpcProtocol.ts:269 _receiveOneMessage @ rpcProtocol.ts:208 (anonymous) @ rpcProtocol.ts:90 fire @ event.ts:525 fire @ ipc.net.ts:449 _receiveMessage @ ipc.net.ts:785 (anonymous) @ ipc.net.ts:642 fire @ event.ts:525 acceptChunk @ ipc.net.ts:191 (anonymous) @ ipc.net.ts:191 t @ ipc.net.ts:925 emit @ events.js:223 addChunk @ _stream_readable.js:309 readableAddChunk @ _stream_readable.js:290 Readable.push @ _stream_readable.js:224 onStreamRead @ internal/stream_base_commons.js:181 notificationsAlerts.ts:40 Command 'Nand2Tetris: Run Code' resulted in an error (command 'nand2tetris.run' not found)

foxyseta commented 2 years ago

Hi! The PR linked above should fix this (my fork of this project already features this patch in production). Unfortunately, @leafvmaple hasn't committed anything in ages.