metsrl / channel-rocketchat

Botpress 12.x.x / Rocket.Chat integration
GNU General Public License v3.0
11 stars 5 forks source link

Error while loading some modules, they will be disabled [ZlibError, zlib: unexpected end of file] #3

Open arthurd2 opened 4 years ago

arthurd2 commented 4 years ago

Hi Michele, Yes I'm having the same problem but I guess is due another issue. Build is ok:

[16:38:22] Starting 'build-module channel-rocketchat'...
[16:38:37] Finished 'build-module channel-rocketchat' after 15 s

Packing is generating a small issue:

[module-builder] Writing to "/bp/out/binaries/modules/channel-rocketchat.tgz"
[module-builder] Zipping 407 files...
[module-builder] Error packaging module: ELOOP: too many symbolic links encountered, stat '/bp/modules/channel-rocketchat/node_production_modules/asteroid/test/dist'  
[module-builder] Cleaning up temporary files...

[16:49:54] Finished 'package-module channel-rocketchat' after 8.42 s
[16:49:54] Starting 'package-module channel-slack'...
[module-builder] Installing production modules...
[module-builder] yarn install v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Rebuilding all packages...
Done in 16.92s.

Originally posted by @arthurd2 in https://github.com/metsrl/channel-rocketchat/pull/2#issuecomment-619416459

bollinim commented 4 years ago

It happens the same to me, i have talked with Botpress Team but we just figured out that the packaging works on Windows and fails on Linux and MacOSX. I've tried to build and package other stock BP modules with no problems at all. Bottom line i think this is an issue related to Rocket.Chat SDK

bollinim commented 4 years ago

Opened a Bug Issue on GitHub