You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the App via npm run dev works fine but when I try to run a build with npm run build it fails with several errors like for all different platforms that are missing their sdk since npm only installs the one for mac in my case:
./node_modules/@infisical/sdk/binding.js
Module not found: Can't resolve './infisical.android-arm64.node' in '/<PATH>/node_modules/@infisical/sdk'
Import trace for requested module:
./node_modules/@infisical/sdk/binding.js
./node_modules/@infisical/sdk/lib/infisical_client/index.js
./node_modules/@infisical/sdk/lib/index.js
./utils/Infisical.js
./app/api/services/funding/route.js
The text was updated successfully, but these errors were encountered:
Hello,
I've created a NextJs App that uses the SDK via npm to retrieve secrets on the server side.
next.config.js:
Infisical.js:
Running the App via
npm run dev
works fine but when I try to run a build withnpm run build
it fails with several errors like for all different platforms that are missing their sdk since npm only installs the one for mac in my case:The text was updated successfully, but these errors were encountered: