"dependencies": {
"codemirror": "^5.46.0",
"codemirror-colorpicker": "^1.9.50",
"tern": "^0.24.0",
"tern-browser-extension": "^0.3.0",
"@emmetio/codemirror-plugin": "^0.5.4",
"imports-loader": "^0.8.0",
"lodash": "^4.17.11",
},
pay attention to codemirror.js: const ternServer = new CodeMirror.TernServer({