Description:
After updating to cli: 3.16.0
When trying to build/serve the project I get the following error:
TypeError: Cannot read property 'magenta' of undefined
at Object.
Steps to Reproduce:
create a project, nom install, ionic serve
Example repo:
1.
2.
3.
Output:
My ionic info:
even ionic -v fails
Other Information:
This seems normal to me since the version of shalk I have has no default field
issue disappears after reinstalling everthing
What do you mean with, after reinstalling the issues disappears? I have the problems to and nothing helps.
TypeError: Cannot read property 'magenta' of undefined
at Object.
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.
at Module._compile (module.js:571:32)
@wietzehiha
I tried the 3 steps but got the same error. What do you mean by dependencies? package-lock.json and package.json?
delete package-lock.json and update package.json (delete also the folde node_modules) then npm install
Most helpful comment
delete package-lock.json and update package.json (delete also the folde node_modules) then npm install