In the files app trying to import the node modules in the file āfile-upload.jsā. which gives the error āCannot use import statement outside a moduleāā¦although node_modules folder and package.json folder are inside the files app.i have also tried adding type=āmoduleāā¦it did not solve the issue.
version:
nc18
PHP 7.2.24-0
ubuntu0.18.04.4
Have you find a solution ?