GithubHelp home page GithubHelp logo

Comments (2)

MichalLytek avatar MichalLytek commented on June 14, 2024
PS E:\#Programowanie\#GitHub\temp> npm i class-transformer class-validator class-transformer-validator
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] requires a peer of class-validator@^0.7.2 but none is installed. You must install peer dependencies yourself.

+ [email protected]
+ [email protected]
+ [email protected]
added 4 packages in 1.39s
PS E:\#Programowanie\#GitHub\temp>
{
    "requires": true,
    "lockfileVersion": 1,
    "dependencies": {
        "class-transformer": {
            "version": "0.1.8",
            "resolved": "https://registry.npmjs.org/class-transformer/-/class-transformer-0.1.8.tgz",
            "integrity": "sha512-qniRyjtvDPEXFspXfjrYerYy75pqwOIN4IUf2/MPHzZ3zVB7Cssq7dKSNZzEp6G1DH8tDk5gKY+KFxtlkf03qQ=="
        },
        "class-transformer-validator": {
            "version": "0.4.0",
            "resolved": "https://registry.npmjs.org/class-transformer-validator/-/class-transformer-validator-0.4.0.tgz",
            "integrity": "sha512-CKdvTaeomA928/Nngaa4EUsp5ZEBFgZME6HW/GEKkYGXD2D/ukKKCGpDLiWCuQAszGN2Saeyk0Xe/vTi5jfvTA=="
        },
        "class-validator": {
            "version": "0.8.1",
            "resolved": "https://registry.npmjs.org/class-validator/-/class-validator-0.8.1.tgz",
            "integrity": "sha512-sQgc0oEI2VqyARUZdXNWvsopOO12rrE1/3TdGDhn/P0bpAOTnhT2hdkHyVGOpSQKjolLgtWq1EddXhSL/9CgnQ==",
            "requires": {
                "validator": "9.2.0"
            }
        },
        "validator": {
            "version": "9.2.0",
            "resolved": "https://registry.npmjs.org/validator/-/validator-9.2.0.tgz",
            "integrity": "sha512-6Ij4Eo0KM4LkR0d0IegOwluG5453uqT5QyF5SV5Ezvm8/zmkKI/L4eoraafZGlZPC9guLkwKzgypcw8VGWWnGA=="
        }
    }
}

@IbrahimBond please try npm i class-transformer class-validator class-transformer-validator
If it still doesn't work, I think that it's yarn/npm problem, not this library fault 😉

from class-transformer-validator.

IbrahimBond avatar IbrahimBond commented on June 14, 2024

@19majkel94 hi,

i have tried installing peer dependecies and some kind of fault occures, but using the npm command you wrote worked fine. thanks for your help!

from class-transformer-validator.

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.