Giter Site home page Giter Site logo

Comments (6)

zhangyuang avatar zhangyuang commented on August 16, 2024 1

tsconfig设置 skiplibcheck

from ssr.

zhangyuang avatar zhangyuang commented on August 16, 2024

提供可复现仓库or使用最新依赖版本重试

from ssr.

Imissyou1314 avatar Imissyou1314 commented on August 16, 2024

[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.

Imissyou1314 avatar Imissyou1314 commented on August 16, 2024

"@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.

Imissyou1314 avatar Imissyou1314 commented on August 16, 2024

应该是比较新的版本

from ssr.

Imissyou1314 avatar Imissyou1314 commented on August 16, 2024

可以了

from ssr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.