guidone / node-red-contrib-chatbot

Visually build a full featured chat bot for Telegram, Facebook Messenger, Whatsapp and Slack with Node-RED. Almost no coding skills required.
http://red-bot.io
940 stars 191 forks source link

Can't see nodes after installing #368

Closed deltaFigure closed 1 year ago

deltaFigure commented 4 years ago

I have installed this with npm install node-red-contrib-chatbot and trough the pallete manager. It installed but i can't see the nodes.

here's some info: OS: ubuntu server 18.04.3 lts Node-RED version: v1.0.3 Node.js version: v8.10.0

edit: every time i start node-red it says Initializing chat-platform lib, you should see this only once

guidone commented 4 years ago

Did you try restarting node-red?

deltaFigure commented 4 years ago

yeah, i have restarted it

guidone commented 4 years ago

Can you paste here the rest of the system console? There might be an error that prevent the nodes to be loaded

deltaFigure commented 4 years ago
root@h2860873:~# node-red-start

Start Node-RED

Once Node-RED has started, point a browser at http://127.0.0.1:1880
On Pi Node-RED works better with the Firefox or Chrome browser

Use   sudo systemctl enable nodered.service  to autostart Node-RED at every boot
Use   sudo systemctl disable nodered.service to disable autostart on boot

To find more nodes and example flows - go to http://flows.nodered.org
17 Dec 11:30:15 - [info]

Welcome to Node-RED
===================

17 Dec 11:30:15 - [info] Node-RED version: v1.0.3
17 Dec 11:30:15 - [info] Node.js  version: v8.10.0
17 Dec 11:30:15 - [info] Linux 4.15.0 x64 LE
17 Dec 11:30:15 - [info] Loading palette nodes
17 Dec 11:30:16 - [info] Settings file  : /root/.node-red/settings.js
17 Dec 11:30:16 - [info] Context store  : 'default' [module=memory]
17 Dec 11:30:16 - [info] User directory : /root/.node-red
17 Dec 11:30:16 - [warn] Projects disabled : editorTheme.projects.enabled=false
17 Dec 11:30:16 - [info] Flows file     : /root/.node-red/flows_[redacted].json
17 Dec 11:30:16 - [info] Server now running at http://127.0.0.1:1880/
17 Dec 11:30:16 - [warn]

---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.

You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------

17 Dec 11:30:16 - [info] Starting flows
17 Dec 11:30:16 - [info] Started flows
deltaFigure commented 4 years ago

I have reinstalled it with the same command, looks like some stuff isn't up to date. I'm new to node-red, node and npm. What commands do i need to run to update the dependencies? Also, here's the output from the install:

root@h2860873:~/.node-red# npm install node-red-contrib-chatbot
loadDep:viber-bot -> 304  - |###########################################-------------------------------------------------------------------------------------------------------------------------------------------------------------------|
WARN engine @slack/client@4.12.0: wanted: {"node":">= 6.9.0","npm":">= 3.10.8"} (current: {"node":"8.10.0","npm":"3.5.2"})
loadDep:viber-bot -> 304  \ |###########################################-------------------------------------------------------------------------------------------------------------------------------------------------------------------|
npm WARN deprecated @types/form-data@2.5.0: This is a stub types definition. form-data provides its own type definitions, so you do not need this installed.
npm WARN deprecated @types/p-cancelable@1.0.1: This is a stub types definition. p-cancelable provides its own type definitions, so you do not need this installed.
npm WARN deprecated @types/p-retry@3.0.1: This is a stub types definition. p-retry provides its own type definitions, so you do not need this installed.
loadDep:p-cancelable -> a - |############################################------------------------------------------------------------------------------------------------------------------------------------------------------------------|
loadDep:p-retry -> 304    | |############################################------------------------------------------------------------------------------------------------------------------------------------------------------------------|
loadDep:npm -> request    - |###############################################---------------------------------------------------------------------------------------------------------------------------------------------------------------|
loadDep:update-notifier - / |###############################################---------------------------------------------------------------------------------------------------------------------------------------------------------------|
loadDep:strip-final-newli \ |###############################################---------------------------------------------------------------------------------------------------------------------------------------------------------------|
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated superagent@2.3.0: Please note that v5.0.1+ of superagent removes User-Agent header by default, therefore you may need to add it yourself (e.g. GitHub blocks requests without a User-Agent header).  This notice will go away with v5.0.2+ once it is released.
npm WARN deprecated socks@1.1.10: 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

> grpc@1.24.2 install /root/.node-red/node_modules/node-red-contrib-chatbot/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
[grpc] Success: "/root/.node-red/node_modules/node-red-contrib-chatbot/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64-glibc/grpc_node.node" is installed via remote

> core-js@2.6.11 postinstall /root/.node-red/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

> protobufjs@6.8.8 postinstall /root/.node-red/node_modules/protobufjs
> node scripts/postinstall

- grpc node_modules/dialogflow/node_modules/grpc
- node-gyp node_modules/npm/node_modules/node-gyp
node-red-project@0.0.1 /root/.node-red
+-- ansi-regex@2.1.1
+-- aproba@2.0.0
+-- aws4@1.8.0
+-- bin-links@1.1.6
| `-- npm-normalize-package-bin@1.0.1
+-- bluebird@3.5.5
+-- byte-size@5.0.1
+-- cacache@12.0.3
| +-- mississippi@3.0.0
| | +-- concat-stream@1.6.2
| | | +-- buffer-from@1.0.0
| | | +-- readable-stream@2.3.6
| | | | +-- core-util-is@1.0.2
| | | | +-- isarray@1.0.0
| | | | +-- process-nextick-args@2.0.0
| | | | `-- string_decoder@1.1.1
| | | `-- typedarray@0.0.6
| | +-- duplexify@3.6.0
| | | +-- readable-stream@2.3.6
| | | | `-- string_decoder@1.1.1
| | | `-- stream-shift@1.0.0
| | +-- end-of-stream@1.4.1
| | +-- flush-write-stream@1.0.3
| | | `-- readable-stream@2.3.6
| | |   `-- string_decoder@1.1.1
| | +-- from2@2.3.0
| | | `-- readable-stream@2.3.6
| | |   `-- string_decoder@1.1.1
| | +-- parallel-transform@1.1.0
| | | +-- cyclist@0.2.2
| | | `-- readable-stream@2.3.6
| | |   `-- string_decoder@1.1.1
| | +-- pumpify@1.5.1
| | | `-- pump@2.0.1
| | +-- stream-each@1.2.2
| | `-- through2@2.0.3
| |   +-- readable-stream@2.3.6
| |   | `-- string_decoder@1.1.1
| |   `-- xtend@4.0.1
| +-- mkdirp@0.5.1
| | `-- minimist@0.0.8
| +-- move-concurrently@1.0.1
| | +-- aproba@1.2.0
| | +-- copy-concurrently@1.0.5
| | | +-- aproba@1.2.0
| | | `-- iferr@0.1.5
| | +-- fs-write-stream-atomic@1.0.10
| | | +-- iferr@0.1.5
| | | `-- readable-stream@2.3.6
| | |   `-- string_decoder@1.1.1
| | `-- run-queue@1.0.3
| |   `-- aproba@1.2.0
| +-- promise-inflight@1.0.1
| `-- y18n@4.0.0
+-- call-limit@1.1.1
+-- chownr@1.1.3
+-- ci-info@2.0.0
+-- cli-table3@0.5.1
| +-- colors@1.3.3
| +-- object-assign@4.1.1
| `-- string-width@2.1.1
|   +-- is-fullwidth-code-point@2.0.0
|   `-- strip-ansi@4.0.0
|     `-- ansi-regex@3.0.0
+-- cmd-shim@3.0.3
+-- config-chain@1.1.12
| +-- ini@1.3.5
| `-- proto-list@1.2.4
+-- extend@3.0.2
+-- figgy-pudding@3.5.1
+-- gentle-fs@2.3.0
| +-- aproba@1.2.0
| +-- fs-vacuum@1.2.10
| +-- iferr@0.1.5
| +-- path-is-inside@1.0.2
| `-- slide@1.1.6
+-- get-stream@4.1.0
| `-- pump@3.0.0
+-- glob@7.1.4
| +-- fs.realpath@1.0.0
| +-- inflight@1.0.6
| | `-- wrappy@1.0.2
| +-- minimatch@3.0.4
| | `-- brace-expansion@1.1.11
| |   +-- balanced-match@1.0.0
| |   `-- concat-map@0.0.1
| +-- once@1.4.0
| `-- path-is-absolute@1.0.1
+-- graceful-fs@4.2.3
+-- hosted-git-info@2.8.5
+-- iferr@1.0.2
+-- infer-owner@1.0.4
+-- inherits@2.0.4
+-- is-cidr@3.0.0
| `-- cidr-regex@2.0.10
|   `-- ip-regex@2.1.0
+-- is-fullwidth-code-point@1.0.0
| `-- number-is-nan@1.0.1
+-- JSONStream@1.3.5
| +-- jsonparse@1.3.1
| `-- through@2.3.8
+-- libcipm@4.0.7
| +-- find-npm-prefix@1.0.2
| `-- npm-logical-tree@1.2.1
+-- libnpm@3.0.1
| +-- libnpmconfig@1.2.1
| | `-- find-up@3.0.0
| |   `-- locate-path@3.0.0
| |     +-- p-locate@3.0.0
| |     | `-- p-limit@2.2.0
| |     |   `-- p-try@2.2.0
| |     `-- path-exists@3.0.0
| +-- libnpmpublish@1.1.2
| | `-- lodash.clonedeep@4.5.0
| `-- npmlog@4.1.2
|   +-- are-we-there-yet@1.1.4
|   | +-- delegates@1.0.0
|   | `-- readable-stream@2.3.6
|   |   `-- string_decoder@1.1.1
|   +-- gauge@2.7.4
|   | +-- aproba@1.2.0
|   | +-- has-unicode@2.0.1
|   | +-- string-width@1.0.2
|   | | `-- code-point-at@1.1.0
|   | `-- wide-align@1.1.2
|   |   `-- string-width@1.0.2
|   `-- set-blocking@2.0.0
+-- libnpmaccess@3.0.2
+-- libnpmhook@5.0.3
+-- libnpmorg@1.0.1
+-- libnpmsearch@2.0.2
+-- libnpmteam@1.0.2
+-- lock-verify@2.1.0
+-- lru-cache@5.1.1
| `-- yallist@3.0.3
+-- make-fetch-happen@5.0.2
| +-- agentkeepalive@3.5.2
| | `-- humanize-ms@1.2.1
| |   `-- ms@2.1.1
| +-- http-cache-semantics@3.8.1
| +-- http-proxy-agent@2.1.0
| | +-- agent-base@4.3.0
| | | `-- es6-promisify@5.0.0
| | |   `-- es6-promise@4.2.8
| | `-- debug@3.1.0
| |   `-- ms@2.0.0
| +-- https-proxy-agent@2.2.4
| +-- node-fetch-npm@2.0.2
| | `-- encoding@0.1.12
| |   `-- iconv-lite@0.4.23
| +-- promise-retry@1.1.1
| | +-- err-code@1.1.2
| | `-- retry@0.10.1
| `-- socks-proxy-agent@4.0.2
|   +-- agent-base@4.2.1
|   `-- socks@2.3.3
|     +-- ip@1.1.5
|     `-- smart-buffer@4.1.0
+-- mime-types@2.1.19
| `-- mime-db@1.35.0
+-- minimist@1.2.0
+-- node-gyp@5.0.5
| +-- env-paths@1.0.0
| +-- nopt@3.0.6
| | `-- abbrev@1.1.1
| `-- semver@5.3.0
+-- node-red-contrib-chatbot@0.18.3  extraneous
+-- normalize-package-data@2.5.0
| `-- resolve@1.10.0
|   `-- path-parse@1.0.6
+-- npm-audit-report@1.3.2
| `-- console-control-strings@1.1.0
+-- npm-install-checks@3.0.2
+-- npm-lifecycle@3.1.4
| +-- byline@5.0.0
| +-- resolve-from@4.0.0
| +-- uid-number@0.0.6
| `-- umask@1.1.0
+-- npm-package-arg@6.1.1
| +-- osenv@0.1.5
| | +-- os-homedir@1.0.2
| | `-- os-tmpdir@1.0.2
| `-- validate-npm-package-name@3.0.0
|   `-- builtins@1.0.3
+-- npm-packlist@1.4.7
| +-- ignore-walk@3.0.3
| `-- npm-bundled@1.1.1
+-- npm-pick-manifest@3.0.2
+-- npm-profile@4.0.2
+-- npm-registry-fetch@4.0.2
| `-- safe-buffer@5.2.0
+-- opener@1.5.1
+-- pacote@9.5.11
| +-- minipass@2.9.0
| +-- protoduck@5.0.1
| | `-- genfun@5.0.0
| `-- safe-buffer@5.1.2
+-- query-string@6.8.2
| +-- decode-uri-component@0.2.0
| +-- split-on-first@1.1.0
| `-- strict-uri-encode@2.0.0
+-- read-cmd-shim@1.0.5
+-- read-package-json@2.1.1
| `-- json-parse-better-errors@1.0.2
+-- read-package-tree@5.3.1
| `-- util-promisify@2.1.0
|   `-- object.getownpropertydescriptors@2.0.3
|     +-- define-properties@1.1.3
|     | `-- object-keys@1.0.12
|     `-- es-abstract@1.12.0
|       +-- es-to-primitive@1.2.0
|       | +-- is-date-object@1.0.1
|       | `-- is-symbol@1.0.2
|       |   `-- has-symbols@1.0.0
|       +-- function-bind@1.1.1
|       +-- has@1.0.3
|       +-- is-callable@1.1.4
|       `-- is-regex@1.0.4
+-- readable-stream@3.4.0
| +-- string_decoder@1.2.0
| `-- util-deprecate@1.0.2
+-- readdir-scoped-modules@1.1.0
| +-- debuglog@1.0.1
| `-- dezalgo@1.0.3
|   `-- asap@2.0.6
+-- request@2.88.0
| +-- aws-sign2@0.7.0
| +-- caseless@0.12.0
| +-- combined-stream@1.0.6
| | `-- delayed-stream@1.0.0
| +-- forever-agent@0.6.1
| +-- form-data@2.3.2
| | `-- asynckit@0.4.0
| +-- har-validator@5.1.0
| | +-- ajv@5.5.2
| | | +-- co@4.6.0
| | | +-- fast-deep-equal@1.1.0
| | | +-- fast-json-stable-stringify@2.0.0
| | | `-- json-schema-traverse@0.3.1
| | `-- har-schema@2.0.0
| +-- http-signature@1.2.0
| | +-- assert-plus@1.0.0
| | +-- jsprim@1.4.1
| | | +-- extsprintf@1.3.0
| | | +-- json-schema@0.2.3
| | | `-- verror@1.10.0
| | `-- sshpk@1.14.2
| |   +-- asn1@0.2.4
| |   +-- bcrypt-pbkdf@1.0.2
| |   +-- dashdash@1.14.1
| |   +-- ecc-jsbn@0.1.2
| |   +-- getpass@0.1.7
| |   +-- jsbn@0.1.1
| |   +-- safer-buffer@2.1.2
| |   `-- tweetnacl@0.14.5
| +-- is-typedarray@1.0.0
| +-- isstream@0.1.2
| +-- json-stringify-safe@5.0.1
| +-- oauth-sign@0.9.0
| +-- performance-now@2.1.0
| +-- qs@6.5.2
| +-- tough-cookie@2.4.3
| | +-- psl@1.1.29
| | `-- punycode@1.4.1
| `-- tunnel-agent@0.6.0
+-- rimraf@2.6.3
+-- semver@5.7.1
+-- sha@3.0.0
+-- spdx-license-ids@3.0.3
+-- ssri@6.0.1
+-- stringify-package@1.0.1
+-- strip-ansi@3.0.1
+-- tar@4.4.13
| +-- fs-minipass@1.2.7
| | `-- minipass@2.9.0
| +-- minipass@2.9.0
| `-- minizlib@1.3.3
|   `-- minipass@2.9.0
+-- unique-filename@1.1.1
| `-- unique-slug@2.0.0
+-- uuid@3.3.3
+-- validate-npm-package-license@3.0.4
| +-- spdx-correct@3.0.0
| `-- spdx-expression-parse@3.0.0
|   `-- spdx-exceptions@2.1.0
+-- which@1.3.1
| `-- isexe@2.0.0
+-- worker-farm@1.7.0
| `-- errno@0.1.7
|   `-- prr@1.0.1
`-- write-file-atomic@2.4.3
  +-- imurmurhash@0.1.4
  `-- signal-exit@3.0.2

npm WARN enoent ENOENT: no such file or directory, open '/root/.node-red/node_modules/degenerator/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/root/.node-red/node_modules/dialogflow/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/root/.node-red/node_modules/escodegen/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/root/.node-red/node_modules/google-auth-library/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/root/.node-red/node_modules/google-gax/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/root/.node-red/node_modules/grpc/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/root/.node-red/node_modules/gtoken/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/root/.node-red/node_modules/normalize-package-data/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/root/.node-red/node_modules/npm/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/root/.node-red/node_modules/pac-resolver/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/root/.node-red/node_modules/semver-diff/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/root/.node-red/node_modules/term-size/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/root/.node-red/node_modules/twilio/package.json'
npm WARN babel-loader@7.1.5 requires a peer of babel-core@6 but none was installed.
npm WARN babel-loader@7.1.5 requires a peer of webpack@2 || 3 || 4 but none was installed.
root@h2860873:~/.node-red#