Skip to content

fix unable to find modules#273

Open
si458 wants to merge 2 commits into
capacitor-community:mainfrom
si458:patch-1
Open

fix unable to find modules#273
si458 wants to merge 2 commits into
capacitor-community:mainfrom
si458:patch-1

Conversation

@si458

@si458 si458 commented Dec 9, 2023

Copy link
Copy Markdown

Fixes #262

you dont need to include the 'package.json' in the require.resolve which solves the
unable to find xyz, are you sure xyz is installed? message

also fixes if you use @types/ dependencies as they cant be included because they dont have any main

@ygarg465

ygarg465 commented Jan 4, 2024

Copy link
Copy Markdown

Yes, these messages are pretty annoying in the development workflow

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

Successfully merging this pull request may close these issues.

npx cap sync @capacitor-community/electron with Ionic7 Vite React or Vue Apps

2 participants