payload icon indicating copy to clipboard operation
payload copied to clipboard

Warning from yarn install

Open wrobson-lllow opened this issue 1 year ago • 1 comments

Link to reproduction

No response

Describe the Bug

I was originally on payload 2.5.0 and when running a yarn install I got an error for the following dependencies of payload:

payload > json-schema-to-typescript > glob > [email protected] payload > pino-pretty > help-me > glob > [email protected]

The error is: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.

I updated Payload to version 2.18.3, as well as updating all of my payload plugins to the latest version and I'm still receiving the error.

To Reproduce

Run Yarn install on payload v2.18.3

Payload Version

2.18.3

Adapters and Plugins

"@payloadcms/bundler-webpack": "^1.0.6", "@payloadcms/db-mongodb": "1.5.1", "@payloadcms/plugin-cloud": "^3.0.1", "@payloadcms/richtext-slate": "^1.5.2"

wrobson-lllow avatar May 24 '24 14:05 wrobson-lllow

https://www.npmjs.com/package/inflight

Looks like inflight is deprecated. According to this SO post, it is caused by something in eslint-typescript because there is a version mismatch;

https://stackoverflow.com/questions/78527247/have-used-npm-create-vitelatest-but-after-finishing-the-compilations-am-getting

MarkAtOmniux avatar May 27 '24 15:05 MarkAtOmniux

This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.

github-actions[bot] avatar Sep 06 '24 22:09 github-actions[bot]