Comments (7)
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.
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.
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.
This should be fixed as from a pervious commit, if not please re-open.
from nexe.
I have the same issue, is the issue resolved ?
from nexe.
@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.
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)
- Node20: executable is resolving entrypoint from the filesystem HOT 1
- Promise not resolving HOT 1
- How to exclude files and folder from being included in a nexe build?!
- vcbuild.bat nosign release x64 exited with code: 1 HOT 3
- Using NEXE with NodeJS v20? HOT 2
- This repository has a ton of the exact same issues listed HOT 2
- Project Status HOT 1
- Meet 'ReferenceError: file is not defined' after build from source HOT 2
- node exe is unable find sqlite3 HOT 1
- Are monorepos supported? HOT 1
- _third_party_main: this is not a typed array HOT 1
- sqlite3 errors
- Node CLI options are not disabled for node 20.11 HOT 1
- Error: vcbuild.bat nosign release x64 exited with code: 1 HOT 1
- Nexe eats up any command line parameter starting with -- like --help HOT 3
- Confused Usage - Help About Node 18 Versions HOT 3
- Build flag with windows-x64-20.11.1 produces 16bit results ? HOT 1
- Feature Request: Replace download dependency with node-downloader-helper or something similar to resolve CVE-2022-33987
- I got `Error: spawn EINVAL` error, after change host's node version `21.7.2` to `21.7.3` or `20.12.1` to `20.12.2` on Windows. HOT 9
- node_modules unclear behaviour
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nexe.