-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
CLI on Macos does not have write permissions #132
Comments
The tool generates some other files within the package itself for various purposes (eg caching when running tournament mode although it's useless in the local case) Try running with sudo |
I do not like running anything as sudo.
…On Tue, Aug 31, 2021 at 12:43 AM Stone Tao ***@***.***> wrote:
The tool generates some other files within the package itself for various
purposes (eg caching when running tournament mode although it's useless in
the local case)
Try running with sudo
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#132 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOSQUQEBCMCOMXYYGUOXM3T7QCQTANCNFSM5DCJXFUA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Ok instead of a global install, make a folder and inside it do Then try running
|
Hi Stone,
npx did the trick. But now I have a release mis-match between the 3.0
visualizer and the 3.1 replay.json
code.... I think.
Best regards,
Phil
…On Tue, Aug 31, 2021 at 4:35 PM Stone Tao ***@***.***> wrote:
Ok instead of a global install, make a folder and inside it do npm
install @lux-ai/2021-challenge
Then try running
npx lux-ai-2021 as the command add your arguments`
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#132 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOSQUVA44HMO4HH5NODZW3T7TSEJANCNFSM5DCJXFUA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hi Stone,
To get 3.1 I had to say:
npm install @***@***.***
(added on the ***@***.***' )
Phil
…On Tue, Aug 31, 2021 at 4:35 PM Stone Tao ***@***.***> wrote:
Ok instead of a global install, make a folder and inside it do npm
install @lux-ai/2021-challenge
Then try running
npx lux-ai-2021 as the command add your arguments`
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#132 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOSQUVA44HMO4HH5NODZW3T7TSEJANCNFSM5DCJXFUA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Dang ! I should have written:
npm install @***@***.***
…On Tue, Aug 31, 2021 at 4:35 PM Stone Tao ***@***.***> wrote:
Ok instead of a global install, make a folder and inside it do npm
install @lux-ai/2021-challenge
Then try running
npx lux-ai-2021 as the command add your arguments`
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#132 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOSQUVA44HMO4HH5NODZW3T7TSEJANCNFSM5DCJXFUA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Sorry not sure what you are typing, I just see ****, is this issue resolved? |
Hi Stone,
I didn't send any '****' . Hmmm
But I did get the 3.1 dist.zip, installed it , and now everything is
working fine.
(Except maybe for my brain.)
Yes. The issue is resolved.
Thank you for your efforts.
Phil
…On Wed, Sep 1, 2021 at 1:59 PM Stone Tao ***@***.***> wrote:
Sorry not sure what you are typing, I just see ****, is this issue
resolved?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#132 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOSQUUYRAVWJI6ICFVV32DT7YISDANCNFSM5DCJXFUA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hi,
It seems when I try to run anything on my Mac, I get write access errors.
It does not seem to be writing to the local directory , in this case /Users/pneal/lux
It also gets write access refused when trying to do a simple:
lux-ai-2021 --statefulReplay
Is there a way to designate where log and replay files should go ?
Phillips-MacBook-Air:lux pneal$ lux-ai-2021 agent.py agent.py
internal/fs/utils.js:314
throw err;
^
Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/@lux-ai/2021-challenge/node_modules/local/bots'
at Object.mkdirSync (fs.js:1009:3)
at new Dimension (/usr/local/lib/node_modules/@lux-ai/2021-challenge/node_modules/dimensions-ai/lib/main/Dimension/index.js:217:18)
at Object.create (/usr/local/lib/node_modules/@lux-ai/2021-challenge/node_modules/dimensions-ai/lib/main/Dimension/index.js:491:12)
at Object.runner (/usr/local/lib/node_modules/@lux-ai/2021-challenge/lib/es5/bin/runner.js:78:25)
at Object. (/usr/local/lib/node_modules/@lux-ai/2021-challenge/lib/es5/bin/index.js:92:14)
at Module._compile (internal/modules/cjs/loader.js:1072:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
at Module.load (internal/modules/cjs/loader.js:937:32)
at Function.Module._load (internal/modules/cjs/loader.js:778:12)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) {
errno: -13,
syscall: 'mkdir',
code: 'EACCES',
path: '/usr/local/lib/node_modules/@lux-ai/2021-challenge/node_modules/local/bots'
}
Phillips-MacBook-Air:lux pneal$
The text was updated successfully, but these errors were encountered: