Nothing Happens When Using Spark-CLI on Linux Mint 16

Hey, I’ve been trying to get Spark CLI running on my Linux Mint 16 machine and haven’t had any luck. I’ve followed the instructions for installing on Ubuntu which works fine with no errors, but I can’t get the command “spark” to actually do anything.

~ $ spark
~ $ spark help
~ $ sudo spark
~ $ spark setup

As you can see, typing the commands doesn’t actually do anything :frowning:
Any help is appreciated!

Did you install globally? npm install -g spark-cli

Yes I did, here’s the output of the command in case that’s helpful:

> serialport@1.4.0 install /usr/lib/node_modules/spark-cli/node_modules/serialport
> node-pre-gyp install --fallback-to-build

[serialport] Success: "/usr/lib/node_modules/spark-cli/node_modules/serialport/build/serialport/v1.4.0/Release/node-v11-linux-x64/serialport.node" is installed via remote
/usr/bin/spark -> /usr/lib/node_modules/spark-cli/bin/spark.js
spark-cli@0.3.92 /usr/lib/node_modules/spark-cli
├── xtend@3.0.0
├── when@3.4.0
├── hogan.js@2.0.0
├── request@2.37.0 (json-stringify-safe@5.0.0, forever-agent@0.5.2, aws-sign2@0.5.0, qs@0.6.6, oauth-sign@0.3.0, tunnel-agent@0.4.0, node-uuid@1.4.1, mime-types@1.0.1, tough-cookie@0.12.1, form-data@0.1.4, hawk@1.1.1, http-signature@0.10.0)
├── moment@2.7.0
└── serialport@1.4.0 (bindings@1.1.1, sf@0.1.6, async@0.1.18, nan@0.7.1, optimist@0.3.7, node-pre-gyp@0.5.19)

Solved! I had node already installed and had to uninstall&purge that as well as nodejs and npm.


Ah, you probably had the not-nodejs node installed.

p node - Amateur Packet Radio Node program (transitional package)

That has troubled me more than I want to admit. :slight_smile:

Glad you got it working.

1 Like

oh cool, glad you got it going, had me worried for a second :slight_smile: