Error generating new project

Options
Hello,

I am trying to generate a new project but with every versions for node, npm, grunt and yo, when I reach the step "yo csui-extension" I get this error:

module.exports = yeoman.generators.Base.extend({
                                   ^

TypeError: Cannot read property 'Base' of undefined
    at Object.<anonymous> (D:\smartviewdesarrollos\csui-extension-16.2.0\app\index.js:26:36)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at Object.get [as csui-extension:app] (C:\Users\dgarciar\AppData\Roaming\npm\node_modules\yo\node_modules\yeoman-environment\lib\store.js:40:23)
    at Store.get (C:\Users\dgarciar\AppData\Roaming\npm\node_modules\yo\node_modules\yeoman-environment\lib\store.js:64:35)

My last approach was using:
node version: 8.17.0
npm version: 3.10.10
grunt-cli version: 1.3.2
yo version: 1.8.5

As I said before, I get the same error with all the versions I tried. Do yo have any idea of what is happening with the project? Any idea will be welcome.

Thanks in advance.