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

Getting EACCES: permission denied error #364

Open
digs1998 opened this issue Nov 30, 2023 · 1 comment
Open

Getting EACCES: permission denied error #364

digs1998 opened this issue Nov 30, 2023 · 1 comment

Comments

@digs1998
Copy link

I am facing the EACCES error while running the girder build, after following the steps from the repo regarding the installation of Histomics UI on the Linux platform.

Run npm audit for details.

build
grunt --girder-version=3.1.24 --static-path=/usr/share/girder/static --static-public-path=/static --no-progress=false --env=prod

Running "webpack:core_lib" (webpack) task
94% asset optimizationWarning: EACCES: permission denied, open '/usr/share/girder/static/built/girder_lib-manifest.json' Use --force to continue.

How do I fix this?

Aborted due to warnings.
Traceback (most recent call last):
File "/home/ubuntu/.local/bin/girder", line 8, in
sys.exit(main())
File "/home/ubuntu/.local/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/home/ubuntu/.local/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/ubuntu/.local/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ubuntu/.local/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ubuntu/.local/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/home/ubuntu/.local/lib/python3.10/site-packages/girder/cli/build.py", line 104, in main
check_call(buildCommand, cwd=staging)
File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['npm', 'run', 'build', '--', '--girder-version=3.1.24', '--static-path=/usr/share/girder/static', '--static-public-path=/static', '--no-progress=false', '--env=prod']' returned non-zero exit status 3.

@manthey
Copy link
Contributor

manthey commented Feb 14, 2024

What version of node/npm are you using? Until a refactor lands (soon, hopefully), girder currently requires node 14 to build the client.

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