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.

1.0.7 ./sentry_cpu_profiler-darwin-arm64-115.node not found #171

@andylacko

Description

@andylacko

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

SDK Version

1.0.7

Link to Sentry event

No response

What environment is your node script running in?

20.3.1
pnpm

How is your code deployed and bundled?

webpack

Steps to Reproduce

try to run project

Expected Result

work

Actual Result

Error: Cannot find module './sentry_cpu_profiler-darwin-arm64-115.node'
Require stack:

  • /Users/andy/Developer/intellcre/node_modules/.pnpm/@sentry+profiling-node@1.0.7/node_modules/@sentry/profiling-node/lib/index.js
  • /Users/andy/Developer/intellcre/services/api/dist/services/api/src/main.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1072:15)
    at Function.Module._load (node:internal/modules/cjs/loader:925:27)
    at Module.require (node:internal/modules/cjs/loader:1139:19)
    at require (node:internal/modules/helpers:121:18)
    at /Users/andy/Developer/intellcre/node_modules/.pnpm/@sentry+profiling-node@1.0.7/node_modules/@sentry/profiling-node/lib/index.js:16691:57
    at importCppBindingsModule (/Users/andy/Developer/intellcre/node_modules/.pnpm/@sentry+profiling-node@1.0.7/node_modules/@sentry/profiling-node/lib/index.js:16691:14)
    at /Users/andy/Developer/intellcre/node_modules/.pnpm/@sentry+profiling-node@1.0.7/node_modules/@sentry/profiling-node/lib/index.js:16717:32
    ^C/Users/andy/Developer/intellcre/services/api:
     ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  api@0.0.1 start:dev: pnpm run assets:copy && nest start --watch
    Command failed with signal "SIGTERM"
     ELIFECYCLE  Command failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions