yuyang041060120 / ng2-validation

angular2 validation
https://yuyang041060120.github.io/ng2-validation/index.html
MIT License
612 stars 213 forks source link

Cannot read property 'NG_VALIDATORS' of undefined #116

Open jboone0052 opened 6 years ago

jboone0052 commented 6 years ago

Hello, I've installed ng2-validation in my existing angular-cli project and am getting this error. Is this because I didn't put it into my angular-cli.json correctly? Or is it something else? I'm not super familiar with webpack but i've put it into angular-cli.json like this:

"scripts": [
     "../node_modules/ng2-validation/bundles/ng2-validation.umd.js"
]

Any help is greatly appreciated.

quocthanh2694 commented 5 years ago

Now, I also see that error, is there anyone fix?