Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build #29

Open
tryashtar opened this issue Aug 7, 2024 · 3 comments
Open

Failed to build #29

tryashtar opened this issue Aug 7, 2024 · 3 comments

Comments

@tryashtar
Copy link

Upon following the steps in the readme to build it, I received this error:

> [email protected] process
> npx ./toolbuild/jsn/ validate --force -ot noreports -i ./public/res/latest/van/ -o ./public/data && gulp copyjsnodedata

node:fs:1372
  const result = binding.mkdir(
                         ^

Error: EACCES: permission denied, mkdir '/home/[me]\AppData\Local\mctools_server\'
    at Object.mkdirSync (node:fs:1372:26)
    at new LocalEnvironment (/d/Minecraft/Bedrock Storage/minecraft-creator-tools/app/toolbuild/jsn/local/LocalEnvironment.js:232:16)
    at Object.<anonymous> (/d/Minecraft/Bedrock Storage/minecraft-creator-tools/app/toolbuild/jsn/cli/index.js:103:12)
    at Module._compile (node:internal/modules/cjs/loader:1358:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
    at Module.load (node:internal/modules/cjs/loader:1208:32)
    at Module._load (node:internal/modules/cjs/loader:1024:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
    at node:internal/main/run_main_module:28:49 {
  errno: -13,
  code: 'EACCES',
  syscall: 'mkdir',
  path: '/home/[me]\\AppData\\Local\\mctools_server\\'
}

@mammerla
Copy link
Collaborator

mammerla commented Aug 7, 2024

I haven't tested building this on non-Windows, and there could be some issues there; sorry, I'll make that a bit more clear.

@mammerla
Copy link
Collaborator

I added some fixes for some things on Linux - if you could maybe try again that might be useful. Though that said, it will still look to create a (temporary) work folder underneath a home folder (just.. not with a Windows path) .. so you may still see permission issues?

@tryashtar
Copy link
Author

Thank you for the update! It seemed to get further this time, but did still fail eventually:

> [email protected] process
> npx ./toolbuild/jsn/ validate --force -ot noreports -i ./public/res/latest/van/ -o ./public/data && gulp copyjsnodedata

sh: line 1: /home/[me]/.npm/_npx/bf6fd44cde201ed5/node_modules/.bin/mct: Permission denied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants