0
I’m trying to run version 10 (develop/x
) of botpress
, but every time I give start
he displays the version 1.1.13
root@3900662b3eb1:/bot# bp start
18:49:25 - info: Starting botpress version 1.1.13
18:49:25 - info: Loaded botpress-platform-webchat, version 0.4.7
18:49:25 - info: Loaded 1 modules
18:49:25 - debug: Loading middleware: UMM.instrumentation
18:49:25 - debug: Loading middleware: hear
18:49:25 - debug: Loading middleware: conversations
18:49:25 - debug: Loading middleware: fallback
(node:127) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'register' of undefined
at Function.module.exports.bp (/bot/index.js:25:16)
at botpress._callee$ (webpack-internal:///48:353:32)
at tryCatch (/usr/local/lib/node_modules/botpress/node_modules/regenerator-runtime/runtime.js:65:40)
at Generator.invoke [as _invoke] (/usr/local/lib/node_modules/botpress/node_modules/regenerator-runtime/runtime.js:303:22)
at Generator.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/botpress/node_modules/regenerator-runtime/runtime.js:117:21)
at step (webpack-internal:///48:119:191)
at eval (webpack-internal:///48:119:361)
at <anonymous>
However, when I have him show his version, it correctly displays the version 10.0.2
root@3900662b3eb1:/bot# bp --version
10.0.2
I’m spinning him inside the Docker
, installed using the following command that is described in the documentation.
npm install -g botpress@beta
Can someone help me with this?
Thanks Matt, I edited the question with the result of the attempts using link.
– Luiz Carvalho
I forgot Yarn install / Yarn Compile!
– mrbarletta
Now the link worked, but it is still using the old version. I changed the machine and re-installed everything. When I use the command
botpress ìnit
he installs in thenode_modules
botpress version 1.1.13.– Luiz Carvalho
when vc Faiz botpress init, node_modules has botpress 1.1, it has to do Yarn link botpress again. vc can do
ls -lah node_modules/ | grep botpress
and has to see a symlink of the botpress Folder ---> botpressX cloned Repo– mrbarletta
It worked great my friend Matt :D
– Luiz Carvalho