Skip to content

有docker镜像吗? #29

@yancanchen

Description

@yancanchen

有docker镜像吗?
跑起来报错,
node 22版本

nodemon] 1.19.4
[nodemon] to restart at any time, enter rs
[nodemon] watching dir(s): .
[nodemon] watching extensions: js,mjs,json
[nodemon] starting node server/app.js dev
文件自动加载失败... [ReferenceError: document is not defined
at detect (/Users/lizhi/soft/shida/node_modules/echarts/dist/echarts.js:142:33)
at /Users/lizhi/soft/shida/node_modules/echarts/dist/echarts.js:117:9
at /Users/lizhi/soft/shida/node_modules/echarts/dist/echarts.js:22:68
at Object. (/Users/lizhi/soft/shida/node_modules/echarts/dist/echarts.js:25:2)
at Module._compile (node:internal/modules/cjs/loader:1730:14)
at Object..js (node:internal/modules/cjs/loader:1895:10)
at Module.load (/Users/lizhi/soft/shida/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function._load (node:internal/modules/cjs/loader:1282:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.require (node:internal/modules/cjs/loader:1487:12)
at require (node:internal/modules/helpers:135:16)
at Object. (/Users/lizhi/soft/shida/node_modules/ffcreator/lib/index.js:13:17)
at Module._compile (node:internal/modules/cjs/loader:1730:14)
at Object..js (node:internal/modules/cjs/loader:1895:10)
at Module.load (/Users/lizhi/soft/shida/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function._load (node:internal/modules/cjs/loader:1282:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.require (node:internal/modules/cjs/loader:1487:12)
at require (node:internal/modules/helpers:135:16)
at Object. (/Users/lizhi/soft/shida/server/controller/video.js:6:29)
at Module._compile (node:internal/modules/cjs/loader:1730:14)
at Object..js (node:internal/modules/cjs/loader:1895:10)
at Module.load (/Users/lizhi/soft/shida/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function._load (node:internal/modules/cjs/loader:1282:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.require (node:internal/modules/cjs/loader:1487:12)
at require (node:internal/modules/helpers:135:16)
at /Users/lizhi/soft/shida/server/core/loader.js:18:22
at Array.forEach (:null:null)
at scanFilesByFolder (/Users/lizhi/soft/shida/server/core/loader.js:16:11)
at initController (/Users/lizhi/soft/shida/server/core/loader.js:58:3)
at new Application (/Users/lizhi/soft/shida/server/core/index.js:25:24)
at Object. (/Users/lizhi/soft/shida/server/app.js:2:13)
at Module._compile (node:internal/modules/cjs/loader:1730:14)
at Object..js (node:internal/modules/cjs/loader:1895:10)
at Module. (node:internal/modules/cjs/loader:1465:32)
at Function._load (node:internal/modules/cjs/loader:1282:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
at node:internal/main/run_main_module:36:49
]
文件自动加载失败... [ReferenceError: document is not defined
at detect (/Users/lizhi/soft/shida/node_modules/echarts/dist/echarts.js:142:33)
at /Users/lizhi/soft/shida/node_modules/echarts/dist/echarts.js:117:9
at /Users/lizhi/soft/shida/node_modules/echarts/dist/echarts.js:22:68
at Object. (/Users/lizhi/soft/shida/node_modules/echarts/dist/echarts.js:25:2)
at Module._compile (node:internal/modules/cjs/loader:1730:14)
at Object..js (node:internal/modules/cjs/loader:1895:10)
at Module.load (/Users/lizhi/soft/shida/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function._load (node:internal/modules/cjs/loader:1282:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.require (node:internal/modules/cjs/loader:1487:12)
at require (node:internal/modules/helpers:135:16)
at Object. (/Users/lizhi/soft/shida/node_modules/ffcreator/lib/index.js:13:17)
at Module._compile (node:internal/modules/cjs/loader:1730:14)
at Object..js (node:internal/modules/cjs/loader:1895:10)
at Module.load (/Users/lizhi/soft/shida/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function._load (node:internal/modules/cjs/loader:1282:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.require (node:internal/modules/cjs/loader:1487:12)
at require (node:internal/modules/helpers:135:16)
at Object. (/Users/lizhi/soft/shida/server/service/video.js:5:85)
at Module._compile (node:internal/modules/cjs/loader:1730:14)
at Object..js (node:internal/modules/cjs/loader:1895:10)
at Module.load (/Users/lizhi/soft/shida/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function._load (node:internal/modules/cjs/loader:1282:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.require (node:internal/modules/cjs/loader:1487:12)
at require (node:internal/modules/helpers:135:16)
at /Users/lizhi/soft/shida/server/core/loader.js:18:22
at Array.forEach (:null:null)
at scanFilesByFolder (/Users/lizhi/soft/shida/server/core/loader.js:16:11)
at initService (/Users/lizhi/soft/shida/server/core/loader.js:67:3)
at new Application (/Users/lizhi/soft/shida/server/core/index.js:26:21)
at Object. (/Users/lizhi/soft/shida/server/app.js:2:13)
at Module._compile (node:internal/modules/cjs/loader:1730:14)
at Object..js (node:internal/modules/cjs/loader:1895:10)
at Module. (node:internal/modules/cjs/loader:1465:32)
at Function._load (node:internal/modules/cjs/loader:1282:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
at node:internal/main/run_main_module:36:49
]
/Users/lizhi/soft/shida/server/router.js:58
router.post("/quark/video/making", $middleware.auth, $controller.video.making);
^

[TypeError: Cannot read properties of undefined (reading 'making')
at module.exports (/Users/lizhi/soft/shida/server/router.js:58:74)
at initRouter (/Users/lizhi/soft/shida/server/core/loader.js:51:26)
at new Application (/Users/lizhi/soft/shida/server/core/index.js:29:20)
at Object. (/Users/lizhi/soft/shida/server/app.js:2:13)
at Module._compile (node:internal/modules/cjs/loader:1730:14)
at Object..js (node:internal/modules/cjs/loader:1895:10)
at Module. (node:internal/modules/cjs/loader:1465:32)
at Function._load (node:internal/modules/cjs/loader:1282:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
at node:internal/main/run_main_module:36:49
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions