Deprecation warning when compiling a module with current R
Posted: Thu Jun 26, 2025 9:23 am
Using the current R version (4.5.1), current Jamovi version (2.6.44), and the current jmvtools version (2.7.2 as per repo.jamovi.org), I get the following deprecation warning when compiling a home-grown Jamovi module, at least on Windows:
(node:5524) [DEP0128] DeprecationWarning: Invalid 'main' field in '[...path...]\library\jmvtools\node_modules\jamovi-compiler\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)
(If it should be helpful, I am happy to share my Jamovi module code. It is not secret in any way, just not very interesting to the outside world as a module.)
Since I have unfortunately no idea how to fix the above-mentioned warning, I am resorting to reporting it to the module author
Since the compiled module seems to work fine, I am not overly concerned for now. And yes, I am aware that my R version may not be officially supported by Jamovi yet. So I am not complaining!
... Oh yes, and thanks to all the contributors for a remarkable project and product!
(node:5524) [DEP0128] DeprecationWarning: Invalid 'main' field in '[...path...]\library\jmvtools\node_modules\jamovi-compiler\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)
(If it should be helpful, I am happy to share my Jamovi module code. It is not secret in any way, just not very interesting to the outside world as a module.)
Since I have unfortunately no idea how to fix the above-mentioned warning, I am resorting to reporting it to the module author

Since the compiled module seems to work fine, I am not overly concerned for now. And yes, I am aware that my R version may not be officially supported by Jamovi yet. So I am not complaining!
... Oh yes, and thanks to all the contributors for a remarkable project and product!