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

@rollup/plugin-json 这个插件引入解决什么问题? #8

Closed
hefangxuan opened this issue Mar 8, 2021 · 2 comments
Closed

@rollup/plugin-json 这个插件引入解决什么问题? #8

hefangxuan opened this issue Mar 8, 2021 · 2 comments

Comments

@hefangxuan
Copy link

  • 21-02-19 报错 https://github.com/ajv-validator/ajv/issues/1399
    Circular dependency: node_modules\conf\node_modules\ajv\dist\compile\validate\dataType.js -> node_modules\conf\node_modules\ajv\dist\compile\util.js -> node_modules\conf\node_modules\ajv\dist\compile\validate\index.js -> node_modules\conf\node_modules\ajv\dist\compile\validate\dataType.js

此错误是什么问题,我去掉 @rollup/plugin-json 这个插件,就一切正常。我不是很懂,能帮我解惑吗

@caoxiemeihao
Copy link
Member

caoxiemeihao commented Mar 10, 2021

这个报错应该不影响打包的;控制台会有警告
官方也没回答这个问题,应该会在下个版本解决这个问题;或者我们换个版本避开这个问题
ajv-validator/ajv#1399

此外这个礼拜在面试,面试完了我再搞搞这个工程

@caoxiemeihao
Copy link
Member

caoxiemeihao commented Mar 11, 2021

这个报错应该不影响打包的;控制台会有警告
官方也没回答这个问题,应该会在下个版本解决这个问题;或者我们换个版本避开这个问题
ajv-validator/ajv#1399

此外这个礼拜在面试,面试完了我再搞搞这个工程

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

No branches or pull requests

2 participants