karma-commonjs icon indicating copy to clipboard operation
karma-commonjs copied to clipboard

karma-commonjs doesn't seem to be able to follow symlinks

Open scamden opened this issue 10 years ago • 5 comments

i have symlink from node_modules/@grid to a src folder that has util/index.js in it. works fine for node and browserify, but with karma-commonjs i get:

getting Error: Could not find module '@grid/util' from '/Users/scamden/projects/riq-grid/src/modules/cell-scroll-model/index.js' at /Users/scamden/projects/riq-grid/node_modules/karma-commonjs/client/commonjs_bridge.js:91

scamden avatar Sep 24 '14 00:09 scamden

@scamden I'm traveling right now so won't be able to look into this issue for another 3 weeks or so. If you want to speed up things it would be great if you could dig into the issue a bit - the CommonJS plugin is fairly small and should be easy to follow. Ping me if you've got more detailed questions.

pkozlowski-opensource avatar Sep 24 '14 11:09 pkozlowski-opensource

i would love to normally but i was just testing out commonjs as an alternative to browserifying a bundle for tests. i'm sticking with browserify for now (well really watchify), but just wanted to flag this for you guys.

On 24 September 2014 04:27, Pawel Kozlowski [email protected] wrote:

@scamden https://github.com/scamden I'm traveling right now so won't be able to look into this issue for another 3 weeks or so. If you want to speed up things it would be great if you could dig into the issue a bit - the CommonJS plugin is fairly small and should be easy to follow. Ping me if you've got more detailed questions.

— Reply to this email directly or view it on GitHub https://github.com/karma-runner/karma-commonjs/issues/34#issuecomment-56656631 .

Sterling Camden Software Engineer 502 Emerson Street | Palo Alto, CA 94301 303.520.2968 | [email protected]

See RelateIQ in the Wall Street Journal http://online.wsj.com/news/articles/SB10001424127887323949904578539983425941490, TechCrunch http://techcrunch.com/2013/06/12/relateiq-launches-with-29m-from-formation-8-dustin-moskovitz-and-more-to-be-your-next-gen-relationship-manager/, Forbes http://www.forbes.com/sites/michaelsimmons/2014/01/14/the-one-thing-you-should-do-after-meeting-anyone-new/, and More http://blog.relateiq.com/tag/relateiqinthenews/!

scamden avatar Sep 24 '14 21:09 scamden

I am having this issue too. A project i have come onto follows browserify sym-link method has this been looked into?

peter-mouland avatar Feb 02 '15 15:02 peter-mouland

Any updates on this?

brunobasto avatar Mar 06 '17 18:03 brunobasto

Any updates on this?

fernandosouza avatar May 24 '17 17:05 fernandosouza