Skip to content
New issue

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

TypeError: this.logger is not a function #2431

Closed
root-io opened this issue Mar 24, 2021 · 2 comments
Closed

TypeError: this.logger is not a function #2431

root-io opened this issue Mar 24, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@root-io
Copy link

root-io commented Mar 24, 2021

Describe the bug

It crash just after start. I can give more details if needed.

/node_modules/@cubejs-backend/server-core/dist/src/core/server.js:262
                this.logger('Cube Store is not supported on your system', {
                     ^

TypeError: this.logger is not a function
    at CubejsServerCore.handleConfiguration (/node_modules/@cubejs-backend/server-core/dist/src/core/server.js:262:22)
    at new CubejsServerCore (/node_modules/@cubejs-backend/server-core/dist/src/core/server.js:98:29)
    at Function.create (/node_modules/@cubejs-backend/server-core/dist/src/core/server.js:343:16)
    at file:///src/index.js:21:18
    at ModuleJob.run (internal/modules/esm/module_job.js:152:23)
    at async Loader.import (internal/modules/esm/loader.js:166:24)
    at async Object.loadESM (internal/process/esm_loader.js:68:5)

Version:
@cubejs-backend/postgres-driver 0.26.65
@cubejs-backend/server-core 0.26.65
@cubejs-backend/snowflake-driver 0.26.65
Node.js 14.16.0
macOS 11 (Big Sur)

Additional context
I run CubejsServerCore with express and node (no docker)

@ovr ovr added the bug Something isn't working label Mar 24, 2021
@ovr ovr self-assigned this Mar 24, 2021
ovr added a commit that referenced this issue Mar 24, 2021
ovr added a commit that referenced this issue Mar 24, 2021
ovr added a commit that referenced this issue Mar 24, 2021
ovr added a commit that referenced this issue Mar 24, 2021
ovr added a commit that referenced this issue Mar 24, 2021
@ovr ovr closed this as completed in d715dc0 Mar 24, 2021
@root-io
Copy link
Author

root-io commented Mar 24, 2021

Thanks :)

@ovr
Copy link
Member

ovr commented Mar 24, 2021

Thank you @root-io for bug reporting, It's was my miss in the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants