We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can not build project with angular 12 project. ng build get error like this:
ng build
Error: node_modules/vditor/dist/index.d.ts:1:23 - error TS2688: Cannot find type definition file for './types'. 1 /// <reference types="./types" /> ~~~~~~~ Error: node_modules/vditor/dist/index.d.ts:6:13 - error TS2304: Cannot find name 'IVditor'. 6 vditor: IVditor; ~~~~~~~ Error: node_modules/vditor/dist/index.d.ts:11:53 - error TS2304: Cannot find name 'IOptions'. 11 constructor(id: string | HTMLElement, options?: IOptions); ~~~~~~~~ Error: node_modules/vditor/dist/index.d.ts:64:22 - error TS2304: Cannot find name 'ICommentsData'. 64 getCommentIds(): ICommentsData[]; ~~~~~~~~~~~~~ Error: node_modules/vditor/dist/method.d.ts:1:23 - error TS2688: Cannot find type definition file for './types'. 1 /// <reference types="./types" /> ~~~~~~~ Error: node_modules/vditor/dist/method.d.ts:10:43 - error TS2304: Cannot find name 'IHljs'. 10 static highlightRender: (hljsOption?: IHljs, element?: HTMLElement | Document, cdn?: string) => void; ~~~~~ Error: node_modules/vditor/dist/method.d.ts:14:16 - error TS2304: Cannot find name 'IMath'. 14 math?: IMath; ~~~~~ Error: node_modules/vditor/dist/method.d.tsm:29:90 - error TS2304: Cannot find name 'IVditor'. 29 static outlineRender: (contentElement: HTMLElement, targetElement: Element, vditor?: IVditor) => string; ~~~~~~~ Error: node_modules/vditor/dist/method.d.ts:37:48 - error TS2304: Cannot find name 'IPreviewOptions'. 37 static md2html: (mdText: string, options?: IPreviewOptions) => Promise<string>; ~~~~~~~~~~~~~~~ Error: node_modules/vditor/dist/method.d.ts:39:82 - error TS2304: Cannot find name 'IPreviewOptions'. 39 static preview: (previewElement: HTMLDivElement, markdown: string, options?: IPreviewOptions) => Promise<void>; ~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
没有把types文件夹打到dist里面,看了下webpack CopyPlugin 少了{from: 'types', to: 'types'},
Sorry, something went wrong.
revert vditor to 3.8.4
206e466
3.8.5 will never work, see Vanessa219/vditor#1015
#1034
No branches or pull requests
描述问题
Can not build project with angular 12 project.
ng build
get error like this:版本信息
其他信息
The text was updated successfully, but these errors were encountered: