summaryrefslogtreecommitdiff
path: root/tests/specs/run/import_common_js/module_error.out
blob: 957b19cb1e68578e63dc2267adcfd3daa77ebd5a (plain)
1
2
3
4
5
6
7
8
9
10
11
error: Uncaught (in promise) ReferenceError: module is not defined
module.exports = {
^
    at [WILDCARD]module_error.js:1:1

    info: Deno supports CommonJS modules in .cjs files, or when the closest
          package.json has a "type": "commonjs" option.
    hint: Rewrite this module to ESM,
          or change the file extension to .cjs,
          or add package.json next to the file with "type": "commonjs" option.
    docs: https://docs.deno.com/go/commonjs