Comments (6)
Hold on. Even if I change all places where I use node
to nodejs
other packages still have node
in them, e.g. Mocha. Adding dependency to nodejs-legacy
seems to resolve the problem.
from node-deb.
Hey @vidstige. Are you attempting to run the files created from node-deb
on your Mac? I'm not sure what the issue is.
from node-deb.
Use case is I have two machines - One Mac at home and one Linux box att work. There is also a build server which runs linux. I obviously need Linux to create the deb-package which makes sense. However, I would still like to be able to code on my Mac. So I could change all places inside package.json
etc that does node mocha whatever
to nodejs mocha whatever
to make it work on linux boxes, but that will break on mac. Next step is to create symlink on Mac. However that had some issues, so for now I'm installing nodejs-legacy
on linux as that seems to be the preffered way of getting a node
binary to call on linux.
This issue is more of a question for you on how you handle this situation, etc.
I see you automatically depend on node
on the deb, but then call the node
binary which is not provided by this package. Perhaps node-deb
should depend on nodejs-legacy
instead?
from node-deb.
@vidstige If you do a brew install dpkg fakeroot jq
, you can build it on your Mac. Since you can't actually use dpkg -i foo.deb
and run a package built by node-deb
on a Mac, and since node-deb
itself doesn't use any node
, nodejs
, or npm
commands, I think this problem is on your end and not related to this package. I'm closing this for now, but reopen it if you think I'm wrong.
from node-deb.
No, this is not a bug in node-deb, but rather a question for you. It's about the node vs nodejs binary name mayham, but I've got a workaround now.
from node-deb.
I would just so a ln -s /usr/bin/node /usr/bin/nodejs
or whatever the paths are. Symlinking should clear everything up.
from node-deb.
Related Issues (20)
- No more node_modules/.bin directory in the debian package HOT 7
- Migrate from Bash to JavaScript
- Error parsing file HOT 6
- Using dh-sysuser when available HOT 1
- Unable to run app HOT 9
- node-deb not ignoring own temp directory... HOT 1
- Does node_deb.entrypoints.cli support more than 1 file? HOT 1
- Deprecated dependencies HOT 1
- Use node-deb in bitbucket pipelines HOT 1
- dpkg-deb: error: unable to create 'real-app_0.1.0_all.deb': Success
- Add option to specify conflicts
- Add Conflicts in debian control template
- add option to not create system users or groups HOT 3
- Typo prevents removing links from .bin HOT 1
- add tests for Bionic Beaver when it's released
- npm install in postinst fails when having native library dependency HOT 3
- Question: usage of pm2
- bash: node-deb: command not found HOT 5
- unescaped newline inside substitute pattern HOT 1
- postinst prevent user creation HOT 2
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 node-deb.