Closed pablomatgar closed 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
Okay, let's do it then @yong-asial
Bug description
Build in Monaca Preview does not work. The following error is encountered:
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.