Laomai-codefee / pdfjs-annotation-extension

An annotation extension based on the PDF.js viewer. Supporting the editing of existing PDF file annotations, posting comments, replying, submitting annotation data, and loading for further editing.
https://github.com/Laomai-codefee/pdfjs-annotation-extension
Apache License 2.0
122 stars 22 forks source link

调试出错,请问大佬的nodejs版本是多少? #21

Closed mayamoon closed 1 day ago

mayamoon commented 4 days ago

我用18.12.1 以及 20.12.0 版本都无法调试代码报错 [webpack-cli] Failed to load 'D:\node_project\pdfjs-annotation-extension\configuration[webpack.dev](http://webpack.dev/).config.js' config [webpack-cli] Error: Cannot find module 'ajv/dist/compile/codegen' Require stack:

mayamoon commented 4 days ago

通过强制设置ajv版本可以解决 "ajv": "^7.0.0", "ajv-keywords": "^5.0.0"

Laomai-codefee commented 1 day ago

解决了就好~