how can i fixed this error “ UnhandledPromiseRejectionWarning: Error: spawn UNKNOWN”
Type of report
Task When I set up the documentation environment of CKEditor 4,used this url https://github.com/ckeditor/ckeditor4-docs;
with the Building Instructions ,when i excute “grunt build-serve --dev”,an error is reported。
Running "prepare-examples" task
Building CKEditor...
(node:36452) UnhandledPromiseRejectionWarning: Error: spawn UNKNOWN
at ChildProcess.spawn (internal/child_process.js:407:11)
at spawn (child_process.js:553:9)
at E:\ck-04-29\ckeditor4-docs\scripts\tools\buildckeditor.js:30:17
at new Promise (--unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:36452) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
how can i fixed it?
Provide description of the task
What steps should be taken to fulfil the task?
Other details
- Browser:
- OS: window 10
- CKEditor version: 4.16.0
- Installed CKEditor plugins: …
Hi @elaineKuo,
From what I see (based on paths from provided log) you are using Windows and building docs is not really well tested there so it may give you some troubles. I would suggest trying with something like Cygwin or WSL on Windows as it should be more straightforward :crossed_fingers:
We are using mostly UNIX-like OSes (Linux and macOS) so we are not really able to assist you with this one.