Closed rbosneag closed 7 years ago
Obviously, it had nothing to do with the generator itself. It was a problem with the global npm
packages that were migrated from another version of node
which was installed under nvm
but the cg-angular15
generator was run out of nvm
scope.
Basically, a npm
cleanup will solve issues like this, ie: npm cache clean
, rm -rf /paths-to-npm/node-modules
and checking whether there still are npm packages installed on the system (looking also in /usr/local...
, ~/.nvm/...
, etc)
After installing the dependencies with
npm install -g yo karma webpack webpack-dev-server typings generator-cg-angular15
and runningyo
I keep getting this error:I have already updated
node
,npm
,yo
and did some investigation work but with no success so far.