Ionic pro building error


#1

Hi All!!!

I am getting the below error when I pushed my code in IONIC PRO

ionic-app-scripts build

module.js:487
throw err;
^

Error: Cannot find module './build/util’
at Function.Module._resolveFilename (module.js:485:15)
at Function.Module._load (module.js:437:25)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object. (/usr/src/app/node_modules/@ionic/app-scripts/dist/build.js:38:14)
at Module._compile (module.js:569:30)
at Object.Module._extensions…js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
npm info lifecycle Deventy-Dev@1.0.0~build: Failed to exec build script

Any ideas?


#2

Were you able to figure this, @MarinoRaul?


#3

Were you able to figure this out? I’m hitting the same error.

  • Janisha