A potential fix is for upstream to update its babel-preset-react from version 6.24.1 to version 7.10.1 where the name also changes from babel-preset-react to @babel/preset-react
important error log: dh_auto_test --buildsystem=nodejs ln -s ../. node_modules/prop-types /bin/sh -ex debian/tests/pkg-js/test + jest FAIL __tests__/PropTypesProductionStandalone-test.js ● Test suite failed to run Cannot find module 'babel-preset-react' Require stack: - /usr/share/nodejs/@babel/core/lib/config/files/plugins.js - /usr/share/nodejs/@babel/core/lib/config/files/index.js - /usr/share/nodejs/@babel/core/lib/index.js - /usr/share/nodejs/babel-jest/build/loadBabelConfig.js - /usr/share/nodejs/babel-jest/build/index.js - /usr/share/nodejs/jest-util/build/requireOrImportModule.js - /usr/share/nodejs/jest-util/build/index.js - /usr/share/nodejs/jest-resolve/build/resolver.js - /usr/share/nodejs/jest-resolve/build/index.js - /usr/share/nodejs/jest-runtime/build/index.js - /usr/share/nodejs/jest-runner/build/testWorker.js - /usr/share/nodejs/jest-worker/build/workers/processChild.js - If you want to resolve "react", use "module:react" - Did you mean "@babel/react"? 155 | f.code = "MODULE_NOT_FOUND"; 156 | throw f; > 157 | })(id, { | ^ 158 | paths: [dirname] 159 | }) 160 | };at tryRequireResolve (../../../../../usr/share/nodejs/@babel/core/lib/config/files/plugins.js:157:9) at resolveStandardizedNameForRequrie (../../../../../usr/share/nodejs/@babel/core/lib/config/files/plugins.js:195:17) at sync (../../../../../usr/share/nodejs/@babel/core/lib/config/files/plugins.js:229:12)
at sync (../../../../../usr/share/nodejs/gensync/index.js:182:19) at ../../../../../usr/share/nodejs/gensync/index.js:210:24at resolvePreset (../../../../../usr/share/nodejs/@babel/core/lib/config/files/plugins.js:87:17)
at resolvePreset.next (<anonymous>) FAIL __tests__/PropTypesDevelopmentStandalone-test.js ● Test suite failed to run Cannot find module 'babel-preset-react' Require stack: - /usr/share/nodejs/@babel/core/lib/config/files/plugins.js - /usr/share/nodejs/@babel/core/lib/config/files/index.js - /usr/share/nodejs/@babel/core/lib/index.js - /usr/share/nodejs/babel-jest/build/loadBabelConfig.js - /usr/share/nodejs/babel-jest/build/index.js - /usr/share/nodejs/jest-util/build/requireOrImportModule.js - /usr/share/nodejs/jest-util/build/index.js - /usr/share/nodejs/jest-resolve/build/resolver.js - /usr/share/nodejs/jest-resolve/build/index.js - /usr/share/nodejs/jest-runtime/build/index.js - /usr/share/nodejs/jest-runner/build/testWorker.js - /usr/share/nodejs/jest-worker/build/workers/processChild.js - If you want to resolve "react", use "module:react" - Did you mean "@babel/react"? 155 | f.code = "MODULE_NOT_FOUND"; 156 | throw f; > 157 | })(id, { | ^ 158 | paths: [dirname] 159 | }) 160 | };at tryRequireResolve (../../../../../usr/share/nodejs/@babel/core/lib/config/files/plugins.js:157:9) at resolveStandardizedNameForRequrie (../../../../../usr/share/nodejs/@babel/core/lib/config/files/plugins.js:195:17) at sync (../../../../../usr/share/nodejs/@babel/core/lib/config/files/plugins.js:229:12)
at sync (../../../../../usr/share/nodejs/gensync/index.js:182:19) at ../../../../../usr/share/nodejs/gensync/index.js:210:24at resolvePreset (../../../../../usr/share/nodejs/@babel/core/lib/config/files/plugins.js:87:17)
at resolvePreset.next (<anonymous>) FAIL __tests__/PropTypesDevelopmentReact15.js ● Test suite failed to run Cannot find module 'babel-preset-react' Require stack: - /usr/share/nodejs/@babel/core/lib/config/files/plugins.js - /usr/share/nodejs/@babel/core/lib/config/files/index.js - /usr/share/nodejs/@babel/core/lib/index.js - /usr/share/nodejs/babel-jest/build/loadBabelConfig.js - /usr/share/nodejs/babel-jest/build/index.js - /usr/share/nodejs/jest-util/build/requireOrImportModule.js - /usr/share/nodejs/jest-util/build/index.js - /usr/share/nodejs/jest-resolve/build/resolver.js - /usr/share/nodejs/jest-resolve/build/index.js - /usr/share/nodejs/jest-runtime/build/index.js - /usr/share/nodejs/jest-runner/build/testWorker.js - /usr/share/nodejs/jest-worker/build/workers/processChild.js - If you want to resolve "react", use "module:react" - Did you mean "@babel/react"? 155 | f.code = "MODULE_NOT_FOUND"; 156 | throw f; > 157 | })(id, { | ^ 158 | paths: [dirname] 159 | }) 160 | };at tryRequireResolve (../../../../../usr/share/nodejs/@babel/core/lib/config/files/plugins.js:157:9) at resolveStandardizedNameForRequrie (../../../../../usr/share/nodejs/@babel/core/lib/config/files/plugins.js:195:17) at sync (../../../../../usr/share/nodejs/@babel/core/lib/config/files/plugins.js:229:12)
at sync (../../../../../usr/share/nodejs/gensync/index.js:182:19) at ../../../../../usr/share/nodejs/gensync/index.js:210:24at resolvePreset (../../../../../usr/share/nodejs/@babel/core/lib/config/files/plugins.js:87:17)
at resolvePreset.next (<anonymous>) FAIL __tests__/PropTypesProductionReact15-test.js ● Test suite failed to run Cannot find module 'babel-preset-react' Require stack: - /usr/share/nodejs/@babel/core/lib/config/files/plugins.js - /usr/share/nodejs/@babel/core/lib/config/files/index.js - /usr/share/nodejs/@babel/core/lib/index.js - /usr/share/nodejs/babel-jest/build/loadBabelConfig.js - /usr/share/nodejs/babel-jest/build/index.js - /usr/share/nodejs/jest-util/build/requireOrImportModule.js - /usr/share/nodejs/jest-util/build/index.js - /usr/share/nodejs/jest-resolve/build/resolver.js - /usr/share/nodejs/jest-resolve/build/index.js - /usr/share/nodejs/jest-runtime/build/index.js - /usr/share/nodejs/jest-runner/build/testWorker.js - /usr/share/nodejs/jest-worker/build/workers/processChild.js - If you want to resolve "react", use "module:react" - Did you mean "@babel/react"? 155 | f.code = "MODULE_NOT_FOUND"; 156 | throw f; > 157 | })(id, { | ^ 158 | paths: [dirname] 159 | }) 160 | };at tryRequireResolve (../../../../../usr/share/nodejs/@babel/core/lib/config/files/plugins.js:157:9) at resolveStandardizedNameForRequrie (../../../../../usr/share/nodejs/@babel/core/lib/config/files/plugins.js:195:17) at sync (../../../../../usr/share/nodejs/@babel/core/lib/config/files/plugins.js:229:12)
at sync (../../../../../usr/share/nodejs/gensync/index.js:182:19) at ../../../../../usr/share/nodejs/gensync/index.js:210:24at resolvePreset (../../../../../usr/share/nodejs/@babel/core/lib/config/files/plugins.js:87:17)
at resolvePreset.next (<anonymous>) Test Suites: 4 failed, 4 total Tests: 0 total Snapshots: 0 total Time: 4.665 s Ran all test suites.dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
OpenPGP_0x1FF1115A4CAC464D.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature