Closed lisawilliams closed 7 years ago
Ran botpress install rivescript
at the command line in the root of the bot's directory.
Ran successfully with the following response:
[botpress] please wait, we are trying to install your new modules...
[botpress] Installing modules: botpress-rivescript
[botpress] ERR npm
[botpress] ERR WARN react-audio-player@0.5.0 requires a peer of react@15.x but none was installed.
npm WARN react-audio-player@0.5.0 requires a peer of react-dom@15.x but none was installed.
npm WARN react-codemirror@1.0.0 requires a peer of react@>=15.5 <16 but none was installed.
npm WARN react-codemirror@1.0.0 requires a peer of react-dom@>=15.5 <16 but none was installed.
npm WARN react-player@0.18.0 requires a peer of react@* but none was installed.
npm
[botpress] ERR WARN trollbustersbot@0.0.1 No repository field.
npm WARN trollbustersbot@0.0.1 license should be a valid SPDX license expression
[botpress] added 8 packages in 39.62s
[botpress] OK Modules successfully installed
Ran botpress install rivescript
and got the following response:
[botpress] please wait, we are trying to install your new modules...
[botpress] Installing modules: botpress-rivescript
[botpress] ERR npm
[botpress] ERR WARN react-audio-player@0.5.0 requires a peer of react@15.x but none was installed.
npm WARN react-audio-player@0.5.0 requires a peer of react-dom@15.x but none was installed.
npm WARN react-codemirror@1.0.0 requires a peer of react@>=15.5 <16 but none was installed.
npm WARN react-codemirror@1.0.0 requires a peer of react-dom@>=15.5 <16 but none was installed.
npm WARN react-player@0.18.0 requires a peer of react@* but none was installed.
npm
[botpress] ERR WARN trollbustersbot@0.0.1 No repository field.
npm WARN trollbustersbot@0.0.1 license should be a valid SPDX license expression
[botpress] added 8 packages in 39.62s
[botpress] OK Modules successfully installed
Restarted the Botpress server and reloaded the page on localhost:3000
Rivepress module now appears in left rail
Visited bot FB page and confirmed that bot still worked after module installation.
Also: merged this into master
and did git push heroku master
. Push was successful. Notable from the status messages:
remote: -----> Building dependencies
remote: Installing node modules (package.json + package-lock)
remote: added 8 packages in 4.145s
Docs here: https://www.rivescript.com/docs/tutorial
Botpress-specific 'hello world' tutorial here: https://github.com/botpress/botpress-examples/tree/master/hello-world-rivescript-bot