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

node-services don't update to the latest snapshot when running ./gradlew :services:node-services:dockerBuild #364

Open
tillrohrmann opened this issue Jul 24, 2024 · 1 comment

Comments

@tillrohrmann
Copy link
Contributor

When running ./gradlew :services:node-services:dockerBuild, the node-services won't pull the latest restate sdk dependencies. This often leads to failures like:

> [email protected] build
> tsc --noEmitOnError

src/interpreter/test_driver.ts:253:25 - error TS2339: Property 'interpret' does not exist on type 'IngressSendClient<unknown>'.

253           return client.interpret(
                            ~~~~~~~~~

src/interpreter/test_driver.ts:312:64 - error TS2339: Property 'counter' does not exist on type 'IngressClient<unknown>'.

312             await ingress.objectClient(interpreterLn, `${id}`).counter()
                                                                   ~~~~~~~


Found 2 errors in the same file, starting at: src/interpreter/test_driver.ts:253

The problem seems to be related to the package-lock.json and the node-modules. If I delete both, then it fetches the latest updates. It would be great if running the gradle task would always pull in the latest dependencies.

@AhmedSoliman
Copy link
Contributor

Note for the future: I expect "gradle clean" to do that cleanup

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