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
In my tests to check if GraalVM is compatible with my NodeJS apps, I was getting an error when a method is called static (not a static method!):
<function>:2
static(as) {
^
SyntaxError: Expected ident but found (
at Module._compile (internal/modules/cjs/loader.js:872:18)
at Module.m._compile (/home/frieck/workspaces/ws-nodejs/graalvm-test/node_modules/ts-node/src/index.ts:536:23)
at internal/modules/cjs/loader.js:947:10
at Object..ts (/home/frieck/workspaces/ws-nodejs/graalvm-test/node_modules/ts-node/src/index.ts:539:12)
at Module.load (internal/modules/cjs/loader.js:790:32)
at Function.Module._load (internal/modules/cjs/loader.js:703:12)
at Function.Module.runMain (internal/modules/cjs/loader.js:999:10)
at main (/home/frieck/workspaces/ws-nodejs/graalvm-test/node_modules/ts-node/src/bin.ts:212:14)
at Object.<anonymous> (/home/frieck/workspaces/ws-nodejs/graalvm-test/node_modules/ts-node/src/bin.ts:470:3)
at Module._compile (internal/modules/cjs/loader.js:936:30)
I've created a repository to simulate it: graalvm-test
The same test runs flawlessly when using standard NodeJS.
Can you guys help me with this issue?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
In my tests to check if GraalVM is compatible with my NodeJS apps, I was getting an error when a method is called static (not a static method!):
I've created a repository to simulate it: graalvm-test
The same test runs flawlessly when using standard NodeJS.
Can you guys help me with this issue?
Thanks in advance!
The text was updated successfully, but these errors were encountered: