小编Cod*_*een的帖子

如何解决vite上“配置的目标环境中不可用大整型文字”错误?

我正在使用vitereacttypescript然后我收到此错误,有人知道如何解决吗?

\n

这是我的 package.json:

\n
{\n  "name": "",\n  "private": true,\n  "version": "0.0.0",\n  "scripts": {\n    "dev": "vite",\n    "build": "tsc && vite build",\n    "preview": "vite preview"\n  },\n  "dependencies": {\n    "@apollo/client": "^3.7.9",\n    "@composedb/cli": "^0.3.1",\n    "@composedb/client": "^0.3.1",\n    "@didtools/pkh-ethereum": "^0.0.3",\n    "@emotion/react": "^11.9.0",\n    "@emotion/styled": "^11.8.1",\n    "@mui/icons-material": "^5.8.4",\n    "@mui/material": "^5.8.2",\n    "@mui/x-date-pickers": "^5.0.0-alpha.5",\n    "cytoscape": "^3.22.1",\n    "date-fns": "^2.28.0",\n    "did-session": "^1.0.0",\n    "graphql": "^16.6.0",\n    "graphql-tag": "^2.12.6",\n    "moment": "^2.29.4",\n    "react": "^18.0.0",\n    "react-dom": "^18.0.0",\n    "react-router-dom": "^6.3.0",\n    "web3": "^1.8.2"\n  },\n  "devDependencies": {\n    "@types/cytoscape": "^3.19.6",\n    "@types/react": "^18.0.0",\n    "@types/react-dom": "^18.0.0",\n …
Run Code Online (Sandbox Code Playgroud)

optimization typescript reactjs vite vitest

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

标签 统计

optimization ×1

reactjs ×1

typescript ×1

vite ×1

vitest ×1