This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to install additional nodes
#1
I have problems installing additional nodes after keeping op updated.

Error message:
pi@op010:~/.node-red $ npm install node-red-node-sqlite
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/.node-red/package.json'
npm ERR! Linux 4.4.50-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "node-red-node-sqlite"
npm ERR! node v6.10.2
npm ERR! npm  v3.10.10
npm ERR! path /home/pi/.node-red/node_modules/node-red-contrib-freeboard
npm ERR! code EISGIT

npm ERR! git /home/pi/.node-red/node_modules/node-red-contrib-freeboard: Appears to be a git repo or submodule.
npm ERR! git     /home/pi/.node-red/node_modules/node-red-contrib-freeboard
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/pi/.node-red/npm-debug.log

Anyone having an advise how to proceed? - Thanks!
Reply
#2
Quite a bit in Google about this, I broke my node-red yesterday trying to sort it, from memory I did get it working before reloading the new v11 NOOBS so there is a way, will post if I have any success later.
You can copy the package.json from github but there were still other errors iirc.

https://nodered.org/docs/hardware/raspberrypi

Sent from my SGP511 using Tapatalk
Reply
#3
(2017-05-05, 07:13 AM)SkipperEarly Wrote: I have problems installing additional nodes after keeping op updated.

Error message:
pi@op010:~/.node-red $ npm install node-red-node-sqlite
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/.node-red/package.json'
npm ERR! Linux 4.4.50-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "node-red-node-sqlite"
npm ERR! node v6.10.2
npm ERR! npm  v3.10.10
npm ERR! path /home/pi/.node-red/node_modules/node-red-contrib-freeboard
npm ERR! code EISGIT

npm ERR! git /home/pi/.node-red/node_modules/node-red-contrib-freeboard: Appears to be a git repo or submodule.
npm ERR! git     /home/pi/.node-red/node_modules/node-red-contrib-freeboard
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/pi/.node-red/npm-debug.log

Anyone having an advise how to proceed? - Thanks!

I had the same , I removed the map git in this directory , then I can install nodes

home/pi/.node-red/node_modules/node-red-contrib-freeboard

Verstuurd vanaf mijn Nexus 6P met Tapatalk
Reply
#4
(2017-05-05, 12:48 PM)PaddyB Wrote: ... I did get it working before reloading the new v11 NOOBS so there is a way...

v11 NOOBs? Where? I don't see it on Sailoog.com.
Reply
#5
(2017-05-05, 12:48 PM)PaddyB Wrote: ... I did get it working before reloading the new v11 NOOBS so there is a way...

v11 NOOBs? Where? I don't see it on Sailoog.com.
[/quote]
Sorry, it's the v10 NOOBS now upgraded to v11

Sent from my SGP511 using Tapatalk
Reply
#6
(2017-05-05, 08:18 PM)snowboarder Wrote:
(2017-05-05, 07:13 AM)SkipperEarly Wrote: I have problems installing additional nodes after keeping op updated.

Error message:
pi@op010:~/.node-red $ npm install node-red-node-sqlite
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/.node-red/package.json'
npm ERR! Linux 4.4.50-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "node-red-node-sqlite"
npm ERR! node v6.10.2
npm ERR! npm  v3.10.10
npm ERR! path /home/pi/.node-red/node_modules/node-red-contrib-freeboard
npm ERR! code EISGIT

npm ERR! git /home/pi/.node-red/node_modules/node-red-contrib-freeboard: Appears to be a git repo or submodule.
npm ERR! git     /home/pi/.node-red/node_modules/node-red-contrib-freeboard
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/pi/.node-red/npm-debug.log

Anyone having an advise how to proceed? - Thanks!

I had the same , I removed the map git in this directory , then I can install nodes

home/pi/.node-red/node_modules/node-red-contrib-freeboard

Verstuurd vanaf mijn Nexus 6P met Tapatalk

I have the same problem, but did not understand the solution ...?
Reply
#7
have tried above but unsuccessfully. Renaming or removing of
/home/pi/.node-red/node_modules/node-red-contrib-freeboard/.git
is not possible/allowed.

Have updated to op 11.5 but no change.

Any other advise?
Reply
#8
(2017-05-15, 10:51 AM)SkipperEarly Wrote: have tried above but unsuccessfully. Renaming or removing of
/home/pi/.node-red/node_modules/node-red-contrib-freeboard/.git
is not possible/allowed.

Have updated to op 11.5 but no change.

Any other advise?


Start pcmanfm from a terminal window.

" Sudo pcmanfm "

Then I removed the .git directory

Verstuurd vanaf mijn Nexus 6P met Tapatalk
Reply
#9
@snowboarder : thanks! - that solved it.
I just wonder if we are now cut-off from node-red updates through the new op interface provided by sailoog?
Reply
#10
(2017-05-16, 09:11 AM)SkipperEarly Wrote: @snowboarder : thanks! - that solved it.
I just wonder if we are now cut-off from node-red updates through the new op interface provided by sailoog?

Nop Wink

node-red and nodejs are updated on every major update when needed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)