Comments (2)
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.
@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)
- IsNumberString returns false for none integers HOT 2
- Does nested validate been supported? HOT 1
- plainToClassFromExist support HOT 1
- Simplified usage for type guards HOT 5
- Update deps to class-transformer 0.2.0 HOT 2
- A typo in README.md HOT 1
- zone.js:391 Uncaught (in promise) [ValidationError] HOT 1
- class-transformer 0.2.2 breaks transformAndValidate HOT 2
- Common decorators
- Class Validator Peer Dependency Error HOT 2
- Error when validate nested Object HOT 2
- Typing for `transformAndValidate` with array is not correct HOT 1
- Support tree shaking (google-libphonenumber is huge) HOT 4
- Simple custom validators HOT 1
- Cannot validate array elements HOT 2
- Make it work with optionals? HOT 1
- Give an option to combine class-validator's decorators with class-transformer's "excludeExtraneousValues" ? HOT 1
- A typo in the interface name HOT 1
- Cannot find name 'object' HOT 2
- could i remove unknow properties HOT 4
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 class-transformer-validator.