(node:50086) [DEP0128] DeprecationWarning: Invalid 'main' field in '/kohadevbox/node_modules/po2json/package.json' of './lib/po2json'. Please either fix that or report it to the module author (Use `node --trace-deprecation ...` to show where the warning was created)
Created attachment 172249 [details] [review] Bug 38048: Remove po2json deprecation warning (node:50086) [DEP0128] DeprecationWarning: Invalid 'main' field in '/kohadevbox/node_modules/po2json/package.json' of './lib/po2json'. Please either fix that or report it to the module author (Use `node --trace-deprecation ...` to show where the warning was created) See https://github.com/mikeedwards/po2json/issues/103 The project is not really maintained, so let's remove the warning on our side as a quick workaround. Test plan: Run `koha-translate --update es-ES --dev kohadev`
You may need bug 38031 to test this.
Created attachment 172263 [details] [review] Bug 38048: Remove po2json deprecation warning (node:50086) [DEP0128] DeprecationWarning: Invalid 'main' field in '/kohadevbox/node_modules/po2json/package.json' of './lib/po2json'. Please either fix that or report it to the module author (Use `node --trace-deprecation ...` to show where the warning was created) See https://github.com/mikeedwards/po2json/issues/103 The project is not really maintained, so let's remove the warning on our side as a quick workaround. Test plan: Run `koha-translate --update es-ES --dev kohadev` WNC amended patch - tidied Signed-off-by: Nick Clemens <nick@bywatersolutions.com>