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

resource.use('') fails #22

Closed
wolfbiter opened this issue Jun 28, 2013 · 4 comments
Closed

resource.use('') fails #22

wolfbiter opened this issue Jun 28, 2013 · 4 comments

Comments

@wolfbiter
Copy link
Member

info: installing  to /home/kane/projects/bighack/bigspace/resources

fs.js:684
  return binding.stat(pathModule._makeLong(path));
                 ^
Error: ELOOP, too many symbolic links encountered '/home/kane/projects/bighack/resources/node_modules/resources/node_modules/resources/node_modules/resources/node_modules/resources/node_modules/resources/node_modules/resources/node_modules/resources/node_modules/resources/node_modules/resources/node_modules/resources/node_modules/resources/node_modules/resources/node_modules/resources/node_modules/resources/node_modules/resources/node_modules/resources/node_modules/resources/node_modules/resources/node_modules/resources/node_modules/resources/node_modules/.bin/express'
    at fs.statSync (fs.js:684:18)
    at /home/kane/projects/bighack/resource/lib/helper.js:6:16
    at Array.forEach (native)
    at helper.copyDir (/home/kane/projects/bighack/resource/lib/helper.js:5:7)
    at /home/kane/projects/bighack/resource/lib/helper.js:12:7
    at Array.forEach (native)
    at helper.copyDir (/home/kane/projects/bighack/resource/lib/helper.js:5:7)
    at /home/kane/projects/bighack/resource/lib/helper.js:12:7
    at Array.forEach (native)
    at helper.copyDir (/home/kane/projects/bighack/resource/lib/helper.js:5:7)
@wolfbiter
Copy link
Member Author

a side effect of this is that it overwrites any resources in the app's resource directory with resources from the resources module

@Marak
Copy link
Member

Marak commented Jun 28, 2013

Steps to reproduce?

@wolfbiter
Copy link
Member Author

var resource = require('resource')
resource.use('');

@Marak Marak closed this as completed in a466679 Jul 3, 2013
@Marak
Copy link
Member

Marak commented Jul 3, 2013

Should be fixe now. Thanks for the heads-up @wolfbiter.

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

2 participants