Closed ggrimbert closed 8 years ago
This worked in my dependencies:
{
"name": "aurelia-validation",
"path": "../node_modules/aurelia-validation/dist/amd/",
"main": "aurelia-validation"
},
{
"name": "aurelia-validatejs",
"path": "../node_modules/aurelia-validatejs/dist/amd/",
"main": "aurelia-validatejs"
},
{
"name": "validate.js",
"path": "../node_modules/validate.js/",
"main": "validate"
}
[And by "worked", I mean "built without errors"]
This seems to work, I don't understand why It doesn't worked yesterday because I've added the same as you.
Thanks
Hi,
I am trying to use the Aurelia CLI on my project, but I'm having a problem.
I added aurelia-validatejs into the aurelia.json, and the aurelia-validate.js imports validate.js, but I can't make it works, I always have the following :
I tried to import validate.js inside the aurelia.json, and have the following :
Tracing validate.js...
is it possible that the problem comes from the name of the package itself ? I believe that the dot in the name is the main problem...
Here is the content of my aurelia.json :
I have also tried to import it like that, but it's not working :