You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Package.json contains both luxon and moment. #118 moves harness to use only Luxon for all datetime manipulation/interfaces, but the dependency on moment.js cannot yet be killed because of core dependency.
Seems like we should do something like this in the build script
ERROR in ./node_modules/cht-core-3-11/webapp/src/js/enketo/translator.js 1:15-32
Module not found: Error: Can't resolve 'moment' in '/home/runner/work/medic-conf-test-harness/medic-conf-test-harness/node_modules/cht-core-3-11/webapp/src/js/enketo'
resolve 'moment' in '/home/runner/work/medic-conf-test-harness/medic-conf-test-harness/node_modules/cht-core-3-11/webapp/src/js/enketo'
Parsed request is a module
using description file: /home/runner/work/medic-conf-test-harness/medic-conf-test-harness/node_modules/cht-core-3-11/webapp/package.json (relative path: ./src/js/enketo)
resolve as module
/home/runner/work/medic-conf-test-harness/medic-conf-test-harness/node_modules/cht-core-3-11/webapp/src/js/enketo/node_modules doesn't exist or is not a directory
/home/runner/work/medic-conf-test-harness/medic-conf-test-harness/node_modules/cht-core-3-11/webapp/src/js/node_modules doesn't exist or is not a directory
/home/runner/work/medic-conf-test-harness/medic-conf-test-harness/node_modules/cht-core-3-11/webapp/src/node_modules doesn't exist or is not a directory
/home/runner/work/medic-conf-test-harness/medic-conf-test-harness/node_modules/cht-core-3-11/webapp/node_modules doesn't exist or is not a directory
/home/runner/work/medic-conf-test-harness/medic-conf-test-harness/node_modules/cht-core-3-11/node_modules doesn't exist or is not a directory
/home/runner/work/medic-conf-test-harness/medic-conf-test-harness/node_modules/node_modules doesn't exist or is not a directory
looking for modules in /home/runner/work/medic-conf-test-harness/medic-conf-test-harness/node_modules
single file module
using description file: /home/runner/work/medic-conf-test-harness/medic-conf-test-harness/package.json (relative path: ./node_modules/moment)
no extension
Field 'browser' doesn't contain a valid alias configuration
/home/runner/work/medic-conf-test-harness/medic-conf-test-harness/node_modules/moment doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/home/runner/work/medic-conf-test-harness/medic-conf-test-harness/node_modules/moment.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/home/runner/work/medic-conf-test-harness/medic-conf-test-harness/node_modules/moment.json doesn't exist
.wasm
Field 'browser' doesn't contain a valid alias configuration
/home/runner/work/medic-conf-test-harness/medic-conf-test-harness/node_modules/moment.wasm doesn't exist
/home/runner/work/medic-conf-test-harness/medic-conf-test-harness/node_modules/moment doesn't exist
/home/runner/work/medic-conf-test-harness/node_modules doesn't exist or is not a directory
/home/runner/work/node_modules doesn't exist or is not a directory
/home/runner/node_modules doesn't exist or is not a directory
/home/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
@ ./ext/OpenrosaXpathEvaluatorBinding.js 7:17-73
@ ./node_modules/enketo-core/src/js/Form-model.js 566:38-76
@ ./node_modules/enketo-core/src/js/Form.js 3:16-41
@ ./src/form-host/wireup.js 2:19-53
@ ./src/form-host/index.js 2:19-38
The text was updated successfully, but these errors were encountered:
Package.json contains both
luxon
andmoment
. #118 moves harness to use only Luxon for all datetime manipulation/interfaces, but the dependency on moment.js cannot yet be killed because of core dependency.Seems like we should do something like this in the build script
The text was updated successfully, but these errors were encountered: