minecraft-chunk-viewer
minecraft-chunk-viewer copied to clipboard
Is there a way to view more than 1 chunk in the demo & problems installing on Windows
First and foremost, is there any way to load more than 1 chunk in the online demo?
I've tried installing it based on the readme, got node.js, extracted the textures from my 12.2 jar. npm install
runs fine, npm run build-assets
seems to run fine, it doesnt give me any errors just this:
> [email protected] build-assets C:\NAME\Minecraft Chunk Viewer\chunk viewer
> node scripts```
but `npm start` gives me an error:
```PS C:\NAME\Minecraft Chunk Viewer\chunk viewer> npm start
> [email protected] start C:\NAME\Minecraft Chunk Viewer\chunk viewer
> npm run link && npm run serve
> [email protected] link C:\NAME\Minecraft Chunk Viewer\chunk viewer
> (cd .. && rm -f node_modules && ln -s webpack/node_modules)
'rm' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] link: `(cd .. && rm -f node_modules && ln -s webpack/node_modules)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] link script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\NAMEcaLaptop\AppData\Roaming\npm-cache\_logs\2021-09-05T16_17_21_231Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `npm run link && npm run serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\NAMEcaLaptop\AppData\Roaming\npm-cache\_logs\2021-09-05T16_17_21_255Z-debug.log
PS C:\NAME\Minecraft Chunk Viewer\chunk viewer>```
so after some investigation, I tried the same in GitBash, got a slightly different error:
```> [email protected] link C:\NAME\Minecraft Chunk Viewer\chunk viewer
> (cd .. && rm -f node_modules && ln -s webpack/node_modules)
ln: failed to create symbolic link './node_modules': No such file or directory
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] link: `(cd .. && rm -f node_modules && ln -s webpack/node_modules)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] link script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\NAMEcaLaptop\AppData\Roaming\npm-cache\_logs\2021-09-05T16_21_54_098Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `npm run link && npm run serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\NAMEcaLaptop\AppData\Roaming\npm-cache\_logs\2021-09-05T16_21_54_117Z-debug.log
I even tried npm start --force
:
$ npm start --force
npm WARN using --force I sure hope you know what you are doing.
> [email protected] start C:\NAME\Minecraft Chunk Viewer\chunk viewer
> npm run link && npm run serve
npm WARN using --force I sure hope you know what you are doing.
npm WARN using --force I sure hope you know what you are doing.
> [email protected] link C:\NAME\Minecraft Chunk Viewer\chunk viewer
> (cd .. && rm -f node_modules && ln -s webpack/node_modules)
ln: failed to create symbolic link './node_modules': No such file or directory
npm WARN using --force I sure hope you know what you are doing.
npm WARN using --force I sure hope you know what you are doing.
> [email protected] serve C:\NAME\Minecraft Chunk Viewer\chunk viewer
> webpack-dev-server --progress --hot --port 3000 --open --host 0.0.0.0
The command moved into a separate package: @webpack-cli/serve
Would you like to install serve? (That will run yarn add -D @webpack-cli/serve) (yes/NO) : ```
it complains about not finding the node_modules folder but it's right there...

log:
```0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'start'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]~prestart: [email protected]
6 info lifecycle [email protected]~start: [email protected]
7 verbose lifecycle [email protected]~start: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~start: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\NAME\Minecraft Chunk Viewer\chunk viewer\node_modules\.bin;C:\Users\NAMEcaLaptop\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\NAMEcaLaptop\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\PlasticSCM5\server;C:\Program Files\PlasticSCM5\client;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\nodejs;C:\ProgramData\chocolatey\bin;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Users\NAMEcaLaptop\AppData\Local\Microsoft\WindowsApps;C:\Users\NAMEcaLaptop\.dotnet\tools;C:\Users\NAMEcaLaptop\AppData\Roaming\npm;C:\Program Files\nodejs;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl
9 verbose lifecycle [email protected]~start: CWD: C:\NAME\Minecraft Chunk Viewer\chunk viewer
10 silly lifecycle [email protected]~start: Args: [ '/d /s /c', 'npm run link && npm run serve' ]
11 silly lifecycle [email protected]~start: Returned: code: 1 signal: null
12 info lifecycle [email protected]~start: Failed to exec start script
13 verbose stack Error: [email protected] start: `npm run link && npm run serve`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:400:28)
13 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:400:28)
13 verbose stack at maybeClose (internal/child_process.js:1055:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
14 verbose pkgid [email protected]
15 verbose cwd C:\NAME\Minecraft Chunk Viewer\chunk viewer
16 verbose Windows_NT 10.0.19043
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
18 verbose node v14.17.6
19 verbose npm v6.14.15
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] start: `npm run link && npm run serve`
22 error Exit status 1
23 error Failed at the [email protected] start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Any help is greatly appreciated!