ionic-team / ionic-team/demo-capacitor-mapbox

Error when running npx cap sync

Open
#2 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.