Open PeterWone opened 8 months ago
I cloned this repo and followed the build instructions on Ubuntu without any reported exceptions (yes I built the tree-sitter first) but now it's borked on my ubuntu system and of course I wasn't smart enough to do this in a container. Now trying to use it produces
Error: bad export type for `tree_sitter_tsx_external_scanner_create`: undefined
at reportUndefinedSymbols (/home/peter/.npm/_npx/68546583dcb2c24b/node_modules/web-tree-sitter/tree-sitter.js:1:19748)
at postInstantiation (/home/peter/.npm/_npx/68546583dcb2c24b/node_modules/web-tree-sitter/tree-sitter.js:1:17027)
at /home/peter/.npm/_npx/68546583dcb2c24b/node_modules/web-tree-sitter/tree-sitter.js:1:17752
at async /home/peter/.npm/_npx/68546583dcb2c24b/node_modules/@vscode/l10n-dev/dist/cli.js:343:10
at async /home/peter/.npm/_npx/68546583dcb2c24b/node_modules/@vscode/l10n-dev/dist/cli.js:332:22
which is probably my fault but it's been a long day so I give up.
Might be environmental (env vars), switched github workflow to use windows and same thing
OK embarrassing. westus
region should have been westus2
. The error could be more helpful if you can detect rejected credentials.
But building it has borked things for me on Ubuntu, any advice on cleaning that up?
What version of Node are you using? I think you wanna make sure to have Node 18
node v20.11.1 npm 10.2.4
should I take it back to 18?
Yeah, the Node20 bug is: https://github.com/microsoft/vscode-l10n/issues/114
All of these commands work fine on Windows
On Ubuntu they report this
At first I thought it was a wrong path or permissions or something in the GitHub workflow I was changing but I can reproduce this interactively on Ubuntu (yay remote workspaces!) which is how I discovered it also occurs when you don't specify target languages and default to the core 10.
This works fine on Ubuntu