yuyang041060120 / ng2-validation

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

Fail on load "ng2-validation@3.7.0 #53

Closed moshelior closed 7 years ago

moshelior commented 7 years ago

Fail to use ng2-validators. The error I get: GET http://localhost:8081/node_modules/ng2-validation/dist/base64.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 VM3609:27 Error: (SystemJS) XHR error (404 Not Found) loading http://localhost:8081/node_modules/ng2-validation/dist/base64.js Error: XHR error (404 Not Found) loading http://localhost:8081/node_modules/ng2-validation/dist/base64.js at XMLHttpRequest.wrapFn [as _onreadystatechange] (http://localhost:8081/node_modules/zone.js/dist/zone.js:698:29) at ZoneDelegate.invokeTask (http://localhost:8081/node_modules/zone.js/dist/zone.js:265:35) at Zone.runTask (http://localhost:8081/node_modules/zone.js/dist/zone.js:154:47) at XMLHttpRequest.ZoneTask.invoke (http://localhost:8081/node_modules/zone.js/dist/zone.js:335:33) Error loading http://localhost:8081/node_modules/ng2-validation/dist/base64.js as "./base64" from http://localhost:8081/node_modules/ng2-validation/dist/index.js at XMLHttpRequest.wrapFn [as _onreadystatechange] (http://localhost:8081/node_modules/zone.js/dist/zone.js:698:29) at ZoneDelegate.invokeTask (http://localhost:8081/node_modules/zone.js/dist/zone.js:265:35) at Zone.runTask (http://localhost:8081/node_modules/zone.js/dist/zone.js:154:47) at XMLHttpRequest.ZoneTask.invoke (http://localhost:8081/node_modules/zone.js/dist/zone.js:335:33) Error loading http://localhost:8081/node_modules/ng2-validation/dist/base64.js as "./base64" from http://localhost:8081/node_modules/ng2-validation/dist/index.js window.console.error @ VM3609:27 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/credit-card.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/date.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/date-ios.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/digits.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/email.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/equal.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/equal-to.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/greater-than.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/json.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/less-than.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/max.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/max-date.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/min.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/min-date.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/not-equal.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/not-equal-to.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/number.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/phone.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/range.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/range-length.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/url.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339 zone.js:1382 GET http://localhost:8081/node_modules/ng2-validation/dist/uuid.js 404 (Not Found) scheduleTask @ zone.js:1382 ZoneDelegate.scheduleTask @ zone.js:245 Zone.scheduleMacroTask @ zone.js:171 (anonymous) @ zone.js:1405 send @ VM3641:3 fetchTextFromURL @ system.src.js:1051 (anonymous) @ system.src.js:1778 ZoneAwarePromise @ zone.js:518 (anonymous) @ system.src.js:1777 (anonymous) @ system.src.js:2802 (anonymous) @ system.src.js:3380 (anonymous) @ system.src.js:3694 (anonymous) @ system.src.js:4086 (anonymous) @ system.src.js:4549 (anonymous) @ system.src.js:4819 (anonymous) @ system.src.js:407 ZoneDelegate.invoke @ zone.js:232 Zone.run @ zone.js:114 (anonymous) @ zone.js:502 ZoneDelegate.invokeTask @ zone.js:265 Zone.runTask @ zone.js:154 drainMicroTaskQueue @ zone.js:401 ZoneTask.invoke @ zone.js:339

I think it happens due to this line: var base64_1 = require('./base64'); in file: index.js Happend on version: ""ng2-validation@3.7.0", (ng2-validation-3.7.0.tgz_1487159437774_0.045551683055236936")

bosenagaraj commented 7 years ago

Even I am also getting the same error. did you get any solution for this? I think the Folder Structure has been modified. (previous ver: node_modules\ng2-validation\dist\directives, current ver: \ng2-validation\dist) there is no directives. Now all the directives has its own folder name now.

moshelior commented 7 years ago

I reverted to a working version: "ng2-validation": "3.1.2",

yuyang041060120 commented 7 years ago

please use the latest version, I had add bundles/ng2-validation.umd.js for system.js

jigarpt commented 7 years ago

@yuyang041060120

I am facing same issue with version 4.2.0 and with ng2-validation.umd.js.

Appreciate any help on this.