Closed ddesna closed 7 years ago
Hello, @ddesna.
Can you share the content of your .yo-rc.json
?
Hi @ericmdantas,
{
"generator-ng-fullstack": {
"username": "ddesna",
"appName": "myApp",
"stack": "fullstack",
"server": "node",
"client": "ng2",
"transpilerServer": "node",
"secure": true,
"differentStaticServer": false
}
}
I see.
Can you please add the following line there?
{
// ...
"nodeWebFramework": "express"
// ...
}
And try again? Since there's the options to work with koa now, that's something that's needed in the yo-rc
file.
Either way, I'm patching a fix to consider express as the default one. Thanks for the report.
v1.9.6
published with the fix.
Thanks @ericmdantas,
Adding "nodeWebFramework": "express"
line, it was still happening but after update to v1.9.6
it's working perfectly.
👍
I have this error when I trying to create new NodeJS server-side endpoint:
Note: client-side Angular components creates without issues. Using
generator-ng-fullstack@1.9.5