Open jjangga0214 opened 11 months ago
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.
This issue happens unconditionally. (So re-opening this issue!) Reinstalling does not solve the issue this time.
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.
Info