(node:11400) UnhandledPromiseRejectionWarning: TypeError: text.trimEnd is not a function
at attachComments (D:\idea project\reactjs\node_modules\prettier\index.js:14769:60)
at coreFormat (D:\idea project\reactjs\node_modules\prettier\index.js:14796:23)
at format (D:\idea project\reactjs\node_modules\prettier\index.js:15017:75)
at formatWithCursor (D:\idea project\reactjs\node_modules\prettier\index.js:15033:12)
at args (D:\idea project\reactjs\node_modules\prettier\index.js:50675:12)
at Object.format (D:\idea project\reactjs\node_modules\prettier\index.js:50695:12)
at D:\idea project\reactjs\node_modules\@umijs\core\lib\Html\Html.js:275:34
at Generator.next (<anonymous>)
at asyncGeneratorStep (D:\idea project\reactjs\node_modules\@umijs\core\lib\Html\Html.js:86:103)
at _next (D:\idea project\reactjs\node_modules\@umijs\core\lib\Html\Html.js:88:194)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
(node:11400) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catc
h(). (rejection id: 1)
(node:11400) [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.
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/65641.html
標籤:JavaScript
