Uncaught Error: Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid
I am working on a React project. Whenever I log out from the system, I get this error in the console.
injectStylesIntoStyleTag.js:114 Uncaught Error: Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.
at insertStyleElement (injectStylesIntoStyleTag.js:114:1)
at addStyle (injectStylesIntoStyleTag.js:208:1)
at modulesToDom (injectStylesIntoStyleTag.js:81:1)
at module.exports (injectStylesIntoStyleTag.js:239:1)
at Module../common/components/auth/login-button.css (login-button.css?987d:9:17)
at __webpack_require__ (bootstrap:24:1)
at fn (hot module replacement:61:1)
at Module../common/components/auth/login-button.tsx (app-header.tsx:65:3)
at __webpack_require__ (bootstrap:24:1)
at fn (hot module replacement:61:1)
index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<noscript id="jss-insertion-point"></noscript>
<noscript id="static-css-insertion-point"></noscript>
<noscript id="style-loader-insertion-point"></noscript>
<script src="/env-config.js"></script>
</head>
<body>
<div id="root"></div>
</body>
</html>
Via Active questions tagged javascript - Stack Overflow https://ift.tt/n9Lbek7
Comments
Post a Comment