Giter VIP home page Giter VIP logo

Comments (7)

crcn avatar crcn commented on May 19, 2024

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

from nexe.

metal3d avatar metal3d commented on May 19, 2024

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

from nexe.

crcn avatar crcn commented on May 19, 2024

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.

from nexe.

metal3d avatar metal3d commented on May 19, 2024

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 ;)

from nexe.

kirbysayshi avatar kirbysayshi commented on May 19, 2024

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)

from nexe.

crcn avatar crcn commented on May 19, 2024

fixed with [email protected].

from nexe.

kirbysayshi avatar kirbysayshi commented on May 19, 2024

Thanks, it's working now!

from nexe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.