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

Unable to browserify JS file in karma #2907

Open
asghar3 opened this issue Dec 13, 2017 · 0 comments
Open

Unable to browserify JS file in karma #2907

asghar3 opened this issue Dec 13, 2017 · 0 comments

Comments

@asghar3
Copy link

asghar3 commented Dec 13, 2017

I not able to browserify js file that requires one scoped node module from node_modules dir:
The standalone browserify works for the same file.
I am using the latest version for browserify and karma-browserify

Expected behaviour

Should be able to browserify without any issues

Actual behaviour

Giving error:

Chrome 62.0.3202 (Mac OS X 10.13.1) ERROR
  Uncaught TypeError: Cannot read property 'prototype' of undefined
  at /var/folders/f7/pbrckg910w38p4z01llqvv9c0000gp/T/node_modules/graceful-fs/graceful-fs.js:166:0 <- /var/folders/f7/pbrckg910w38p4z01llqvv9c0000gp/T/c67c90f53865c8e01979581b7ded28a0.browserify:5262
13 12 2017 16:40:16.003:DEBUG [reporter.XXX]: START 'onBrowserComplete' function
13 12 2017 16:40:16.003:DEBUG [reporter.XXX]: END 'onBrowserComplete' function

Environment Details

  • Karma version (output of karma --version):
    version: 1.7.1

  • Relevant part of your karma.config.js file
    frameworks: ['jasmine', 'XXX', 'browserify'],
    browserify: {
    debug: true
    },

Steps to reproduce the behaviour

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