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

Cannot read properties of undefined (reading 'install') #7

Open
fjur opened this issue Jun 27, 2022 · 2 comments
Open

Cannot read properties of undefined (reading 'install') #7

fjur opened this issue Jun 27, 2022 · 2 comments

Comments

@fjur
Copy link

fjur commented Jun 27, 2022

Running into the following error when trying to run your project, installed via npm version 0.0.5 https://www.npmjs.com/package/nestjs-temporal

It seems that it thinks the core package from @temporal/worker is undefined

/node_modules/nestjs-temporal/dist/temporal.explorer.js:55
                yield worker_1.Core.install(coreConfig);
                                    ^
TypeError: Cannot read properties of undefined (reading 'install')
    at TemporalExplorer.<anonymous> (/node_modules/nestjs-temporal/dist/temporal.explorer.js:55:37)
    at Generator.next (<anonymous>)
    at fulfilled (/node_modules/nestjs-temporal/dist/temporal.explorer.js:14:58)

Also, how does this package work, does it boot up a worker service that listens on the same process as the controllers? Trying to implement this in a monolith where there are two separate apps, one that deals with API endpoints (controller), and the worker that solely runs workflows and activities

@yuvall-cyera
Copy link

I have the same problem

@yuvall-cyera
Copy link

The problem was that this repository relied on @temporalio/worker version 0.18.0, while I installed the latest one...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants