Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Brunch cannot include modules using symbolic link #1564

Closed
quangbuule opened this issue Nov 16, 2016 · 2 comments
Closed

Brunch cannot include modules using symbolic link #1564

quangbuule opened this issue Nov 16, 2016 · 2 comments
Labels

Comments

@quangbuule
Copy link

Hi,

I think this is the case the Brunch should support:

cd node_modules
ln -s ../web/static/js app

In a module:

require('app/lib/myModule');

And it failed to load myModule:

error: Processing of node_modules/app/lib/myModule.js failed. Cannot find module '[...]/package.json'

When using node REPL, it's fine to load app/lib/myModule

Environment

  1. Brunch: 2.9.1
  2. Node: 6
  3. NPM: v3
  4. Operating system: OSX 10.11
@quangbuule quangbuule changed the title Brunch cannot include module using symbolic link Brunch cannot include modules using symbolic link Nov 16, 2016
@paulmillr paulmillr added the bug label Nov 16, 2016
@denysdovhan
Copy link
Contributor

Thanks for reaching out!

Seems like this issue might be related to #1593.

@shvaikalesh
Copy link
Contributor

Closed in favor of #1593.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

4 participants