pablomatgar / Japanese-Sign-Language-Interpreter

Mobile application developed using Vue.js, Monaca, Framework7, Cordova and Teachable Machine, which recognises gestures from the Japanese Sign Language and converts them to Japanese text, with the possibility of translating them into English or Spanish.
MIT License
2 stars 3 forks source link

Monaca Preview has errors #12

Closed pablomatgar closed 2 years ago

pablomatgar commented 2 years ago

Bug description

Build in Monaca Preview does not work. The following error is encountered:

Bug screenshot:

bug screenshot

According to Google, this error is caused because of the Node.js version, but I don't know how to change it in Monaca preview.

Resources:

https://stackoverflow.com/questions/69665780/error-err-unsupported-esm-url-scheme-only-file-and-data-urls-are-supported-by

https://github.com/vercel/next.js/discussions/29080

https://www.angularfix.com/2022/01/error-errunsupportedesmurlscheme-only.html

Correct behaviour

This error should not appear and Monaca Preview should build the app without errors.

How to reproduce

Upload the project to Monaca Cloud and check the Preview.

yong-asial commented 2 years ago

@pablomatgar i confirmed it is working fine on Monaca Cloud IDE if we upgrade Node version to 16. Since we are planning to release Cordova 11 support (Node 16) this week, we don't have to fix this issue. Let's do following

pablomatgar commented 2 years ago

Okay, let's do it then @yong-asial