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
This is a super-cool project, thanks for having instructions for setting up the bucklescript bundle, it's super-helpful.
I tried following the "hardcore" build instructions and got stuck pretty quickly when trying to run setupSomeArtifacts.js. I know I'm supposed to see an error, but I don't think it's the error I'm expected to see and recover from. Happy to hear if I'm missing something obvious.
On a clean checkout, I run:
cd website
yarn
yarn prepare
which succeed, then I run
$ node setupSomeArtifacts.js
1. Copying refmt.js
2. Copying jsoo_reactjs_jsx_ppx_v2.js
fs.js:1919
binding.copyFile(src, dest, flags);
^
Error: ENOENT: no such file or directory, copyfile '/Users/joe/src/reasonml.github.io/website/playground/bs/jsoo_reactjs_jsx_ppx_v2.js' -> '/Users/joe/src/reasonml.github.io/website/static/js/jsoo_reactjs_jsx_ppx_v2.js'
at Object.fs.copyFileSync (fs.js:1919:11)
at Object.<anonymous> (/Users/joe/src/reasonml.github.io/website/setupSomeArtifacts.js:26:4)
at Module._compile (module.js:624:30)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
at Function.Module.runMain (module.js:665:10)
at startup (bootstrap_node.js:201:16)
at bootstrap_node.js:626:3
), it tries to copy website/playground/bs/jsoo_reactjs_jsx_ppx_v2.js, but this file was deleted in this commit: 74604cf
It seems like maybe that was moved to be in static/ directly? If I comment things out to push past that, I see similar issues where there is no file named exports.js either:
That I can't find anywhere in the repo, so I'm confused. I feel like I may be missing a step that gets these to files into bs/ somehow, but I'm not sure what it is.
Thanks!
The text was updated successfully, but these errors were encountered:
This is a super-cool project, thanks for having instructions for setting up the bucklescript bundle, it's super-helpful.
I tried following the "hardcore" build instructions and got stuck pretty quickly when trying to run
setupSomeArtifacts.js
. I know I'm supposed to see an error, but I don't think it's the error I'm expected to see and recover from. Happy to hear if I'm missing something obvious.On a clean checkout, I run:
which succeed, then I run
In setupSomeArtifacts (
reasonml.github.io/website/setupSomeArtifacts.js
Line 24 in 28dd1a2
website/playground/bs/jsoo_reactjs_jsx_ppx_v2.js
, but this file was deleted in this commit: 74604cfIt seems like maybe that was moved to be in
static/
directly? If I comment things out to push past that, I see similar issues where there is no file namedexports.js
either:reasonml.github.io/website/setupSomeArtifacts.js
Line 191 in 28dd1a2
That I can't find anywhere in the repo, so I'm confused. I feel like I may be missing a step that gets these to files into
bs/
somehow, but I'm not sure what it is.Thanks!
The text was updated successfully, but these errors were encountered: