Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Unable to install inside AppWrite #119

Open
@troykelly

Description

@troykelly

Is there an existing issue for this?

How do you use Sentry?

Self-hosted/on-premise

SDK Version

0.3.0

Link to Sentry event

No response

What environment is your node script running in?

Running inside AppWrite

How is your code deployed and bundled?

Daployed using AppWrite's deploy

Steps to Reproduce

  1. Add @sentry/profiling-node to package.json
  2. Deploy

Expected Result

Deployment completes, code runs, profiling happiness ensues

Actual Result

Unable to deploy:

Docker Error: npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm notice 
npm notice New major version of npm available! 7.10.0 -> 9.6.2
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.6.2>
npm notice Run `npm install -g [email protected]` to update!
npm notice 
npm ERR! code 1
npm ERR! path /usr/builds/node_modules/@sentry/profiling-node
npm ERR! command failed
npm ERR! command sh -c node scripts/check-build.js
npm ERR! @sentry/profiling-node: Precompiled binary found, attempting to load...
npm ERR! /usr/builds/node_modules/@sentry/profiling-node/scripts/check-build.js:51
npm ERR!   throw e;
npm ERR!   ^
npm ERR! 
npm ERR! Error: Error relocating /usr/builds/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v93-linux-x64-musl.node: _ZSt28__throw_bad_array_new_lengthv: symbol not found
npm ERR!     at Object.Module._extensions..node (node:internal/modules/cjs/loader:1167:18)
npm ERR!     at Module.load (node:internal/modules/cjs/loader:988:32)
npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:828:14)
npm ERR!     at Module.require (node:internal/modules/cjs/loader:1012:19)
npm ERR!     at require (node:internal/modules/cjs/helpers:93:18)
npm ERR!     at Object.<anonymous> (/usr/builds/node_modules/@sentry/profiling-node/scripts/check-build.js:24:3)
npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1108:14)
npm ERR!     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
npm ERR!     at Module.load (node:internal/modules/cjs/loader:988:32)
npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:828:14) {
npm ERR!   code: 'ERR_DLOPEN_FAILED'
npm ERR! }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions