Comments (8)
thanks @akai I am able to fix it by:
- delete the node_module folder
npm i --save-dev postcss-custom-properties
npm i
:)
from chatui.
One more thing:
I found that once I pasted the css(./node_modules/@chatui/core/dist/index.css) into css validator and there are many errors.
I guess this is the cause.
Before waiting for you guys to fix it, a workaround could be downgrade to an older version.
Could someone suggest a working version?
Thanks
from chatui.
see #40 (comment)
from chatui.
hi @akai thanks for your reply.
What is the solution
section in the package.json?
I searched and found it's just for yarn.
Do I have to use yarn to solve this issue?
from chatui.
I had to run the command in step 2, then delete both node module and package lock, then npm install
from chatui.
I had to run the command in step 2, then delete both node module and package lock, then npm install
Glad it helped 😊
Do you use yarn or npm?
I thought that package-lock.json is only for yarn.
from chatui.
I had to run the command in step 2, then delete both node module and package lock, then npm install
Glad it helped 😊
Do you use yarn or npm?
I thought that package-lock.json is only for yarn.
I used npm. As far as I understand (I am new to react), package-lock.json specifies the specific versions and dependancies that are installed when you run "npm ci" (clean install), whereas "npm install" sometimes installs minor updates if available (by reading packages.json), overwriting package-lock.json in the process
from chatui.
I had to run the command in step 2, then delete both node module and package lock, then npm install
Glad it helped blush
Do you use yarn or npm?
I thought that package-lock.json is only for yarn.I used npm. As far as I understand (I am new to react), package-lock.json specifies the specific versions and dependancies that are installed when you run "npm ci" (clean install), whereas "npm install" sometimes installs minor updates if available (by reading packages.json), overwriting package-lock.json in the process
Good to know that :)
Cheers
from chatui.
Related Issues (20)
- 由于项目框架老旧,使用hooks写法打包报错。 HOT 2
- 小程序开发如何使用 HOT 1
- 样式污染全局怎么解决 HOT 1
- renderMessageContent为空函数的情况下,message对象中的{user: {avatar: '', name: ''} 头像和用户名依然会被渲染
- 如何禁用 Input Box
- BUG:<chat/>组件使用composer渲染自定义组件<inputarea/>之后,每次发送完消息,我自己定义的<inputarea/>就会强制刷新 HOT 2
- 如果做打字机效果回复的 时候 HOT 3
- rightAction
- 发送消息后滚动条没有滚到最下面还有一些像素,这个怎么解决? HOT 2
- 等待回复过程中禁用输入 HOT 1
- _id动态设置不成功 HOT 1
- 头像图片资源重复调用
- 国际化不生效 HOT 1
- Chat UI Pro 查看历史消息的URL没有自动填充分页参数currentPage,pageSize HOT 1
- 点赞点踩功能可以无限次点击 HOT 1
- SSE流式响应处理 HOT 5
- 请问有没有权限认证
- icon图标用不了
- 如何设置messagecontainer的高度
- “1条新消息”
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 chatui.