You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build into webpack 3.5.5 this component.
/* eslint-disable */importReactfrom'react';import{Create,SimpleForm,TextInput,}from'admin-on-rest';importtinymcefrom'tinymce/tinymce';// react-tinymce use global refwindow.tinymce=tinymce;import'tinymce/themes/modern/theme';import'tinymce/skins/lightgray/skin.min.css';importTinyMCEInputfrom'aor-tinymce-input/lib/index'exportconstEmailCreate=(props)=>(<Createtitle="Create a Email"{...props}><SimpleForm><TextInputsource="to"/><TextInputsource="subject"/><TinyMCEInputsource="text"config={{skin: false}}/></SimpleForm></Create>);
When running with webpack I have:
ERROR in ./node_modules/tinymce/skins/lightgray/img/loader.gif
Module build failed: Error: spawn /usr/src/app/node_modules/gifsicle/vendor/gifsicle ENOENT
at _errnoException (util.js:1019:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:192:19)
at onErrorNT (internal/child_process.js:374:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
@ ./node_modules/css-loader!./node_modules/tinymce/skins/lightgray/skin.min.css 6:32349-32376
@ ./node_modules/tinymce/skins/lightgray/skin.min.css
I don't think the problem is webpack, tinymce or this module. The error is saying that gifsicle executable is not found. You certainly use a image loader that try to optimize the file and thus, try to use gifsicle.
Try to just use file-loader and see if the error happens.
I am trying to build into webpack 3.5.5 this component.
When running with webpack I have:
There are open issues and resources related:
I am not sure if this up to date.
I have tried a few times to configure using the tinymce.com advices but nothing worked.
Am I the only one getting this issue ?
The text was updated successfully, but these errors were encountered: