Skip to content

Commit e614db0

Browse files
committed
make path generic
1 parent eabf83f commit e614db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/upgrading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ If your version of Node.js is too old, you may see an error like:
3939

4040
```
4141
Uncaught:
42-
Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/matt/Documents/git/faker/dist/index.js not supported.
42+
Error [ERR_REQUIRE_ESM]: require() of ES Module <path>/faker/dist/index.js not supported.
4343
Instead, change the require of index.js in null to a dynamic import(), which is available in all CommonJS modules.
4444
```
4545

0 commit comments

Comments
 (0)