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

"could not read your .r2g/config.js files" #67

Open
ORESoftware opened this issue Jul 26, 2019 · 0 comments
Open

"could not read your .r2g/config.js files" #67

ORESoftware opened this issue Jul 26, 2019 · 0 comments

Comments

@ORESoftware
Copy link
Owner

Most likely because:

const path = require('path');

if (!path.isAbsolute(process.env.MY_DOCKER_R2G_SEARCH_ROOT || '')) {
  throw new Error('Please set the env var "MY_DOCKER_R2G_SEARCH_ROOT" to an absolute path.');
}

Actual error:

r2g: r2g warn: Could not read your .r2g/config.js file at path: /Users/alex/codes/ores/linked-queue/.r2g/config.js

we need to actually show the stack trace of the error.

and perhaps MY_DOCKER_R2G_SEARCH_ROOT should default to the pwd if it's above $HOME, o/w throw an error.

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

1 participant