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

needed dependencies #7

Closed
metal3d opened this issue Jan 30, 2013 · 7 comments
Closed

needed dependencies #7

metal3d opened this issue Jan 30, 2013 · 7 comments

Comments

@metal3d
Copy link

metal3d commented Jan 30, 2013

Hi,
It seems (on Fedora 17) that this dependecies are needed in package.json:

  • mkdirp
  • stepc
  • async
  • crc32

Regards

@crcn
Copy link

crcn commented Jan 31, 2013

Thanks for the catch. The only missing dependency should be mkdirp. Just added it.

@metal3d
Copy link
Author

metal3d commented Feb 1, 2013

I confirm I needed to install each of this packages :)

@crcn
Copy link

crcn commented Feb 1, 2013

Just did a fresh install of npm i nexe -g, and the dependencies are being installed.

My guess is the dependencies were missing in sub-modules. The issue might have been that npm didn't install nexe properly. Have you tried a fresh install? npm cache clear; npm i nexe -g.

@metal3d
Copy link
Author

metal3d commented Feb 14, 2013

I'll try tonight, but I want to precise that I don't install "globally" nexe. Because I'm developping "knotter", I need to be sure that some dependecies are not installed from other packages. Anyway, I always wonder why some package need to be installed globally :) I'd rather to be free to choose ;)

@kirbysayshi
Copy link

I think there are still some dependencies missing regarding sardines and async. I just tried installing it locally (preferred) and globally, and got the same error each time:

 $ node_modules/.bin/nexe -i ./test.js -r '0.10.5'

module.js:340
    throw err;
          ^
Error: Cannot find module 'async'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/Users/drewp/Dropbox/js/nexetest/node_modules/nexe/node_modules/sardines/lib/index.js:4:9)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

@crcn
Copy link

crcn commented Apr 27, 2013

fixed with sardines@0.4.3.

@kirbysayshi
Copy link

Thanks, it's working now!

@crcn crcn closed this as completed Apr 29, 2013
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

3 participants