Skip to content
New issue

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

__tests_helpers__ must be listed as "type": "dev" in sources propety of bsconfig.json #237

Closed
entyo opened this issue Mar 30, 2021 · 1 comment

Comments

@entyo
Copy link

entyo commented Mar 30, 2021

What I have confirmed

  1. Created a initial ReasonReact project by bsb -init my-react-app -theme react-hooks
  2. Installed "bs-css-emotion": "2.5.0"
  3. Listed up bs-css and bs-css-emotion on "bs-dependencies" property of bsconfig.json
  4. Exited yarn and then yarn bsb -make-world

Got:

Dependency on reason-react
Dependency on bs-css
Error: /home/..../node_modules/bs-css/__tests_helpers__: No such file or directory

When I change node_modules/bs-css/bsconfig.json like this:

{
  "dir": "__tests_helpers__",
  "type": "dev"
}

I can make yarn bsb -make-world work well.

giraud added a commit that referenced this issue Mar 30, 2021
@giraud
Copy link
Owner

giraud commented Mar 30, 2021

oops, sorry, didn't think of that. fixed in bs-css@14.0.1 and bs-css-emotion@2.5.1

@giraud giraud closed this as completed Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants