-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
ReferenceError: __dirname is not defined #24
Comments
const __dirname = path.resolve(); |
import path from 'path'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
code in the datafile is
lib.baseDir = path.join(__dirname, '/../.data/');
in git bash it indicates when run for test err,
How to get clear on this?
The text was updated successfully, but these errors were encountered: