Open pablorsk opened 7 years ago
I have a problem with:
const req = require.context('./', true, /\.(controller|component)\.(ts|js)$/);
Return
(8,21): error TS2339: Property 'context' does not exist on type 'NodeRequire'.
With v1.0.0-rc1 work perfectly, but with this new version rc2 don't.
I try adding this types with:
npm install --save-dev @types/webpack @types/webpack-env
And adding this on types section on tsconfig.ts
tsconfig.ts
"webpack", "webpack-env"
But don't work.
This is my .yo:
{ "generator-fountain-angular1": { "version": "1.0.0-rc2", "props": { "framework": "angular1", "modules": "webpack", "js": "typescript", "ci": [], "css": "scss", "resolved": "/usr/lib/node_modules/generator-fountain-webapp/node_modules/generator-fountain-angular1/generators/app/index.js", "namespace": "fountain-angular1", "argv": { "remain": [], "cooked": [], "original": [] }, "sample": "todoMVC", "router": "uirouter" } }
I have a problem with:
Return
With v1.0.0-rc1 work perfectly, but with this new version rc2 don't.
I try adding this types with:
And adding this on types section on
tsconfig.ts
But don't work.
This is my .yo: