GithubHelp home page GithubHelp logo

Conflict with dependency about modular-forms HOT 7 CLOSED

araqaee avatar araqaee commented on May 29, 2024
Conflict with dependency

from modular-forms.

Comments (7)

AmirSa12 avatar AmirSa12 commented on May 29, 2024 1

@fabian-hiller , I'm facing the same issue! The command lines are throwing an error. Could you please suggest an alternative solution? Thanks!
09:04:37.501 npm ERR! code ERESOLVE 09:04:37.504 npm ERR! ERESOLVE unable to resolve dependency tree 09:04:37.504 npm ERR! 09:04:37.504 npm ERR! While resolving: 09:04:37.504 npm ERR! Found: @builder.io/[email protected] 09:04:37.504 npm ERR! node_modules/@builder.io/qwik 09:04:37.505 npm ERR! dev @builder.io/qwik@"^1.2.6" from the root project 09:04:37.505 npm ERR! 09:04:37.505 npm ERR! Could not resolve dependency: 09:04:37.505 npm ERR! peer @builder.io/qwik@"1.1.5" from @modular-forms/[email protected] 09:04:37.505 npm ERR! node_modules/@modular-forms/qwik 09:04:37.505 npm ERR! @modular-forms/qwik@"^0.19.1" from the root project 09:04:37.505 npm ERR! 09:04:37.505 npm ERR! Fix the upstream dependency conflict, or retry 09:04:37.505 npm ERR! this command with --force, or --legacy-peer-deps 09:04:37.506 npm ERR! to accept an incorrect (and potentially broken) dependency resolution. 09:04:37.506 npm ERR! 09:04:37.506 npm ERR! See /opt/buildhome/.npm/eresolve-report.txt for a full report. 09:04:37.507 09:04:37.507 npm ERR! A complete log of this run can be found in: 09:04:37.507 npm ERR! /opt/buildhome/.npm/_logs/2023-07-27T07_04_36_319Z-debug-0.log 09:04:37.513 Error during NPM install 09:04:37.518 Failed: build command exited with code: 1 09:04:38.430 Failed: error occurred while running build command

from modular-forms.

fabian-hiller avatar fabian-hiller commented on May 29, 2024

This is not quite correct. As you can see from this issue, Qwik version 1.2.X and higher makes problems with Modular Forms. For this reason, I require Qwik as a dependency in package.json in version v1.1.5, as that is the last version I know of that does not cause problems. So you have to downgrade the Qwik version manually.

from modular-forms.

sajjad-soudani avatar sajjad-soudani commented on May 29, 2024

@fabian-hiller I have this issue too

from modular-forms.

fabian-hiller avatar fabian-hiller commented on May 29, 2024

Downgrade to Qwik 1.1.5. You have to make sure to remove ^ from ^1.1.5 in your package.json.

from modular-forms.

AmirSa12 avatar AmirSa12 commented on May 29, 2024

Will you make it compatible with the latest version of Qwik?
Many users would prefer not to downgrade.

from modular-forms.

fabian-hiller avatar fabian-hiller commented on May 29, 2024

Yes, of course. The problem is probably Qwik and not Modular Forms. I have to wait until the bug is fixed in Qwik.

from modular-forms.

fabian-hiller avatar fabian-hiller commented on May 29, 2024

Should be fixed in v0.20.0. Make sure, this two imports are imported in the following order in entry.preview.tsx:

import qwikCityPlan from "@qwik-city-plan"; 
import render from "./entry.ssr";

from modular-forms.

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.