Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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? #1587

Open
3 tasks
zxqkevin opened this issue Jun 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@zxqkevin
Copy link

Before submitting your bug report

Relevant environment info

- OS:mac
- Continue:run pnpm package in windows system
- IDE: vscode

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

@zxqkevin zxqkevin added the bug Something isn't working label Jun 27, 2024
@sestinj
Copy link
Contributor

sestinj commented Jun 28, 2024

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants