-
Notifications
You must be signed in to change notification settings - Fork 21
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
A module cannot import itself #2
Comments
yeah I don't think it likes the run time |
Well I don't think that's the case. I tried to disable while babel plugin and error stays the same. It makes sense because of Disabling
For the reference actual test file contains just one simple test and import of |
ok see this comment of the required steps to get them all working together |
I had difficulties with a lot of tooling in node 6 so rolled back to LTS. I'm getting this on node 4.4.5. |
@barneycarroll can you be a bit more specific ? |
Sorry @calvinmetcalf, I appreciate that's not a very helpful bug report :) I only encountered this bug in trying to help out a friend with their rollup import of browserify-assuming UMD packages, and encountered this on Windows 7. This was not the bug they were seeing :) I will get back to you tomorrow on this. |
also woops I was getting this one confused with a different issue, I'm going to look into this, looks like the 'global' file can accedentally try to import itself |
ok I should be able to add the global and buffer files to the exclude list for this so it doesn't run on them |
done in 1.0.6 |
First I got a same error as #1 so I also installed master version of commonjs and now I am getting this strange error.
Essentially I am trying to create bundle of unit tests so they can be run in a browser. This is whole config I am using...
It's on Node v6.2.0.
The text was updated successfully, but these errors were encountered: