我有一个通过 npm run build 构建的 React 应用程序。从前端到后端的 GET 和 POST 请求给出状态 200,但我收到一个奇怪的错误,这可能导致我的文件中的所有图像都没有出现在本地主机上。
我已经尝试重新安装节点,添加了 'manifest_version': 2 因为它是 chrome manifest 的当前版本。
清单:行:1,列:1,语法错误。下面是我的 index.html 文件
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<link rel="manifest" href="/manifest.json">
<link rel="shortcut icon" href="/favicon.ico">
<title>Django React Boilerplate</title>
<link href="/static/css/2.87ad9c80.chunk.css" rel="stylesheet">
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script>
! function(l) {
function e(e) {
for (var r, t, n = e[0], o = e[1], u …
Run Code Online (Sandbox Code Playgroud)