Monorepo Support
See original GitHub issue> capacitor add android
✔ Installing android dependencies in 1.64s
✔ Adding native android project in: /Users/dan/apps/angular/monorepo/packages/capacitor-app/android in 52.64ms
✔ Syncing Gradle in 1.11s
✔ add in 2.80s
✔ Copying web assets from www to android/app/src/main/assets/public in 274.30ms
[error] Unable to find node_modules/@capacitor/core/native-bridge.js. Are you sure @capacitor/core is installed? This file is required for Capacitor to function
@capacitor/core
should be found via node resolution algorithm
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:8 (2 by maintainers)
Top Results From Across the Web
What is monorepo? (and should you use it?) - Semaphore CI
A monorepo is a version-controlled code repository that holds many projects. While these projects may be related, they are often logically ...
Read more >Monorepo Explained
Gradle Build Tool provides support for parallel tasks via configuration, and task orchestration through its flexible Groovy or Kotlin DSL. natively supported ......
Read more >Monorepos in Git | Atlassian Git Tutorial
A monorepo is a repository that contains more than one logical project. Read here to learn about conceptual challenges, performance issues and more....
Read more >Monorepo Support | Render · Cloud Hosting for Developers
Monorepo Support helps you deploy just the services you need to eliminate unnecessary deploys, control build costs, and ship faster. Monorepo Support offers...
Read more >A Guide to Monorepos for Front-end Code - Toptal
A monorepo or monorepository is a code management and architectural concept whereby you keep all your isolated bits of code inside one super...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I disagree. There is a need for Capacitor to work with monorepos. For example, a company has a long-standing website and are now using Ionic to build an app. The app and the website need to share services, interfaces, etc… and can’t easily do this outside the monorepo option without building and publishing a library on every change of the shared resources.
I created a monorepo by following this guide. It looks good. Only one node_modules folder. Really great. But now I have to bring each app to the mobile device. It’s a monorepo with a bunch of Ionic apps. Each app uses the same dependencies, Cordova plugins and configs. I have no exp with Capacitor yet. But also no idea how to integrate Cordova or Capacitor in that Ionic monorepo. Is Ionic not oriented for mobile apps? So, monorepos should be supported.