Latest dashboard (2.28.2) not installing - I think

I don't believe that is the log from running
npm install node-red-dashboard
but we will let that pass. It appears to be trying to install node-red-node-serialport version 0.6.8 which is three years old. Perhaps it is not surprising that there are problems.
Which version of node-red are you using?

In the last post I suggested uninstalling node-red-node-serialport if you are not using it. Did you try that?

Well, from the best of my knowledge it is.

I tried from the GUI and it failed.

I was told to do it from the CLI and so I did.

When I did, there was a message at the bottom something about errors/problems.

I copied it to the RasPi's public directory and accessed it from here.

No, haven't uninstalled it yet. Not that I don't want to. Just there is a lot of other stuff happening just now.

And I am going away for a few days soon, so no computers. :frowning:
But when I get back and have other things under control it will be done.

Interesting twist.

For the sake of it, I have a bit of free time.

Looked at that machine's GUI.

This is what I see.

No serial.port node.

Hmmm...

That is because it would not install (which we knew), but it is present in package.json which is why npm keeps trying to install it. Uninstall it from the command line which should remove any artefacts from node_modules and remove it from package.json.

1 Like

the command is remove - yes?
as in:
npm remove node-red-node-serialport

The command is uninstall, as in npm uninstall node-red-node-serialport

1 Like

Oops. The exact terms become confusing when using different programs.

Thanks Paul.

Remove or uninstall, both work.

It maybe works, but...

pi@raspberrypi:~ $ npm --help

Usage: npm <command>

where <command> is one of:
    access, adduser, audit, bin, bugs, c, cache, ci, cit,
    clean-install, clean-install-test, completion, config,
    create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
    edit, explore, fund, get, help, help-search, hook, i, init,
    install, install-ci-test, install-test, it, link, list, ln,
    login, logout, ls, org, outdated, owner, pack, ping, prefix,
    profile, prune, publish, rb, rebuild, repo, restart, root,
    run, run-script, s, se, search, set, shrinkwrap, star,
    stars, start, stop, t, team, test, token, tst, un,
    uninstall, unpublish, unstar, up, update, v, version, view,
    whoami
$ npm uninstall --h
npm uninstall [<@scope>/]<pkg>[@<version>]... [--save-prod|--save-dev|--save-optional] [--no-save]
aliases: un, unlink, remove, rm, r
1 Like

Not disputing that Colin, but I was trying to help Andrew by reminding him that by looking at the various commands help <command> --help, he could see the list of primary options himself.

OK. I had been thinking myself that a bit of googling would have told him an answer quicker than asking here. In fact it took me a few minutes to find anything saying that remove would work, though I knew it did.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.