We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello there,
I encountered a (not very helpful) error when trying to compile a project with a bsconfig.json that has a name with a whitespace i.e. "name": "My rescript project". As requested on the forum https://forum.rescript-lang.org/t/error-can-not-handle-multiple-files/1368 I am posting the issue here.
bsconfig.json
"name": "My rescript project"
Thank you for your time and efforts 😄
OS
Windows (using bash)
Problem
When trying to compile a project with a bsconfig.json that has a whitespace in the name, I am getting the following error:
$ bsb -make-world -clean-world -w Cleaning... 54 files. Cleaning... 5 files. Dependency on @rescript/react bsb: [38/38] src/legacy/ReactDOMRe.cmj bsb: [49/49] install.stamp Dependency Finished >>>> Start compiling bsb: [3/3] pages/index.cmj FAILED: pages/index.cmj can not handle multiple files FAILED: cannot make progress due to previous errors. >>>> Finish compiling(exit: 1)
How to reproduce
Change name in bsconfig.jsonfrom:
{ "name": "Rescript next.js-app" }
Run:
bsb -make-world -clean-world -w
Behold the error
Change the name to something without whitespaces bsconfig.json:
{ "name": "rescript-nextjs-app" }
And the error disappears.
Reference
https://forum.rescript-lang.org/t/error-can-not-handle-multiple-files/1368/8?u=doctorgoat
Thank you for filing! Check list:
The text was updated successfully, but these errors were encountered:
ffcad47
Merge pull request #5088 from rescript-lang/fix_5087
4543b66
fix #5087
fix rescript-lang#5087
a06036a
No branches or pull requests
Hello there,
I encountered a (not very helpful) error when trying to compile a project with a
bsconfig.json
that has a name with a whitespace i.e."name": "My rescript project"
. As requested on the forum https://forum.rescript-lang.org/t/error-can-not-handle-multiple-files/1368 I am posting the issue here.Thank you for your time and efforts 😄
OS
Windows (using bash)
Problem
When trying to compile a project with a bsconfig.json that has a whitespace in the name, I am getting the following error:
How to reproduce
Change name in
bsconfig.json
from:Run:
Behold the error
Change the name to something without whitespaces
bsconfig.json
:And the error disappears.
Reference
https://forum.rescript-lang.org/t/error-can-not-handle-multiple-files/1368/8?u=doctorgoat
Thank you for filing! Check list:
The text was updated successfully, but these errors were encountered: