Giter Site home page Giter Site logo

Comments (8)

franva avatar franva commented on July 4, 2024 1

thanks @akai I am able to fix it by:

  1. delete the node_module folder
  2. npm i --save-dev postcss-custom-properties
  3. npm i

:)

from chatui.

franva avatar franva commented on July 4, 2024

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.

image

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.

akai avatar akai commented on July 4, 2024

see #40 (comment)

from chatui.

franva avatar franva commented on July 4, 2024

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.

MarcM0 avatar MarcM0 commented on July 4, 2024

I had to run the command in step 2, then delete both node module and package lock, then npm install

from chatui.

franva avatar franva commented on July 4, 2024

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.

MarcM0 avatar MarcM0 commented on July 4, 2024

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.

franva avatar franva commented on July 4, 2024

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)

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.