Title: A warning statement appears when I run React
Tags: node.js;reactjs
Question: A warning statement appears when you run React.
please help me.
(node:17128) [DEP0148] DeprecationWarning: Use of deprecated folder mapping &quot;./&quot; in the &quot;exports&quot; field module resolution of the package at
C:\Users\adqwe\Desktop\dsad\dev\peonani-web\node_modules\postcss-js\package.json.
Update this package.json to use a subpath pattern like &quot;./*&quot;.
(Use `node --trace-deprecation ...` to show where the warning was created)
Comment: Thank you.
I downgraded postcss version.

Comment: See if they've updated that module to address the deprecation?

Here is the accepted answer: postcss version downgraded
&quot;postcss&quot;: &quot;^8.3.6&quot;, -&gt; &quot;postcss&quot;:  &quot;^8.2.12&quot;
Comment for this answer: You should upgrade to 8.2.13 now if possible because of a vulnerability in postcss that was patched in that version.
Comment for this answer: @Suzana You're right.


{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 2, 'ContentLicense': 'CC BY-SA 4.0', 'CreationDate': '2021:00:08/26/21', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<node.js><reactjs>', 'Title': 'A warning statement appears when I run React', 'ViewCount': 1744, 'id': 68941374, 'user_AboutMe': '', 'user_AccountId': 20502324.0, 'user_DisplayName': 'xersuy', 'user_Reputation': 57.0, 'user_Views': 2.0, 'user_id': 15045974.0}}