browserify / browserify/common-shakeify

v1.1 has a bug compared to v0 and v1.0: require can't take a number

Open
#41 3 comments 1 reaction 1 assignee Claimed by @goto-bus-stop View on GitHub
bug
Dominant language
JavaScript
Stars
103
Forks
8
PR merge metrics
No merged PRs in 30d

Description

I get this error output in my tests:
```
node:internal/validators:114
throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
^

TypeError [ERR_INVALID_ARG_TYPE]: The "id" argument must be of type string. Received type number (298)
at new NodeError (node:internal/errors:388:5)
at validateString (node:internal/validators:114:11)
at Module.require (node:internal/modules/cjs/loader:1005:3)
at require (node:internal/modules/cjs/helpers:102:18)
```

I suspect this was introduced in #31.

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.