ReferenceError: navigator is not defined
at D:\code\front\vite-blog\node_modules\codemirror\lib\codemirror.js:18:19
at D:\code\front\vite-blog\node_modules\codemirror\lib\codemirror.js:11:83
at Object. (D:\code\front\vite-blog\node_modules\codemirror\lib\codemirror.js:14:2)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12)
at ModuleWrap. (node:internal/modules/esm/translators:203:29)
at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:337:24)
ReferenceError: navigator is not defined at D:\code\front\vite-blog\node_modules\codemirror\lib\codemirror.js:18:19 at D:\code\front\vite-blog\node_modules\codemirror\lib\codemirror.js:11:83 at Object. (D:\code\front\vite-blog\node_modules\codemirror\lib\codemirror.js:14:2)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12)
at ModuleWrap. (node:internal/modules/esm/translators:203:29)
at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:337:24)