r2g icon indicating copy to clipboard operation
r2g copied to clipboard

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

Open ORESoftware opened this issue 6 years ago • 0 comments

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.

ORESoftware avatar Jul 26 '19 23:07 ORESoftware