node-red-contrib-chatbot
node-red-contrib-chatbot copied to clipboard
Bluemix Import: "Installation of module node-red-contrib-chatbot failed:"
I attempted to install node-red-contrib-chatbot via Manage Palette and received this error
Error: Command failed: npm install --save --save-prefix="~" --production [email protected] npm WARN deprecated [email protected]: nlp_compromise has been renamed to 'compromise', please update npm WARN deprecated [email protected]: Use uuid module instead
These are just warnings, these are two libraries that are no longer updated, somehow node-red see this as an error, can you install manually?
I am very new to both node-red and Bluemix and still trying to understand the platform. So I am not certain how to install manually.
Do you see the RedBot nodes in the palette?
No, the install via palette seems to throw the error and stop the installation.
I have setup a deployment on bluemix using their IoT Buildpack.
Ok, I've prepared a branch with updated libraries, unfortunately the Slack library still uses a deprecated library (throws a warning) and there's nothing I can do. I'll publish later today
Ok great. I am really wanting to use the Smooch integration and really like all the conversational pieces with this package.
@ncklrs ok, try with the 0.9.4, I've updated some libraries
Ok. Via the palette install here was the response:
"Installation of module node-red-contrib-chatbot failed:" 12/14/2017, 4:45:21 PM msg : string[42] "------------------------------------------" 12/14/2017, 4:45:22 PM msg : string[165] "Error: Command failed: npm install --save --save-prefix="~" --production [email protected]↵npm WARN deprecated [email protected]: Use uuid module instead↵"
-- I think I am going to have to go about this a different way.
What happens with a different package (just to understand if the problem is with this specific package or with the installation)
I had issues with many packages as I was looking to see if it was across the platform or just the package. I was able to successfully install node-red-node-openweathermap
This has been a problem for me since I first started using Watson/Node Red. Haven't been able to install a single node into my palette. it's about to become a deal breaker.
Perhaps it's a matter of permission, did you start from here?
https://nodered.org/docs/platforms/bluemix
I'll try myself in the next few days and try to understand why
I successfully installed node-red-contrib-telegrambot. However I'm facing the same problem to node-red-contrib-chatbot as @ncklrs described.
I updated everything but the issue persists
1/11/2018, 10:01:58 AM msg : string[166] "Error: Command failed: npm install --save --save-prefix="~" --production [email protected]↵npm WARN deprecated [email protected]: Use uuid module instead↵"
If you enable continuous delivery with defaults, a git repo will be created. In that repo's package.json, these nodes can be added to dependencies. After restarting the app, the new nodes will appear in the palette.
@r-koba did you try with @grantwparks suggestions?
@guidone and @grantwparks, first of all, tks for replying! I'm new in IBM cloud and node-red too... so I'm a little slow I checked if the continuous delivery was enabled, I was analyzing the packages (both package.json and package-lock.json) and confirmed reference of [email protected]. (Should I have to edit anything in package.json?) I restarted the npm and node-red but still not appear in the palette...
There may be a particular problem with that node. I was trying to add a slack chat node to node red on the FRED web site and found that the node had an incompatible dependency in it. In other words, the node needed to be updated by its maintainer. It seems like there's multiple chat nodes to look at and maybe there's a different one that would work. Pay close attention to the versions.
@guidone I'm facing this or a similar issue... I can install your nice package on my raspberry pi, and I've installed before in IBM bluemix, but now I can't install it in bluemix in a new App. It fails. I get this messages in the debug tab: 12/4/2018 11:09:43 msg : string[55] "Installation of module node-red-contrib-chatbot failed:" 12/4/2018 11:09:44 msg : string[42] "------------------------------------------" 12/4/2018 11:09:44 msg : string[68] "npm WARN deprecated [email protected]: Use uuid module instead↵Killed↵" 12/4/2018 11:09:44 msg : string[42] "------------------------------------------"
In the application log I can't find further insights:
2018-04-12T11:10:29.62+0200 [APP/PROC/WEB/0] OUT 12 Apr 09:10:29 - [info] Installing module: node-red-contrib-chatbot, version: 0.10.2
2018-04-12T11:10:35.37+0200 [APP/PROC/WEB/0] OUT 12 Apr 09:10:35 - [warn] Installation of module node-red-contrib-chatbot failed:
2018-04-12T11:10:35.37+0200 [APP/PROC/WEB/0] OUT 12 Apr 09:10:35 - [warn] ------------------------------------------
2018-04-12T11:10:35.37+0200 [APP/PROC/WEB/0] OUT 12 Apr 09:10:35 - [warn] npm WARN deprecated [email protected]: Use uuid module instead
2018-04-12T11:10:35.37+0200 [APP/PROC/WEB/0] OUT Killed
2018-04-12T11:10:35.37+0200 [APP/PROC/WEB/0] OUT 12 Apr 09:10:35 - [warn] ------------------------------------------
Any idea?
@guidone I have installed old version 0.9.14 on bluemix by editing package.json and adding the dependency. But if I try to update to current 0.10.2 version in the palette manager, it says update failed. But at least I can use the old version now (I have used that version because is the one I installed in the past without problems)
I've the same error, I've installed RedBot by modifying the package.json file
hi all, i´m getting also an error installing chatbot on nodered ( on Hassio through the addon packages)
I have faced no issues until now with any other node package. this is the error i´m getting:
`"Installation of module node-red-contrib-chatbot failed:" npm WARN deprecated [email protected]: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0 npm WARN deprecated [email protected]: scmp v2 uses improved core crypto comparison since Node v6.6.0
[email protected] install /config/node-red/node_modules/grpc node-pre-gyp install --fallback-to-build --library=static_library
node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://node-precompiled-binaries.grpc.io/grpc/v1.16.1/node-v57-linux-arm-musl.tar.gz node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v57 ABI, musl) (falling back to source compile with node-gyp) gyp ERR! build error gyp ERR! stack Error: not found: make gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12) gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19) gyp ERR! stack ...`
pereirau: I'm having the exact same problem as you. Seems the limited OS behind Hass.io simply doesn't have the required components to compile, and since the precompiled binaries are missing I'm guessing we're simply out of luck until there comes some precompiled binaries.
I just created a Node-Red Starter instance but I cannot add any pallet from manage pallets. In my case I wanted to install node-red-contrib-telegramb. Any help on that? 2/7/2019, 8:24:41 AMmsg : string[59] "Installation of module node-red-contrib-telegrambot failed:" 2/7/2019, 8:24:41 AMmsg : string[42] "------------------------------------------" 2/7/2019, 8:24:41 AMmsg : string[7] "Killed↵" 2/7/2019, 8:24:41 AM msg : string[42]
@guidone you could explain to me how I can display my Watson Assistant option buttons on Facebook Message using Node-red?