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
{{ message }}
This repository was archived by the owner on Sep 17, 2024. It is now read-only.
Both on :
github actions
ubuntu-runner:
node version v16.20.2
macos m1
node version v18.18.2
Are you using an alpine based docker image?
Yes (please specify the version)
No (please describe your environment)
Does the failure occur on a remote environment only?
Yes (please describe your environment)
No (please describe your local environment)
Are you using alpine based node docker image. If so, what version are you using? e.g node:16-alpine3.12
No response
If you are using alpine, have you tried using latest version of alpine or (currently alpine3.16 or alpine3.17)?
Yes (please specify the version)"
No, and I cannot upgrade
Have you tried using the latest minor version of node (currently 16.20 or 18.15)?
Yes (please specify the version)
No, and I cannot upgrade
If you run npm install --verbose --foreground-scripts @sentry/profiling-node in an empty directory, what is the output?
> @sentry/profiling-node@1.3.1 install
> node scripts/check-build.mjs
node:internal/errors:496eify:@sentry/profiling-node: info run @sentry/profiling-node@1.3.1 install node_modules/@sentry/profiling-node node scripts/check-build.mjs
ErrorCaptureStackTrace(err);
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'detect-libc' imported from /Users/andreia/test/node_modules/@sentry/profiling-node/scripts/binaries.mjs
at new NodeError (node:internal/errors:405:5)
at packageResolve (node:internal/modules/esm/resolve:890:9)
at moduleResolve (node:internal/modules/esm/resolve:939:20)
at defaultResolve (node:internal/modules/esm/resolve:1132:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:77:40)
at link (node:internal/modules/esm/module_job:76:36) {
code: 'ERR_MODULE_NOT_FOUND'
}
Node.js v18.18.2
npm info run @sentry/profiling-node@1.3.1 install { code: 1, signal: null }
npm verb stack Error: command failed
npm verb stack at ChildProcess.<anonymous> (/Users/andreia/.nvm/versions/node/v18.18.2/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
npm verb stack at ChildProcess.emit (node:events:517:28)
npm verb stack at maybeClose (node:internal/child_process:1098:16)
npm verb stack at ChildProcess._handle.onexit (node:internal/child_process:303:5)
npm verb pkgid @sentry/profiling-node@1.3.1
npm verb cwd /Users/andreia/test
npm verb Darwin 22.6.0
npm verb node v18.18.2
npm verb npm v9.8.1
npm ERR! code 1
npm ERR! path /Users/andreia/test/node_modules/@sentry/profiling-node
npm ERR! command failed
npm ERR! command sh -c node scripts/check-build.mjs
npm verb exit 1
npm verb unfinished npm timer reify 1702456113487
npm verb unfinished npm timer reify:audit 1702456113580
npm verb unfinished npm timer auditReport:getReport 1702456113581
npm verb unfinished npm timer reify:build 1702456113645
npm verb unfinished npm timer build 1702456113645
npm verb unfinished npm timer build:deps 1702456113645
npm verb unfinished npm timer build:run:install 1702456113648
npm verb unfinished npm timer build:run:install:node_modules/@sentry/profiling-node 1702456113648
npm verb code 1
Crash report
> @sentry/profiling-node@1.3.1 install
> node scripts/check-build.mjs
node:internal/errors:496eify:@sentry/profiling-node: info run @sentry/profiling-node@1.3.1 install node_modules/@sentry/profiling-node node scripts/check-build.mjs
ErrorCaptureStackTrace(err);
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'detect-libc' imported from /Users/andreia/test/node_modules/@sentry/profiling-node/scripts/binaries.mjs
at new NodeError (node:internal/errors:405:5)
at packageResolve (node:internal/modules/esm/resolve:890:9)
at moduleResolve (node:internal/modules/esm/resolve:939:20)
at defaultResolve (node:internal/modules/esm/resolve:1132:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:77:40)
at link (node:internal/modules/esm/module_job:76:36) {
code: 'ERR_MODULE_NOT_FOUND'
}
Is there an existing issue for this?
SDK Version
1.3.1
What environment is your node script running in?
Both on :
github actions
ubuntu-runner:
node version v16.20.2
macos m1
node version v18.18.2
Are you using an alpine based docker image?
Does the failure occur on a remote environment only?
Are you using alpine based node docker image. If so, what version are you using? e.g node:16-alpine3.12
No response
If you are using alpine, have you tried using latest version of alpine or (currently alpine3.16 or alpine3.17)?
Have you tried using the latest minor version of node (currently 16.20 or 18.15)?
If you run npm install --verbose --foreground-scripts @sentry/profiling-node in an empty directory, what is the output?
Crash report