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
@capacitor/android: not installed
@capacitor/ios: not installed
@capacitor/cli: 6.2.0
@capacitor/core: 6.2.0
Other API Details
Platforms Affected
iOS
Android
Web
Current Behavior
I created a new Vite React app. Then initialized capacitor cli using npx cap init . Then as described in the documentation I set "bundledWebRuntime": true and ran npx cap sync web. Now it says [warn] The bundledWebRuntime configuration option has been deprecated. Please, use a bundler to bundle Capacitor and its plugins. and it didn't copy the Capacitor runtime bundle (capacitor.js) into my web assets directory.
Expected Behavior
Copy the Capacitor runtime bundle (capacitor.js) into my web assets directory.
As the message indicates, bundledWebRuntime is deprecated and it has been removed in Capacitor 7.
Since you are using vite you don't need that, vite is a bundler.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Capacitor Version
Capacitor Doctor
Latest Dependencies:
@capacitor/cli: 6.2.0
@capacitor/core: 6.2.0
@capacitor/android: 6.2.0
@capacitor/ios: 6.2.0
Installed Dependencies:
@capacitor/android: not installed
@capacitor/ios: not installed
@capacitor/cli: 6.2.0
@capacitor/core: 6.2.0
Other API Details
Platforms Affected
Current Behavior
I created a new Vite React app. Then initialized capacitor cli using
npx cap init
. Then as described in the documentation I set"bundledWebRuntime": true
and rannpx cap sync web
. Now it says[warn] The bundledWebRuntime configuration option has been deprecated. Please, use a bundler to bundle Capacitor and its plugins.
and it didn't copy the Capacitor runtime bundle (capacitor.js) into my web assets directory.Expected Behavior
Copy the Capacitor runtime bundle (capacitor.js) into my web assets directory.
Project Reproduction
https://github.com/pasindu-pr/capacitor-demo
Additional Information
No response
The text was updated successfully, but these errors were encountered: