Skip to content

botpress install command always fail #120

Closed
botpress/botpress
#206
@azeemhassni

Description

@azeemhassni

Hi,

When I try to install a module using the command-line or GUI it fails on GUI I don't get any feedback but command-line says.

for example when I run
$ botpress install messenger

I get the following output.

 azi  ~/code/test-bot botpress install messenger

[botpress] 	 please wait, we are trying to install your new modules...
[botpress] 	 Installing modules: botpress-messenger
[botpress] 	 ERR npm
[botpress] 	 ERR  WARN
[botpress] 	 ERR  [email protected] requires a peer of react@>=15.5 <16 but none was installed.

[botpress] 	 ERR npm 
[botpress] 	 ERR WARN [email protected] requires a peer of react-dom@>=15.5 <16 but none was installed.
npm WARN
[botpress] 	 ERR  [email protected] requires a peer of react@* but none was installed.
npm WARN [email protected] requires a peer of [email protected] but none was installed.

[botpress] 	 ERR npm WARN [email protected] requires a peer of [email protected] but none was installed.
npm WARN [email protected] No repository field.
npm WARN [email protected] license should be a valid SPDX license expression

[botpress] 	 ERR 

[botpress] 	 ERR npm
[botpress] 	 ERR  ERR! path /home/azi/code/test-bot/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates
npm ERR! code ENOENT

[botpress] 	 ERR npm
[botpress] 	 ERR  ERR! errno -2
npm ERR! syscall
[botpress] 	 ERR  rename

[botpress] 	 ERR npm
[botpress] 	 ERR  ERR! enoent ENOENT: no such file or directory, rename '/home/azi/code/test-bot/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates' -> '/home/azi/code/test-bot/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/.delegates.DELETE'

[botpress] 	 ERR npm
[botpress] 	 ERR  ERR! enoent This is related to npm not being able to find a file.
npm ERR! 
[botpress] 	 ERR enoent 

[botpress] 	 ERR 

[botpress] 	 ERR npm ERR! A complete log of this run can be found in:
npm ERR!     /home/azi/.npm/_logs/2017-08-07T05_51_18_065Z-debug.log

[botpress] 	 ERR An error occurred during modules installation.
Unhandled rejection undefined

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions