-
Notifications
You must be signed in to change notification settings - Fork 147
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Describe the bug
When running npm install on the project, the following dependencies are missing when running the frontend on a non-x86/x64 machine
(such as a MacBook with M1/M2 hardware).
[1] Error: The package "@esbuild/darwin-arm64" could not be found, and is needed by esbuild.
[1]
[1] If you are installing esbuild with npm, make sure that you don't specify the
[1] "--no-optional" or "--omit=optional" flags. The "optionalDependencies" feature
[1] of "package.json" is used by esbuild to install the correct binary executable
[1] for your current platform.
[1] at generateBinPath (/Users/tom/git-proxy/node_modules/esbuild/lib/main.js:1899:15)
[1] at esbuildCommandAndArgs (/Users/tom/git-proxy/node_modules/esbuild/lib/main.js:1969:33)
[1] at ensureServiceIsRunning (/Users/tom/git-proxy/node_modules/esbuild/lib/main.js:2133:25)
[1] at build (/Users/tom/git-proxy/node_modules/esbuild/lib/main.js:2025:26)
[1] at bundleConfigFile (file:///Users/tom/git-proxy/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:66209:26)
[1] at loadConfigFromFile (file:///Users/tom/git-proxy/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:66185:31)
[1] at resolveConfig (file:///Users/tom/git-proxy/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:65782:34)
[1] at _createServer (file:///Users/tom/git-proxy/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:65051:26)
[1] at createServer (file:///Users/tom/git-proxy/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:65048:12)
[1] at CAC.<anonymous> (file:///Users/tom/git-proxy/node_modules/vite/dist/node/cli.js:763:30)
[1] npm run client exited with code 1To Reproduce
Steps to reproduce the behavior:
- Run
npm installwith the finos/git-proxy repo checked out on an non-Intel Mac system.
Expected behavior
The project can be installed on most typical development machines (Windows, Mac, Linux) and hardware (amd64, arm64).
JamieSlome
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers