I am building a PWA and following this tutorial to create a TWA. npm i -g @bubblewrap/cli
runs fine. When I run
bubblewrap init --manifest=http://localhost:8000/static/manifest.webmanifest
or
bubblewrap init --manifest="http://localhost:8000/static/manifest.webmanifest"
or
bubblewrap init --manifest="<http://localhost:8000/static/manifest.webmanifest>"
I get this error:
-bash: bubblewrap: command not found
I have updated npm and bubblewrap based on this post and am still getting the error. My index.html is inside the static
directory.
- node v17.6.0
- npm v8.5.1
- java v17
- jdk v11
Does anyone have advice on why bubblewrap isn't being recognized?
i use
npx bubblewrap init --manifest=https://my-website/manifest.json
in VSC and it worked (windows10)