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
Reinstalling solved the problem.
I think this happened because the package is not prebuilt.
It's to be automatically built after the installation, and if something wrong happens, it fails to create proper .node file.
I was working on monorepo by pnpm workspace.
I removed every node_modules directories, the one from the root of the monorepo and others each in the leaf packages.
And from the root of the monorepo, I pnpm install again.
This time it starts to work.
Every time you add a new package that depends on @pyroscope/nodejs into monorepo,
you should do this process.
I hope @pyroscope/nodejs depends on prebuilt sub packages, like the way swc does.
Hi!
It seems N-API binding for Apple Silicon is not to be installed.
Error: Cannot find module '/Users/<user>/<path>/<to>/node_modules/.pnpm/pprof@3.2.1/node_modules/pprof/build/node-v115-darwin-arm64-unknown/pprof.node'
Info
The text was updated successfully, but these errors were encountered: