我的 package.json:
{
"name": "frontend",
"version": "0.1.4",
"private": true,
"_moduleAliases": {
"@modules": "dist/rest/modules",
"@services": "dist/services"
},
"dependencies": {
"@coreui/coreui": "^3.4.0",
"@coreui/icons-react": "^1.1.0",
"@coreui/react": "^3.4.6",
"@craco/craco": "^5.9.0",
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/react-fontawesome": "^0.1.14",
"@syncfusion/ej2-react-grids": "^19.1.57",
"@syncfusion/ej2-react-inputs": "^19.1.59",
"@syncfusion/ej2-react-notifications": "^19.1.63",
"@syncfusion/ej2-react-popups": "^19.1.57",
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^11.2.6",
"@testing-library/user-event": "^12.8.3",
"@types/jest": "^26.0.22",
"@types/node": "^12.20.7",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"@zerollup/ts-transform-paths": "^1.7.18",
"axios": "^0.21.1",
"css-loader": "^5.2.4",
"node-sass": "^6.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-redux": "^7.2.3",
"react-router-dom": "^5.2.0",
"react-scripts": "^4.0.3",
"react-select": "^4.3.0",
"react-toastify": "^7.0.4",
"react-transition-group": "^4.4.1",
"react-usestateref": "^1.0.5",
"redux": "^4.0.5",
"redux-devtools-extension": "^2.13.9",
"request": "^2.79.0",
"style-loader": "^2.0.0",
"typescript": "^4.2.3",
"web-vitals": "^1.1.1",
"workbox-background-sync": "^5.1.4",
"workbox-broadcast-update": "^5.1.4",
"workbox-cacheable-response": "^5.1.4",
"workbox-core": "^5.1.4",
"workbox-expiration": "^5.1.4",
"workbox-google-analytics": "^5.1.4",
"workbox-navigation-preload": "^5.1.4",
"workbox-precaching": "^5.1.4",
"workbox-range-requests": "^5.1.4",
"workbox-routing": "^5.1.4",
"workbox-strategies": "^5.1.4",
"workbox-streams": "^5.1.4"
},
"scripts": {
"preinstall": "npx npm-force-resolutions",
"start": "craco start",
"build": "craco build",
"test": "craco test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@types/react-router-dom": "^5.1.7",
"craco-alias": "^3.0.0",
"purgecss-webpack-plugin": "^4.0.3",
"tsconfig-paths-webpack-plugin": "^3.5.1",
"webpack-bundle-analyzer": "^4.4.2"
}
}
这是我的管道:
它曾经可以工作,但由于某种原因它停止了。它现在无限期挂起:
即使我添加了 --verbose 标志,也没有任何反应。它就这样挂着。