Mattermost, Inc.

[SOLVED] Cannot make v3.4 check style errors

Hi all,

I try to compile release 3.4 (git co v3.4.0) and the check-client-style is not passing

/…/go/src/github.com/mattermost/platform/webapp/components/edit_channel_purpose_modal.jsx
217:1 error Parsing error: Only one default export allowed per module

/…/go/src/github.com/mattermost/platform/webapp/components/error_bar.jsx
140:1 error Parsing error: Only one default export allowed per module

/…/go/src/github.com/mattermost/platform/webapp/components/rename_channel_modal.jsx
311:1 error Parsing error: Only one default export allowed per module

Any clue of what I am missing,
Thanks.
Jean-Yves

Hi @jlebleu,

I think that’s an issue where a new version of node.js has turned that into an error. Those 3 files have an extra export default line that now throws an error. You can fix this on your local copy like we fixed it on master, but I can bring it up to the other devs if we want to backport the fix to the release branch.

Hello,
Thank’s fixed on my local copy it works.