Closed DZakh closed 1 year ago
You're not trying to run in uncurried, right? Did you try cleaning?
Yep.
Can you try to compile the code in the curried
folder https://github.com/DZakh/rescript-relay-curried-repro
It doesn't work for me.
At the same time the uncurried
works fine, even though I didn't pass -uncurried
to ppx.
Hm, I've forked the package, checkouted to 2.x
and built ppx. Than I've added ../../../DZakh-forks/rescript-relay/packages/rescript-relay/rescript-relay-ppx/_build/default/bin/RescriptRelayPpxApp.exe
to the flags and it worked correctly. Hmmm...
Can the ppx be cached on my machine somehow?
Are you on an m1/2?
m1
Then that's probably it. I commit the built binary to the repo for m1 because there's no GitHub runner for arm. So it might be that 2.0.2 has a binary that's not updated.
Could you fix it, please 😅 I'm stuck with updating our project to rescript V11
Out in 2.0.3
, reopen if it doesn't work.
I've forgotten to write back. It works now, thanks
I have the same issue with:
"@rescript/core": "^1.3.0",
"rescript": "^11.1.0",
"rescript-relay": "^2.3.0"
On Ubuntu 22.04.4 LTS (WSL)
If I run install from rescript-relay
dir I got:
Error: ENOENT: no such file or directory, copyfile '/home/user/project/node_modules/rescript-relay/ppx-linux' -> '/home/user/project/node_modules/rescript-relay/ppx'
I'm migrating to ReScript 11 and got the error:
Unfortunately, I couldn't reproduce it in a sandbox, I am still trying... https://codesandbox.io/p/sandbox/rescript-sandbox-forked-6mr964 Maybe you know how it can be fixed?