ionic-team / capacitor-docs

https://capacitorjs.com/docs
Apache License 2.0
20 stars 196 forks source link

Must build web code before syncing #264

Open hborders opened 5 months ago

hborders commented 5 months ago

I tried following the instructions, and I got the following error:

[error] Could not find the web assets directory: ./dist.
        Please create it and make sure it has an index.html file. You can change the path of this directory in
        capacitor.config.json (webDir option). You may need to compile the web assets for your app (typically npm run
        build). More info: https://capacitorjs.com/docs/basics/workflow#sync-your-project

The error message says to use npm run build, so the instructions should suggest that.

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
capacitor-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 26, 2024 10:42pm