I have tried to run
nexe --help
or
nexe index.js
but it has returned this error:
Command 'nexe' not found, did you mean:
command 'rexe' from snap rexe (0.7)
command 'next' from deb mailutils-mh (1:3.7-2.1)
command 'next' from deb mmh (0.4-2)
command 'next' from deb nmh (1.7.1-6)
command 'nex' from deb nvi (1.81.6-15build1)
See 'snap info <snapname>' for additional versions.
I am using an Ubuntu system. How do I solve it?
Solution
package.json
using:or if it is a dev dependency, use:
If you installed it globally, use:
sudo
command as a global package:If it gives out the help console output, run now: