minecraft-chunk-viewer
minecraft-chunk-viewer copied to clipboard
webpack fails to compile correctly
I'm interested in using this but it looks like it doesnt seem to work anymore ://
Hi, I had the same problem, here how I solved it :
-
Take only the strictly same version of dependencies => in package.json remove all ^ characters in dependencies and devDependencies
-
Download Minecraft assets => you can find it here http://docs.overviewer.org/en/latest/running/#installing-the-textures
# worked for me
$ VERSION=1.12
$ wget https://s3.amazonaws.com/Minecraft.Download/versions/${VERSION}/${VERSION}.jar -P .
-
Set asset correctly in minecraft-chunk-viewer/assets dir => create assets dir in minecraft-chunk-viewer => uncompress 1.12.jar downloaded file => copy 1.12/assets/minecraft content in minecraft-chunk-viewer/assets
-
Then, just follow documentation
$ npm install
$ npm run build-assets
$ npm start
It will open a nav on 0.0.0.0:3000 with this great sample