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

Client build error on startup #151

Closed
francisli opened this issue Sep 13, 2023 · 1 comment
Closed

Client build error on startup #151

francisli opened this issue Sep 13, 2023 · 1 comment

Comments

@francisli
Copy link
Collaborator

full-stack-starter-server-1       | 6:57:44 PM client.1 |  Bindings not found.
full-stack-starter-server-1       | 6:57:44 PM client.1 |  6:57:44 PM [vite] Internal server error: Bindings not found.
full-stack-starter-server-1       | 6:57:44 PM client.1 |    Plugin: vite:react-swc
full-stack-starter-server-1       | 6:57:44 PM client.1 |    File: /opt/node/app/client/src/entry-client.jsx
full-stack-starter-server-1       | 6:57:44 PM client.1 |        at Compiler.<anonymous> (/opt/node/app/node_modules/@vitejs/plugin-react-swc/node_modules/@swc/core/index.js:225:19)
full-stack-starter-server-1       | 6:57:44 PM client.1 |        at Generator.next (<anonymous>)
full-stack-starter-server-1       | 6:57:44 PM client.1 |        at /opt/node/app/node_modules/@vitejs/plugin-react-swc/node_modules/@swc/core/index.js:34:71
full-stack-starter-server-1       | 6:57:44 PM client.1 |        at new Promise (<anonymous>)
full-stack-starter-server-1       | 6:57:44 PM client.1 |        at __awaiter (/opt/node/app/node_modules/@vitejs/plugin-react-swc/node_modules/@swc/core/index.js:30:12)
full-stack-starter-server-1       | 6:57:44 PM client.1 |        at Compiler.transform (/opt/node/app/node_modules/@vitejs/plugin-react-swc/node_modules/@swc/core/index.js:202:16)
full-stack-starter-server-1       | 6:57:44 PM client.1 |        at transform (/opt/node/app/node_modules/@vitejs/plugin-react-swc/node_modules/@swc/core/index.js:344:21)
full-stack-starter-server-1       | 6:57:44 PM client.1 |        at transformWithOptions (file:///opt/node/app/node_modules/@vitejs/plugin-react-swc/index.mjs:141:20)
full-stack-starter-server-1       | 6:57:44 PM client.1 |        at TransformContext.transform (file:///opt/node/app/node_modules/@vitejs/plugin-react-swc/index.mjs:66:30)
full-stack-starter-server-1       | 6:57:44 PM client.1 |        at Object.transform (file:///opt/node/app/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:42919:44)
@francisli
Copy link
Collaborator Author

Related to: vitejs/vite-plugin-react-swc#74

package-lock.json is missing swc optional dependencies for x86, resulting in this error when running on Intel x86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant