summaryrefslogtreecommitdiff
path: root/tests/specs/run/import_common_js/require_error.out
blob: e13db85e8e85dfd24b626d490a97d15451b310cd (plain)
1
2
3
4
5
6
7
8
9
10
11
error: Uncaught (in promise) ReferenceError: require is not defined
const process = require("process");
                ^
    at [WILDCARD]require_error.js:1:17

    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