Toggle navigation
Email or Username
Password
Remember
Login
Register
|
I forgot my password
Questions
Unanswered
Tags
Users
Ask a Question
Can I install the program using Node js?
0
like
0
dislike
12
views
Good day, interested in can I use node js to install programs?
In the application on node js is a dependency on an installed VLC on the computer. Like when you start to check vlc installed or not, if not, install it.
node.js
asked
Apr 14, 2019
by
nezzard
|
12
views
answer
comment
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
2
Answers
0
like
0
dislike
There is the child_process module allows you to run external applications
Further actions depend on the type of asset which can be obtained from the process.platform
put on osX using brew
on linux analyze the output of lsb_release and depending on the distro using its package Manager
on Windows download .msi and run
on vin10 vlc is in off store, which can be controlled using PowerShell script
I will also add that in the package.json in the scripts section, you can specify the postinstall task that will run automatically after installing from npm
answered
Apr 16, 2019
by
bingo347
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Not node js and npm
Here is an example of a package that sets
\r
https://www.npmjs.com/package/windows-build-tools
answered
Apr 16, 2019
by
nezzard
ask related question
comment
Please
log in
or
register
to add a comment.
Related questions
0
like
0
dislike
1
answer
Is it possible using node js to write a program that will be able to apply to the insides of the computer?
asked
Jun 5, 2019
by
CityzenUNDEAD
node.js
0
like
0
dislike
1
answer
I am using Node js. How can I change the fill color of the cell or the cell color in google spreadsheets?
asked
Apr 24, 2019
by
aif88
node.js
google-sheets
0
like
0
dislike
2
answers
How to install SSL certificate Node.js script (Socket.io)?
asked
Aug 4, 2019
by
codeZlo
node.js
digital-certificates
socket.io
0
like
0
dislike
1
answer
Can't install live server node js?
asked
May 11, 2019
by
frenkii
javascript
node.js
npm
0
like
0
dislike
1
answer
How to install an ssl certificate for the server to node.js?
asked
May 4, 2019
by
websiller
apache
hosting
node.js
Most popular tags
javascript
php
css
html
jquery
wordpress
python
linux
web-development
mysql
android
windows
java
layout
c#
computer-networks
node.js
cpp
iron
yii
vue.js
1C-Bitrix
react
laravel
django
nginx
system-administration
search-engine-optimization
api
ubuntu
the-it-education.
ajax
sql
programming
hosting
cms
design
apache
google-chrome
bootstrap
Vkontakte
macos
google
network-administration
git
laptops
algorithms
regular-expressions
unity-game-engine
email
angular
database
network-equipment
software
wooŃommerce
debian
.net
ios
information-security
video
law-in-it
browsers
books
parsing
wi-fi
game-development
career
htaccess
postgresql
telegram
mikrotik
mobile-development
ruby-on-rails
the-domain-name-system
modx
Yandex
c
json
opencart
Habr
freelance
vpn
asp.net
windows-server
symfony
bots
hard-drives
math
qt
DIY
audio
frontend
payment-system
bash
electronics
gulp.js
user-interface
docker
online-shopping
110,608
questions
257,186
answers
0
comments
33,912
users