Comments (12)
pnpm --filter "@qiankun-demo/*" -r --stream run start
主应用和另一个子应用都是vite项目,启动日志在最前面,试试http://localhost:8081
能不能正常访问
from micro-app-demos.
删除import {process} from ‘node’这一行
from micro-app-demos.
from micro-app-demos.
安装下@types/node
pnpm —filter ./packages/qiankun-demo/vue2-child add @types/node - D
from micro-app-demos.
安装了,一样的报错
from micro-app-demos.
如果还报错,tsconfig.json的type添加node
from micro-app-demos.
from micro-app-demos.
本地没有报错,这个添加@ts-ignore吧
from micro-app-demos.
一个一个解决了。还是有报错。我还是直接看源码,解决我的问题吧
from micro-app-demos.
找到问题了,我本地pnpm
是6.x,升级到7.x,需要把-r
/--stream
放到run
之前
from micro-app-demos.
我是Mac,pnpm是V7.2的,用pnpm --stream run qiankun-demo:start
可以运行起来了。但只能启动起来 vue2-child和react-child。主应用和vite-child没起来,报错如下: 能发下你的完整命令吗?
from micro-app-demos.
可以啦~感谢大佬
from micro-app-demos.
Related Issues (4)
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 micro-app-demos.