Open zxqkevin opened 2 months ago
@zxqkevin we're no longer requiring pnpm
, and have gone back to npm
if you'd like to use that package manager instead. I would recommend doing this, just in case there are details that cause the build to fail in pnpm.
However yes, you do have to separately package for each different operating system. There is a script recently written by a contributor to do this: https://github.com/continuedev/continue/blob/main/extensions/vscode/scripts/prepackage-cross-platform.js
Before submitting your bug report
Relevant environment info
Description
If I want to build a Visx for the Mac system, do I have to run pnpm package only on the Mac system? Can the generated files from running pnpm package on Windows be used on Mac as well?
It seems that there is an error on the Mac side:
dlopen(/Users/deng/.vscode/extensions/continue.continue-0.9.159/out/build/Release/node_sqlite3.node, 0x0001): tried: '/Users/deng/.vscode/extensions/continue.continue-0.9.159/out/build/Release/node_sqlite3.node' (not a mach-o file), '/System/Volumes/Preboot/Cryptexes/OS/Users/deng/.vscode/extensions/continue.continue-0.9.159/out/build/Release/node_sqlite3.node' (no such file), '/Users/deng/.vscode/extensions/continue.continue-0.9.159/out/build/Release/node_sqlite3.node' (not a mach-o file)
To reproduce
No response
Log output
No response