Errors removing node tts-ultimate

I am having issues with removing the node node-red-contrib-tts-ultimate

Node red is working ok, but after I removed this node from node-red, I get following message during start-up of node-red,

Starting as a systemd service.
2 Sep 15:13:40 - [info]
Welcome to Node-RED
===================
2 Sep 15:13:40 - [info] Node-RED version: v3.0.2
2 Sep 15:13:40 - [info] Node.js  version: v16.19.0
2 Sep 15:13:40 - [info] Linux 5.15.84-v7+ arm LE
2 Sep 15:13:43 - [info] Loading palette nodes
2 Sep 15:13:48 - [info] Dashboard version 3.6.0 started at /ui
2 Sep 15:13:48 - [warn] ------------------------------------------------------
2 Sep 15:13:48 - [warn] [node-red-contrib-tts-ultimate/ttsultimate-config] Error: Cannot find module '../../apis/metadata.json'
Require stack:
- /home/pi/.node-red/node_modules/aws-sdk/lib/model/api.js
- /home/pi/.node-red/node_modules/aws-sdk/lib/core.js
- /home/pi/.node-red/node_modules/aws-sdk/lib/event-stream/event-message-chunker-stream.js
- /home/pi/.node-red/node_modules/aws-sdk/lib/event-stream/streaming-create-event-stream.js
- /home/pi/.node-red/node_modules/aws-sdk/lib/node_loader.js
- /home/pi/.node-red/node_modules/aws-sdk/lib/aws.js
- /home/pi/.node-red/node_modules/aws-sdk/index.js
- /home/pi/.node-red/node_modules/.node-red-contrib-tts-ultimate-fe4jhxbd/ttsultimate/ttsultimate-config.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/loader.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/index.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/index.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/index.js
- /usr/lib/node_modules/node-red/lib/red.js
- /usr/lib/node_modules/node-red/red.js
2 Sep 15:13:48 - [warn] ------------------------------------------------------
2 Sep 15:13:48 - [info] Settings file  : /home/pi/.node-red/settings.js
2 Sep 15:13:48 - [info] Context store  : 'default' [module=localfilesystem]
2 Sep 15:13:49 - [info] User directory : /home/pi/.node-red
2 Sep 15:13:49 - [warn] Projects disabled : editorTheme.projects.enabled=false
2 Sep 15:13:49 - [info] Flows file     : /home/pi/.node-red/flows.json
2 Sep 15:13:49 - [info] Server now running at http://127.0.0.1:18181/
2 Sep 15:13:49 - [warn] Using unencrypted credentials
2 Sep 15:13:52 - [info] Starting flows
2 Sep 15:13:56 - [info] Started flows

Anyone can help with this issue??

Presumably you have checked for unused config nodes?

1 Like

How did you remove the node?

  • delete the dir/files from .node-red/node-modules?
  • using the palette manager?
  • using command line npm remove ...

TBH: Regardless of the above question, I suspect this is related to a buggy version of npm where temporary directories were left behind during failed installs.

I suspect deleting the directory /home/pi/.node-red/node_modules/.node-red-contrib-tts-ultimate-fe4jhxbd/ and restarting will solve your issues.

1 Like

Yes, I did.

I used the palletmanager, as always.

I will try deleting the directory,
/home/pi/.node-red/node_modules/.node-red-contrib-tts-ultimate-fe4jhxbd/

I tried deleting the directory,

/home/pi/.node-red/node_modules/.node-red-contrib-tts-ultimate,

Then restarting node-red, but no change in startup.

That's not what I said. Read again.

I am sorry, I deleted the directory

/home/pi/.node-red/node_modules/node-red-contrib-tts-ultimate/

after I saw mistake, I deleted the directory,

/home/pi/.node-red/node_modules/.node-red-contrib-tts-ultimate-fe4jhxbd/

Now it is ok, no more warnings about tts-ultimate.

Thanks @Steve-Mcl

1 Like

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