You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that if I create the required files inside the dist folder of my vue app, the build will fail because it's unable to found the capacitor nodejs module and the dist folder is deleted. Maybe it's better to deploy them inside the public folder of vuejs project?
The text was updated successfully, but these errors were encountered:
Do I understand correctly, your app (I guess it's an android app) builds correctly without the Capacitor-NodeJS plugin, but as soon as you add this plugin to your Vue and Capacitor project the build fails?
If you set the webDir and nodeDir variables correctly in the capacitor configuration file, this plugin should work. Also make sure your build system copies the NodeJS project directory to the output directory. For example by adding cp -r src/nodejs dist/ to the build steps.
If that's not the case, it would be great if you could create a minimal sample project.
I've noticed that if I create the required files inside the
dist
folder of my vue app, the build will fail because it's unable to found the capacitor nodejs module and the dist folder is deleted. Maybe it's better to deploy them inside the public folder of vuejs project?The text was updated successfully, but these errors were encountered: