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

Cannot install in MacOS #10

Open
tau-yihouxiang opened this issue Jun 9, 2022 · 2 comments
Open

Cannot install in MacOS #10

tau-yihouxiang opened this issue Jun 9, 2022 · 2 comments

Comments

@tau-yihouxiang
Copy link

Hi, Thank you for releasing the label tool. However, I encountered the following errors when running:
npm run deps
Do you know the reason?

"
npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path /opt/homebrew/lib/node_modules/pixano-app-frontend/server/serve.js
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod '/opt/homebrew/lib/node_modules/pixano-app-frontend/server/serve.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/taohu/.npm/_logs/2022-06-09T14_37_33_025Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 254
npm ERR! [email protected] deps: rm -f package-lock.json && npm i && cd frontend && rm -f package-lock.json && npm i && npm link
npm ERR! Exit status 254
npm ERR!
npm ERR! Failed at the [email protected] deps script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
"

@bbsaclay
Copy link
Contributor

Hi @tau-yihouxiang, thank you for posting this issue !

The path seems strange. What version of Pixano are you using ? Are you mixing two versions of package.json ?
I would say : either suppress "&& npm link" in the "deps" script or correct the "bin" path.

Please tell us if this solves the problem.

@bbsaclay
Copy link
Contributor

Hi @tau-yihouxiang , I identified recently a bug that could in some cases generate an error similar to yours. I pushed the bug-fix on master.

If you still encounter this error, please update your code and try again.

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