Closed ElementQi closed 1 year ago
I think it is the _site folder that cannot be created successfully to blame. Because in the docs folders, there are some template html files like index.html and list.html. Are some codes messing in the /docs/webpack.config.js? Especially in plugins under that file.
It seems you found a mistake in the docs: https://github.com/allartk/leaflet.offline#development For running the example website locally (like the one your see on https://allartk.github.io/leaflet.offline/) it should be (from the docs folder):
npm install && npm start
Beside webpack, this will also start a docker container for building the jekyll website
I'm a beginner in javascript, node.js etc.
In
Ubuntu 18.04
, withnodejs v16.20.2
andnpm 8.19.4
, I finished building from cloning the latest version of the project.After using
I use Chrome to open
http://localhost:9000/
orhttp://192.168.3.70:9000/
, getCannot GET /
in the explorer.Opening
http://localhost:9000/index.html
getCannot GET /index.html
in the explorer.The same thing happened in my windows 10 as well.