Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running npx cap sync #2

Open
idosius opened this issue Mar 16, 2021 · 2 comments
Open

Error when running npx cap sync #2

idosius opened this issue Mar 16, 2021 · 2 comments

Comments

@idosius
Copy link

idosius commented Mar 16, 2021

The following error shows up when running npx cap sync:

[error] Capacitor could not find the web assets directory "/Users/idosius/IdeaProjects/demo-capacitor-mapbox/www".
    Please create it, and make sure it has an index.html file. You can change
    the path of this directory in capacitor.config.json.
    More info: https://capacitor.ionicframework.com/docs/basics/configuring-your-app

Creating a www/index.html without any content seems to fix the issue.

@bmarcco
Copy link

bmarcco commented Apr 16, 2021

Hi, @idosius Did you solve this issue?
I get the same error as you got.
is there any workaround?
Thanks in advance.

@idosius
Copy link
Author

idosius commented Apr 16, 2021

As mentioned above, creating a www/index.html without any content seems to fix the issue.

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

No branches or pull requests

2 participants