Git Product home page Git Product logo

Comments (7)

jikkai avatar jikkai commented on September 26, 2024

https://univer.ai/guides/sheet/troubleshooting#why-do-i-get-an-error-outputting-that-could-not-resolve-dependencies-when-i-use-npm-or-yarn-to-install

from univer.

yooyea avatar yooyea commented on September 26, 2024

https://univer.ai/guides/sheet/troubleshooting#why-do-i-get-an-error-outputting-that-could-not-resolve-dependencies-when-i-use-npm-or-yarn-to-install

When I submitted this issue, I already installed the dependencies and configured webpack according to the scheme mentioned in this article, it's doesn't work for me

from univer.

yooyea avatar yooyea commented on September 26, 2024

I suspect it's the rxjs version is wrong, I see that univer depends on rxjs@7, but I found that the dependencies after npm i univer are rxjs@6 in package-lock.json, so I installed rxjs@7 in the main project, and now it works, I think maybe univer needs to force a declaration to use version rxjs@7

from univer.

jikkai avatar jikkai commented on September 26, 2024

Based on the system information you provided, your npm version is 6.13.4. If your npm version is below 7, you need to ensure manually that the versions of peer dependencies you install are correct.

from univer.

yooyea avatar yooyea commented on September 26, 2024

Based on the system information you provided, your npm version is 6.13.4. If your npm version is below 7, you need to ensure manually that the versions of peer dependencies you install are correct.

I may not have made it clear, I have installed the dependencies manually, but I still get an error (last image), so I tried upgrading the version of rxjs and it works

from univer.

jikkai avatar jikkai commented on September 26, 2024

Based on the system information you provided, your npm version is 6.13.4. If your npm version is below 7, you need to ensure manually that the versions of peer dependencies you install are correct.

I may not have made it clear, I have installed the dependencies manually, but I still get an error (last image), so I tried upgrading the version of rxjs and it works

What I mean is that if you manually install dependencies and later versions of Univer update the peer dependencies, you might face the same issue again. Please ensure that your npm version is above 7 as much as possible.

from univer.

yooyea avatar yooyea commented on September 26, 2024

Okay I see, thanks a lot

from univer.

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.