我在使用 vitepress 构建自己的博客,同时使用了仓库的部分提交约束库, 最近 vitepress 最新版本由 commonJS 升级到了 ESmodule,
I am using Vitepress to build my own blog, and at the same time, I have used some repository submission constraint libraries. Recently, the latest version of Vitepress has been upgraded from CommonJS to ES module.
要求必须是package.json中配置type:module,
The requirement is that type: module must be configured in the package.json file.
我在做出如上配置后, 在提交约束过程中遇到了一些自己无法解决的问题,具体可以看图片所示,在提交的最后一步产生了报错:
After making the above configuration, I encountered some problems that I couldn't solve during the submission constraint process. You can see the specific details in the picture below. An error occurred in the last step of submission.
希望能修复这个报错,让我正常提交代码, 如果还需要任何信息,可以随时回复.
I hope to fix this error so that I can submit the code normally. If any further information is needed, please feel free to reply.
开发者你好, Hello developer,
我在使用 vitepress 构建自己的博客,同时使用了仓库的部分提交约束库, 最近 vitepress 最新版本由 commonJS 升级到了 ESmodule, I am using Vitepress to build my own blog, and at the same time, I have used some repository submission constraint libraries. Recently, the latest version of Vitepress has been upgraded from CommonJS to ES module.
要求必须是
package.json
中配置type:module
, The requirement is thattype: module
must be configured in thepackage.json
file.我在做出如上配置后, 在提交约束过程中遇到了一些自己无法解决的问题,具体可以看图片所示,在提交的最后一步产生了报错: After making the above configuration, I encountered some problems that I couldn't solve during the submission constraint process. You can see the specific details in the picture below. An error occurred in the last step of submission.
package.json
System Info
希望能修复这个报错,让我正常提交代码, 如果还需要任何信息,可以随时回复. I hope to fix this error so that I can submit the code normally. If any further information is needed, please feel free to reply.