Giter VIP home page Giter VIP logo

Comments (7)

rlidwka avatar rlidwka commented on May 19, 2024

Yeah, lib-cov is a pluggable thingy that's off by default. I suggest you to remove that line, because that library is not needed in runtime, it's for tests only.

I wonder what nexe can do about that.

from nexe.

leearmstrong avatar leearmstrong commented on May 19, 2024

So you mean remove the line from the express module as I can't see it anywhere else? Would be nice for nexe to handle it but can't see how at the moment

from nexe.

rlidwka avatar rlidwka commented on May 19, 2024

So you mean remove the line from the express module as I can't see it anywhere else?

Yes, from there. Also, from connect module too. Or replace it with something like require(/**/'lib-cov'/**/) to prevent nexe picking it up.

Just for the reference, browserify allows to ignore some files, like:

browserify index.js -i ./lib-cov/connect

Maybe something similar can be done here.

Also, this won't be bundled properly. So some manual intervention is required anyway.

from nexe.

jaredallard avatar jaredallard commented on May 19, 2024

This should be fixed as from a pervious commit, if not please re-open.

from nexe.

Name-less avatar Name-less commented on May 19, 2024

I have the same issue, is the issue resolved ?

from nexe.

jaredallard avatar jaredallard commented on May 19, 2024

@Name-less Hi! Got some reproducing code? nexe compile args? Etc?

If this is just express, I cannot reproduce it as I have express 3.x.x compiling!

from nexe.

Name-less avatar Name-less commented on May 19, 2024

I finally replace index.js of express module by :

module.exports = require('./lib/express');

And it is now working (even if i am stuggling with native module ^^)

nexe config is (with express 4.13.1) :

"nexe": { "input": "./bin/www", "output": "nexe^$", "temp": "src", "runtime": { "framework": "node", "version": "5.5.0", "js-flags": "--use_strict", "ignoreFlags": true } }

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.