Skip to content

Conversation

@hckhanh
Copy link

@hckhanh hckhanh commented Dec 31, 2022

Every time I install this package, I always see this warning:

(node:10904) [DEP0128] DeprecationWarning: Invalid 'main' field in 'C:\Users\hoang\WebstormProjects\saladin-utils\node_modules\.pnpm\[email protected]\node_modules\is-gen-fn\package.json' of 'yes'. Please either fix that or report it to the module author
    at tryPackage (node:internal/modules/cjs/loader:411:15)
    at Module._findPath (node:internal/modules/cjs/loader:613:18)
    at Module._resolveFilename (node:internal/modules/cjs/loader:981:27)
    at Module._load (node:internal/modules/cjs/loader:841:27)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (C:\Users\hoang\WebstormProjects\saladin-utils\node_modules\.pnpm\k[email protected]\node_modules\koa-joi-router\joi-router.js:5:17)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)

@hckhanh hckhanh changed the title Master Fix warning with is-gen-fn package Dec 31, 2022
@hckhanh hckhanh marked this pull request as ready for review December 31, 2022 11:13
@sicksick
Copy link

Please apply this MR, need it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants