Reputation: 453
While executing
ionic cordova build android
command, getting following error.
(node:17852) UnhandledPromiseRejectionWarning: Error: EBUSY: resource busy or locked, open 'D:\project\xxxx\xxxx\www\assets\fonts\xxx.woff' (Use
node --trace-warnings ...
to show where the warning was created) (node:17852) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
I did following things, but no luck.
Can anybody have any idea about this? Actually code was working fine and suddenly facing these problem.
Regards
Upvotes: 1
Views: 815
Reputation: 453
Time being I fixed the problem by deleting all the fonts from 'D:\project\xxxx\www\assets\fonts' from this folder and copy paste the font from 'D:\project\xxxx\node_modules\ionic-angular\fonts' every time.
Upvotes: 0