Home > front end >  Umi dev after start-up access to UnhandledPromiseRejectionWarning: TypeError: text. TrimEnd is not a
Umi dev after start-up access to UnhandledPromiseRejectionWarning: TypeError: text. TrimEnd is not a

Time:09-23

(11400) node: UnhandledPromiseRejectionWarning: TypeError: text. TrimEnd is not a function
The at attachComments (D: \ idea project \ reactjs \ node_modules \ prettier \ index js: 14769:60)
The at coreFormat (D: \ idea project \ reactjs \ node_modules \ prettier \ index js: 14796:23)
At the format (D: \ idea project \ reactjs \ node_modules \ prettier \ index js: 15017:75)
The at formatWithCursor (D: \ idea project \ reactjs \ node_modules \ prettier \ index js: 15033:12)
At the args (D: \ idea project \ reactjs \ node_modules \ prettier \ index js: 50675:12)
At the Object. The format (D: \ idea project \ reactjs \ node_modules \ prettier \ index js: 50695:12)
At the D: \ idea project \ reactjs \ node_modules \ @ umijs \ core \ lib \ Html \ Html js: 275:34
At the Generator. Next ()
The at asyncGeneratorStep (D: \ idea project \ reactjs \ node_modules \ @ umijs \ core \ lib \ Html \ Html js: 86:103)
The at _next (D: \ idea project \ reactjs \ node_modules \ @ umijs \ core \ lib \ Html \ Html js: 88:194)
The at
At the process. _tickCallback (internal/process/next_tick. Js: 189:7)
(11400) node: 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. The catc
H (). (rejection id: 1)
(11400) node: [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.

  • Related