Comments (6)
tsconfig设置 skiplibcheck
from ssr.
提供可复现仓库or使用最新依赖版本重试
from ssr.
[TS Error] Cannot find module 'react' or its corresponding type declarations. (node_modules/ssr-common-utils/esm/client/client-store.d.ts:3:29)
[TS Error] Cannot find module 'react' or its corresponding type declarations. (node_modules/ssr-common-utils/esm/client/client-store.d.ts:3:29)
at Object.error (node_modules/@midwayjs/cli/src/index.ts:62:13)
at BuildPlugin.compile (node_modules/@midwayjs/cli-plugin-build/src/index.ts:168:23)
at CommandCore.execLifecycle (node_modules/@midwayjs/command-core/src/core.ts:227:11)
at CommandCore.invoke (node_modules/@midwayjs/command-core/src/core.ts:187:5)
at CLI.start (node_modules/@midwayjs/command-core/src/cli.ts:191:5)
error Command failed with exit code 1.
from ssr.
"@midwayjs/axios": "3",
"@midwayjs/decorator": "^2.3.0",
"@midwayjs/mock": "^2.13.4",
"@midwayjs/web": "^2.3.0",
"autoprefixer": "^10.4.19",
"axios": "^0.26.1",
"callapp-lib": "^3.5.0",
"cross-env": "^7.0.3",
"dsbridge": "^3.1.4",
"egg": "^2.0.0",
"egg-scripts": "^2.10.0",
"egg-security": "^2.9.0",
"js-cookie": "^3.0.1",
"mitt": "^3.0.1",
"qs-stringify": "^1.2.1",
"rxjs": "^6.6.3",
"ssr-core-vue3": "^6.0.0",
"ssr-hoc-vue3": "^6.0.0",
"ssr-server-utils": "^6.0.0",
"tailwindcss": "^3.0.0",
"vant": "^4.9.1",
"vue": "^3.0.0",
"vue-router": "^4.0.0",
"vuex": "^4.0.0",
"webpack": "4.29.5"
from ssr.
应该是比较新的版本
from ssr.
可以了
from ssr.
Related Issues (20)
- 生产环境的antdv ui css 样式和开发环境不一致 HOT 4
- 引入 css文件 报错 HOT 17
- 请问启动后,isBrower找不到,编译报错怎么解决?谢谢 HOT 2
- npx ssr build --html 编译出错 HOT 1
- 使用midway-vue3-ssr模版在组件中访问public下的静态资源404 HOT 3
- antd5新版本的兼容性问题
- 新版本antd5兼容性问题 HOT 4
- ssr-plugin-react 新版本缺少src路径
- build:o 相关问题 HOT 9
- Pm2模式下, Require() of ES Module 报错 HOT 2
- AuthProvider? HOT 4
- 通过vite方式引入windiCSS失败 HOT 2
- Webpack IgnorewPlugin HOT 1
- 请教下如何将node_module依赖构建到产物中,从而减少远端部署文件大小 HOT 1
- 渲染的数据量多就会报错state undefined的情况 HOT 13
- vue3 ssr项目中部分场景下使用扩展运算符,在vite build之后产生报错 HOT 13
- vue3 使用vite构建时,能否支持 .dev.env|.stage.env|.prod.env 多环境配置 HOT 2
- 使用独立 html 文件部署,CSS 文件没有按需加载 HOT 2
- 动态路由前缀 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ssr.