Rocket.chat.electron: Error in plugin "gulp-execa" on Arch Linux

Created on 4 Feb 2020  路  7Comments  路  Source: RocketChat/Rocket.Chat.Electron

Hi @tassoevan I hope you're energized for 2020, you may want to look at this :sweat_smile:

This Happen only on Linux so far on yarn start and yarn release, Windows and Mac are unaffected.
I have opened an issue on the Execa repo:
https://github.com/ehmicky/gulp-execa/issues/4

I have also noticed that the fsevent 1.2.9 is not compatible with the Linux platform.
[!] Error: Could not resolve './preload/spellChecking' from src/preload.js

[00:36:35] 'build:bundle' errored after 5.14 s
[00:36:35] Error in plugin "gulp-execa"
Message:
    Command failed with exit code 1: rollup -c
Stack:
Error: Command failed with exit code 1: rollup -c
Stack:
Error: Command failed with exit code 1: rollup -c
    at makeError (/home/franck/Documents/Development/Build/Rocket.Chat.Electron/node_modules/execa/lib/error.js:58:11)
    at handlePromise (/home/franck/Documents/Development/Build/Rocket.Chat.Electron/node_modules/execa/index.js:114:26)
    at processTicksAndRejections (internal/process/task_queues.js:86:5)
[00:36:35] 'build' errored after 5.15 s
[00:36:35] 'start' errored after 5.15 s
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Kind Regards,

All 7 comments

I hope you're energized for 2020
鈿♀殹 ABSOLUTE HIGH VOLTAGE鈿♀殹

I've merged some significative breaking changes today, so I'm expecting unfortunate bugs coming. I'll check this one ASAP.

鈿♀殹 ABSOLUTE HIGH VOLTAGE 鈿♀殹 :smiley: well that's good to know :zap: keep it up ! :electric_plug:

Is it possible that the file ./preload/spellChecking.js has a different case in your fork, i.e., spellchecking.js instead of spellChecking.js? NTFS (Windows) and APFS (MacOS) are case-insensitive by default, but Ext (Linux) isn't.

@tassoevan I have checked the .../src/preload.js and the case is fine:
image

That's odd. It has nothing to do with gulp-execa, but with rollup. I can't reproduce the error unless I explicitly rename the file spellChecking.js as spellchecking.js while keeping those lines untouched.

I think we have found the culprit:
image
I'll give it a try now :smile:

You are right! that's the issue. You officially saved the day :heart_eyes: :medal_sports:
The file in the Develop branch needs to change :wink:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Sugaroverdose picture Sugaroverdose  路  3Comments

jswolf19 picture jswolf19  路  4Comments

paulz1 picture paulz1  路  3Comments

wowansm picture wowansm  路  3Comments

tendo256 picture tendo256  路  4Comments