I have an error in the build with Ionic Pro
npm info using node@v8.2.1
npm info lifecycle clientApp@0.0.1~prebuild: clientApp@0.0.1
npm info lifecycle clientApp@0.0.1~build: clientApp@0.0.1
clientApp@0.0.1 build /usr/src/app
ionic-app-scripts build
module.js:487
throw err;
^
Error: Cannot find module ‘./templates.js’
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/chalk/index.js:6:18)
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 clientApp@0.0.1~build: Failed to exec build script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! clientApp@0.0.1 build: ionic-app-scripts build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the clientApp@0.0.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I have no error when I build in local.
And I have no idea of the error.
What can I do ?