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
Welcome to the issues section if it's your first time!
Before creating an issue, please be sure to:
Checkout to the latest version, including submodules
Try to find an isolated way to reproduce the behavior
Fill in all the blanks in the most specific way you can
Steps to reproduce
Create project
Deploy to Elastic Beanstalk through Pipeline from Github Repo
Wait for build to finish and be deployed, when it starts to run this happens
Expected behaviour
Run normally. I am developing on an M1 Macbook Air, everything works perfectly well with the prebuilt binaries, when I push the changes, the Pipeline shows that all packages were installed and finished building, but deploying to the instance fails because it can't start due to the below error. I tried rebuilding the binaries myself in the buildspec.yml file by moving argon2 to being a devDependancy on my local machine and then installing it for production using the buildspec.yml and and rebuilding afterwards, also didn't work.
Actual behaviour
Jul 12 08:42:40 ip-172-31-29-47 web: node:internal/modules/cjs/loader:1189
Jul 12 08:42:40 ip-172-31-29-47 web: return process.dlopen(module, path.toNamespacedPath(filename));
Jul 12 08:42:40 ip-172-31-29-47 web: ^
Jul 12 08:42:40 ip-172-31-29-47 web: Error: /var/app/current/node_modules/argon2/lib/binding/napi-v3/argon2.node: cannot open shared object file: No such file or directory
Jul 12 08:42:40 ip-172-31-29-47 web: at Object.Module._extensions..node (node:internal/modules/cjs/loader:1189:18)
Jul 12 08:42:40 ip-172-31-29-47 web: at Module.load (node:internal/modules/cjs/loader:981:32)
Jul 12 08:42:40 ip-172-31-29-47 web: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
Jul 12 08:42:40 ip-172-31-29-47 web: at Module.require (node:internal/modules/cjs/loader:1005:19)
Jul 12 08:42:40 ip-172-31-29-47 web: at require (node:internal/modules/cjs/helpers:102:18)
Jul 12 08:42:40 ip-172-31-29-47 web: at Object. (/var/app/current/node_modules/argon2/argon2.js:6:25)
Jul 12 08:42:40 ip-172-31-29-47 web: at Module._compile (node:internal/modules/cjs/loader:1105:14)
Jul 12 08:42:40 ip-172-31-29-47 web: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
Jul 12 08:42:40 ip-172-31-29-47 web: at Module.load (node:internal/modules/cjs/loader:981:32)
Jul 12 08:42:40 ip-172-31-29-47 web: at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
Jul 12 08:42:40 ip-172-31-29-47 web: code: 'ERR_DLOPEN_FAILED'
Jul 12 08:42:40 ip-172-31-29-47 web: }
Jul 12 08:42:41 ip-172-31-29-47 web: node:internal/modules/cjs/loader:1189
Jul 12 08:42:41 ip-172-31-29-47 web: return process.dlopen(module, path.toNamespacedPath(filename));
Jul 12 08:42:41 ip-172-31-29-47 web: ^
Jul 12 08:42:41 ip-172-31-29-47 web: Error: /var/app/current/node_modules/argon2/lib/binding/napi-v3/argon2.node: cannot open shared object file: No such file or directory
Jul 12 08:42:41 ip-172-31-29-47 web: at Object.Module._extensions..node (node:internal/modules/cjs/loader:1189:18)
Jul 12 08:42:41 ip-172-31-29-47 web: at Module.load (node:internal/modules/cjs/loader:981:32)
Jul 12 08:42:41 ip-172-31-29-47 web: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
Jul 12 08:42:41 ip-172-31-29-47 web: at Module.require (node:internal/modules/cjs/loader:1005:19)
Jul 12 08:42:41 ip-172-31-29-47 web: at require (node:internal/modules/cjs/helpers:102:18)
Jul 12 08:42:41 ip-172-31-29-47 web: at Object. (/var/app/current/node_modules/argon2/argon2.js:6:25)
Jul 12 08:42:41 ip-172-31-29-47 web: at Module._compile (node:internal/modules/cjs/loader:1105:14)
Jul 12 08:42:41 ip-172-31-29-47 web: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
Jul 12 08:42:41 ip-172-31-29-47 web: at Module.load (node:internal/modules/cjs/loader:981:32)
Jul 12 08:42:41 ip-172-31-29-47 web: at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
Jul 12 08:42:41 ip-172-31-29-47 web: code: 'ERR_DLOPEN_FAILED'
Jul 12 08:42:41 ip-172-31-29-47 web: }
Environment
Operating system: 64bit Amazon Linux 2, t4g.medium instance
Node version: 16.15.0 / 8.5.5
Compiler version: gcc (GCC) 7.3.1 20180712 (Red Hat 7.3.1-15)
The text was updated successfully, but these errors were encountered:
Welcome to the issues section if it's your first time!
Before creating an issue, please be sure to:
Steps to reproduce
Expected behaviour
Run normally. I am developing on an M1 Macbook Air, everything works perfectly well with the prebuilt binaries, when I push the changes, the Pipeline shows that all packages were installed and finished building, but deploying to the instance fails because it can't start due to the below error. I tried rebuilding the binaries myself in the buildspec.yml file by moving argon2 to being a devDependancy on my local machine and then installing it for production using the buildspec.yml and and rebuilding afterwards, also didn't work.
Actual behaviour
Jul 12 08:42:40 ip-172-31-29-47 web: node:internal/modules/cjs/loader:1189
Jul 12 08:42:40 ip-172-31-29-47 web: return process.dlopen(module, path.toNamespacedPath(filename));
Jul 12 08:42:40 ip-172-31-29-47 web: ^
Jul 12 08:42:40 ip-172-31-29-47 web: Error: /var/app/current/node_modules/argon2/lib/binding/napi-v3/argon2.node: cannot open shared object file: No such file or directory
Jul 12 08:42:40 ip-172-31-29-47 web: at Object.Module._extensions..node (node:internal/modules/cjs/loader:1189:18)
Jul 12 08:42:40 ip-172-31-29-47 web: at Module.load (node:internal/modules/cjs/loader:981:32)
Jul 12 08:42:40 ip-172-31-29-47 web: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
Jul 12 08:42:40 ip-172-31-29-47 web: at Module.require (node:internal/modules/cjs/loader:1005:19)
Jul 12 08:42:40 ip-172-31-29-47 web: at require (node:internal/modules/cjs/helpers:102:18)
Jul 12 08:42:40 ip-172-31-29-47 web: at Object. (/var/app/current/node_modules/argon2/argon2.js:6:25)
Jul 12 08:42:40 ip-172-31-29-47 web: at Module._compile (node:internal/modules/cjs/loader:1105:14)
Jul 12 08:42:40 ip-172-31-29-47 web: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
Jul 12 08:42:40 ip-172-31-29-47 web: at Module.load (node:internal/modules/cjs/loader:981:32)
Jul 12 08:42:40 ip-172-31-29-47 web: at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
Jul 12 08:42:40 ip-172-31-29-47 web: code: 'ERR_DLOPEN_FAILED'
Jul 12 08:42:40 ip-172-31-29-47 web: }
Jul 12 08:42:41 ip-172-31-29-47 web: node:internal/modules/cjs/loader:1189
Jul 12 08:42:41 ip-172-31-29-47 web: return process.dlopen(module, path.toNamespacedPath(filename));
Jul 12 08:42:41 ip-172-31-29-47 web: ^
Jul 12 08:42:41 ip-172-31-29-47 web: Error: /var/app/current/node_modules/argon2/lib/binding/napi-v3/argon2.node: cannot open shared object file: No such file or directory
Jul 12 08:42:41 ip-172-31-29-47 web: at Object.Module._extensions..node (node:internal/modules/cjs/loader:1189:18)
Jul 12 08:42:41 ip-172-31-29-47 web: at Module.load (node:internal/modules/cjs/loader:981:32)
Jul 12 08:42:41 ip-172-31-29-47 web: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
Jul 12 08:42:41 ip-172-31-29-47 web: at Module.require (node:internal/modules/cjs/loader:1005:19)
Jul 12 08:42:41 ip-172-31-29-47 web: at require (node:internal/modules/cjs/helpers:102:18)
Jul 12 08:42:41 ip-172-31-29-47 web: at Object. (/var/app/current/node_modules/argon2/argon2.js:6:25)
Jul 12 08:42:41 ip-172-31-29-47 web: at Module._compile (node:internal/modules/cjs/loader:1105:14)
Jul 12 08:42:41 ip-172-31-29-47 web: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
Jul 12 08:42:41 ip-172-31-29-47 web: at Module.load (node:internal/modules/cjs/loader:981:32)
Jul 12 08:42:41 ip-172-31-29-47 web: at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
Jul 12 08:42:41 ip-172-31-29-47 web: code: 'ERR_DLOPEN_FAILED'
Jul 12 08:42:41 ip-172-31-29-47 web: }
Environment
Operating system: 64bit Amazon Linux 2, t4g.medium instance
Node version: 16.15.0 / 8.5.5
Compiler version: gcc (GCC) 7.3.1 20180712 (Red Hat 7.3.1-15)
The text was updated successfully, but these errors were encountered: