(node:57300) UnhandledPromiseRejectionWarning: Error: Can't set headers after they are sent.
at validateHeader (_http_outgoing.js:491:11)
at ServerResponse.setHeader (_http_outgoing.js:498:3)
In the Node project, you encountered this error while doing module splitting.
is checked to be package.json deleted
"babel-preset-env": "1.3.2",
"babel-preset-es2015": "6.24.1",
"babel-preset-stage-2": "6.24.1"
These three modules cause these three modules not to be deleted.
is originally required by the server to render the json inside the reference file is relative. Node_modules relative to the root directory, so the items below the root directory are related to modules such as vue, Babel-Polyfill, etc.
Read More:
- can’t set headers after they are sent
- Module build failed Error Plugin/Preset files are not allowed to export objects, only functions (How to Fix)
- How to Fix webpack Module build failed Error: The node API for ‘babel’ has been moved to babel-core
- VScode: How to Fix “Comments are not permitted in JSON” issue
- This application has no explicit mapping for /error, so you are seeing this as a fallback (How to Fix)
- How to Fix RTL8188 “Set Mode” (8B06) Error
- How to Fix error: ‘for’ loop initial declarations are only allowed in C99 mode
- KeyError: “Can‘t open attribute (can‘t locate attribute: ‘nrx‘)“
- The registered version of ArcEngine can edit the data in SDE (How to Fix 0x80040356 Error)
- The problem that headers [‘content-type ‘] does not work is set in the Axios get method request interface
- How to Fix NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver.
- How to Fix Warning: Statement lambda can be replaced with expression lambda
- error: a label can only be part of a statement and a declaration is not a statement (How to Fix)
- How to print how to output Int64_ t,uint64_ The value of T in C
- UnhandledPromiseRejectionWarning: MongoError: not authorized on elm to execute comman
- Elememt UI introduces components on demand to report errors
- (node:268660) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘yallist‘
- Webpack — module build failed: error: the node API for ‘Babel’ has been moved to Babel core
- 2003 – Can‘t connect to MySQL server on ‘192.168.163.128‘(Unknown error )
- Python error TypeError:can ‘t convert complex to float