#"This file is CommonJS because 'module' was used"
1 messages · Page 1 of 1 (latest)
this error should only occur when you use module or module.exports in the file with import syntax
@orchid venture I wonder how hard it would be to report the location of module for this error
it should be possible
the above file does not reproduce the error for me
i would look /root/Projects/REDACTED/main.ts and see if the variable name module is used at all
ugh, two issues
- wrong file in the error
- this shouldnt be an error
if this is a file you control can you change it to import.meta.main