loading...

re: How to insert an Expo project in a Monorepo VIEW POST

TOP OF THREAD FULL DISCUSSION
re: AlbertGao@Albert-LottoNZ-Laptop monorepo % pwd /Users/AlbertGao/codes/teamingCloud/workspace/monorepo AlbertGao@Albert-LottoNZ-Laptop monorepo % ya...
 

As the error says, are you in a workspace?

// /Users/AlbertGao/codes/teamingCloud/workspace/monorepo/package.json

{
  "name": "monorepo",
   // ...
  "workspaces": {
    "packages": [
      "packages/*"
    ]
  },
 

Thanks! I wondered why there is no such creating step in the blog, then I thought yarn might magic figure it out, haha was wrong.

I ended up following the official yarn doc to create a workspace, and make sure it is working, then I followed the 2nd part of this blog to add the expo support, all good now!

Thanks! :)

Thank you! I'll edit this post and write a link how to config an monorepo.

Code of Conduct Report abuse