Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - 启动项目提示DeprecationWarning #1

Closed
jhoneybee opened this issue Dec 25, 2020 · 2 comments
Closed

[BUG] - 启动项目提示DeprecationWarning #1

jhoneybee opened this issue Dec 25, 2020 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@jhoneybee
Copy link
Contributor

i 「wds」: Project is running at http://localhost:3000/
i 「wds」: webpack output is served from undefined
i 「wds」: Content not from webpack is served from D:\Code\doc\examples\normal
(node:8664) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at D:\Code\doc\node_modules\postcss\package.json.
Update this package.json to use a subpath pattern like "./*".
(Use `node --trace-deprecation ...` to show where the warning was created)
i 「wdm」: Compiled successfully.
i 「wdm」: Compiling...
i 「wdm」: Compiled successfully.
@jhoneybee jhoneybee changed the title BUG: 启动项目提示DeprecationWarning [BUG] - 启动项目提示DeprecationWarning Dec 25, 2020
@jhoneybee jhoneybee added the bug Something isn't working label Dec 25, 2020
@jhoneybee
Copy link
Contributor Author

jhoneybee commented Dec 25, 2020

see postcss/postcss#1456
see postcss/postcss#1455

测试发现 postcss 8.1.5 不会出现此问题, 8.2.1 存在此问题。

@jhoneybee jhoneybee added the help wanted Extra attention is needed label Jan 6, 2021
@jhoneybee
Copy link
Contributor Author

node 更新到 15.6.0 即解决问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant