Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building with create-react-app. #13

Closed
ghost opened this issue Jul 9, 2018 · 2 comments
Closed

Error when building with create-react-app. #13

ghost opened this issue Jul 9, 2018 · 2 comments
Assignees
Labels
Milestone

Comments

@ghost
Copy link

ghost commented Jul 9, 2018

I'm using [email protected] and when I build using npm run build it says:

Creating an optimized production build...
Failed to compile.

Failed to minify the code from this file:

        ./node_modules/@ckeditor/ckeditor5-build-classic/build/ckeditor.js:5:7374

Read more here: http://bit.ly/2tRViJ9

error Command failed with exit code 1.

How to do?

Maybe is there a way to disable es5 using just es6 in CRA?

@pomek
Copy link
Member

pomek commented Jul 18, 2018

We are aware of this problem. At this moment I don't have any working solution.

The problem occurs with both CKEditor 5 builds and CKEditor 5 Framework.

It shouldn't be a thing if the build will be built as an ES5 code but I didn't check it out.

For the CKE5 Framework, we have to parse our sources by babel and transpile it to es5. But I also didn't check it out.

Sorry for the delay, I didn't notice the ticket.

@ma2ciek
Copy link
Contributor

ma2ciek commented Jul 18, 2018

No worries, his/her account is deleted already :D

@pomek pomek self-assigned this Jul 23, 2018
ma2ciek added a commit that referenced this issue Jul 24, 2018
Other: First developer preview version. It contains ready-to-use `CKEditor` component that allows using CKEditor 5 Builds and CKEditor 5 Framework in React application. Closes #1. Closes #3. Closes #5. Closes #7. Closes #13. Closes #15.
@Reinmar Reinmar added this to the iteration 20 milestone Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants