fregante / fregante/my-recurrent-errors

SyntaxError: Cannot use 'import.meta' outside a module

Open
#3 1 comment 0 reactions 0 assignees View on GitHub
AVA
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
❯ ava

✖ No tests found in tests/index.jsx

Uncaught exception in tests/index.jsx

./tests/index.jsx:13
const _require = (0, _module.createRequire)(import.meta.url);
^^^^

SyntaxError: Cannot use 'import.meta' outside a module

1 uncaught exception
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.