@mavillavishnu wrote:
Getting this error suddenly when ever i run any ionic command. Please help. I have tried unistalling and reinstalling ionic cli but helpless. Also tried clearing npm cache. Thanks in advance.
/usr/local/lib/node_modules/@ionic/cli/node_modules/@ionic/utils-fs/dist/index.js:168 exports.pathExists = pathExists; ^ TypeError: Cannot set property pathExists of #<Object> which has only a getter at Object.<anonymous> (/usr/local/lib/node_modules/@ionic/cli/node_modules/@ionic/utils-fs/dist/index.js:168:20) at Module._compile (internal/modules/cjs/loader.js:1133:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10) at Module.load (internal/modules/cjs/loader.js:977:32) at Function.Module._load (internal/modules/cjs/loader.js:877:14) at Module.require (internal/modules/cjs/loader.js:1019:19) at require (internal/modules/cjs/helpers.js:77:18) at Object.<anonymous> (/usr/local/lib/node_modules/@ionic/cli/node_modules/@ionic/cli-framework/utils/node.js:3:20) at Module._compile (internal/modules/cjs/loader.js:1133:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
Posts: 1
Participants: 1