小编Cha*_*ter的帖子

URIError:无法解码参数 '/<myusername>/<projectname>/%PUBLIC_URL%/manifest.json'

我正在尝试恢复我一年半前编写的旧 React 应用程序。

我克隆了它并安装了所有依赖项,但是当我执行“npm start”时,它只是加载一个空白页面并引发错误:

“URIError:无法解码参数'///%PUBLIC_URL%/manifest.json'”

老实说,我不确定从这里该去哪里。

这是我的 package.json 的样子:

{
  "name": "nosmallstreamer",
  "version": "1.0.0",
  "description": "This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).",
  "main": "index.js",
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/chaselancaster/nosmallstreamer-frontend.git"
  },
  "author": "",
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/chaselancaster/nosmallstreamer-frontend/issues"
  },
  "homepage": "https://github.com/chaselancaster/nosmallstreamer-frontend#readme",
  "dependencies": {
    "react": "^17.0.1",
    "react-dom": "^17.0.1",
    "react-router-dom": "^5.2.0",
    "react-scripts": "^4.0.0"
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all" …
Run Code Online (Sandbox Code Playgroud)

javascript uri reactjs

4
推荐指数
1
解决办法
7534
查看次数

标签 统计

javascript ×1

reactjs ×1

uri ×1