-
Notifications
You must be signed in to change notification settings - Fork 16
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
filename
of undefined error when used with mocha
#12
Comments
Any update on this? |
@austinmao can you provide example of your test? |
packages.json:
babel.rc:
config/babel.js:
bootstrap.test.js:
mocha.opts:
|
@austinmao try to install package from git ( |
I am getting this issue too , TypeError: Cannot read property 'filename' of undefined I am using: |
@sd031 Have you tried it?
|
npm package was updated |
I am getting
TypeError: Cannot read property 'filename' of undefined
fromnode-source-map-support
when running mocha. By manually going into that package and doing aconsole.trace()
, I get this stack trace below:The weird thing is that this doesn't happen in Codeship. The problem goes away when I downgrade to package v6.0.0 (without
node-source-map-support
).I'm not so familiar with these two packages, so would you know how to fix this so I can actually get source map support back?
The text was updated successfully, but these errors were encountered: