uzxmx / coc-java-intellicode

An extension to provide AI-assisted development features for java in coc.nvim
MIT License
0 stars 0 forks source link

TypeError: Class extends value undefined is not a constructor or null #1

Open iamxiaojianzheng opened 2 years ago

iamxiaojianzheng commented 2 years ago

use coc.nvim

CocInstall: coc-java coc-java-intellicode

2022-04-14T10:38:11.252 ERROR (pid:144144) [extensions] - Error on createExtension coc-java-intellicode from C:\Users\JIAHE\AppData\Local\coc\extensions\node_modules\coc-java-intellicode\lib\index.js TypeError: Class extends value undefined is not a constructor or null at Object. (C:\Users\JIAHE\AppData\Local\coc\extensions\node_modules\coc-java-intellicode\lib\index.js:7058:48) at webpack_require (C:\Users\JIAHE\AppData\Local\coc\extensions\node_modules\coc-java-intellicode\lib\index.js:20:30) at Object. (C:\Users\JIAHE\AppData\Local\coc\extensions\node_modules\coc-java-intellicode\lib\index.js:129:22) at webpack_require (C:\Users\JIAHE\AppData\Local\coc\extensions\node_modules\coc-java-intellicode\lib\index.js:20:30) at C:\Users\JIAHE\AppData\Local\coc\extensions\node_modules\coc-java-intellicode\lib\index.js:84:18 at Object. (C:\Users\JIAHE\AppData\Local\coc\extensions\node_modules\coc-java-intellicode\lib\index.js:87:10) at Module._compile (C:\Users\JIAHE.config\nvim\autoload\plugged\coc.nvim\build\index.js:64726:28) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12)

uzxmx commented 2 years ago

Using the latest coc.nvim, I reproduced the issue. New release of coc.nvim has changed some APIs, so there're some works to do, I'm still working on that.

BTW, this project was just an experiment of myself, trying to get the faster completion experience like vscode-java. But these days, I conclude that the slow completion in coc-java is caused by its client configurations. So I want to ask, did you encounter the same slow behavior as me when using coc-java? Or you just want to experiment on vscode-intellisense?