While generating a pipe file using ionic cli by
ionic g pipe example
results in the following error:
Error: ENOENT: no such file or directory, open '<PROJECT_PATH>/src/PIPES/example.module.ts'
at Object.fs.openSync (fs.js:652:18)
at Object.fs.writeFileSync (fs.js:1299:33)
at createCommonModule (/home/future/Projects/SmartUpCode/smartupcrm-mobile/node_modules/@ionic/app-scripts/dist/generators/util.js:77:10)
at Object.<anonymous> (<PROJECT_PATH>/node_modules/@ionic/app-scripts/dist/generators/util.js:238:29)
at step (<PROJECT_PATH>e/node_modules/@ionic/app-scripts/dist/generators/util.js:32:23)
at Object.next (<PROJECT_PATH>/node_modules/@ionic/app-scripts/dist/generators/util.js:13:53)
at fulfilled (<PROJECT_PATH>/node_modules/@ionic/app-scripts/dist/generators/util.js:4:58)
at <anonymous>