Comments (7)
Thanks for the catch. The only missing dependency should be mkdirp. Just added it.
from nexe.
I confirm I needed to install each of this packages :)
from nexe.
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.
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.
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.
fixed with [email protected]
.
from nexe.
Thanks, it's working now!
from nexe.
Related Issues (20)
- bug
- 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
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.