Open webhype opened 3 months ago
If it wasn't clear from arm64
mentioned above, and /Users/macuser
paths, the test was on Mac OS Ventura 13.6.7 (22G720), on an M2 chip with the arm64 version of NodeJS 20.16.0.
FWIW on Ubuntu 22.04 Jammy and x84_64 architecture, everything works as expected:
$ npm run start
> test-swc@1.0.0 start
> node -r @swc-node/register index.ts
x64 v20.16.0
Any ideas?
maybe you have to specify @swc/core directly in your package.json. The installation of @swc/core should pull the correct bindings for the platform you are invoking npm install on
Hello, having a bit of a challenging out-of-the box experience here...
How to reproduce:
index.ts:
package.json:
Node version:
swc-node version:
1.10.9
(seepackage.json
)Steps to reproduce:
Expectation: That it output something like
arm64 v20.16.0
Reality: