Fail to install tensorflow on raspberry pi Node-red

2022-11-29T06:27:34.900Z Install : node-red-contrib-tensorflow 0.3.1

2022-11-29T06:27:32.514Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-tensorflow@0.3.1

2022-11-29T06:27:34.801Z [err] npm

2022-11-29T06:27:34.805Z [err]

2022-11-29T06:27:34.806Z [err] WARN

2022-11-29T06:27:34.807Z [err]

2022-11-29T06:27:34.807Z [err] config

2022-11-29T06:27:34.808Z [err] production Use --omit=dev instead.

2022-11-29T06:28:12.849Z [err] npm

2022-11-29T06:28:12.851Z [err]

2022-11-29T06:28:12.853Z [err] ERR! code

2022-11-29T06:28:12.854Z [err] ENOTEMPTY

2022-11-29T06:28:12.855Z [err] npm ERR!

2022-11-29T06:28:12.856Z [err] syscall rename

2022-11-29T06:28:12.857Z [err] npm ERR! path /home/pi/.node-red/node_modules/adm-zip

2022-11-29T06:28:12.858Z [err] npm ERR! dest /home/pi/.node-red/node_modules/.adm-zip-IJup2u0l

2022-11-29T06:28:12.859Z [err] npm ERR!

2022-11-29T06:28:12.860Z [err] errno -39

2022-11-29T06:28:12.866Z [err] npm ERR!

2022-11-29T06:28:12.867Z [err] ENOTEMPTY: directory not empty, rename '/home/pi/.node-red/node_modules/adm-zip' -> '/home/pi/.node-red/node_modules/.adm-zip-IJup2u0l'

2022-11-29T06:28:12.877Z [err]

2022-11-29T06:28:12.878Z [err] npm ERR!

2022-11-29T06:28:12.879Z [err] A complete log of this run can be found in:

2022-11-29T06:28:12.879Z [err] npm ERR! /home/pi/.npm/_logs/2022-11-29T06_27_34_607Z-debug-0.log

2022-11-29T06:28:12.936Z rc=217

this from the log

Anyone to help

This is an npm problem that appears occasionally, no-one is sure why. Look in the node_modules folder in the error and delete any folders that start with a dot. Then try again.

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