Hello, I am attempting to use the temporal typescript sdk but am encountering a problem when running npx @temporalio/create@latest
. When it attempts to install the worker library is produces this error message
error: failed to get `temporal-sdk-core` as a dependency of package `temporal-sdk-typescript-bridge v0.1.0 (C:\Users\Drumm\Desktop\Work\Sponsors-Generator\main\node_modules\@temporalio\core-bridge)`
Caused by:
failed to load source for dependency `temporal-sdk-core`
Caused by:
Unable to update C:\Users\Drumm\Desktop\Work\Sponsors-Generator\main\node_modules\@temporalio\core-bridge\sdk-core
Caused by:
failed to parse manifest at `C:\Users\Drumm\Desktop\Work\Sponsors-Generator\main\node_modules\@temporalio\core-bridge\sdk-core\Cargo.toml`
Caused by:
feature `edition2021` is required
this Cargo does not support nightly features, but if you
switch to nightly channel you can add
`cargo-features = ["edition2021"]` to enable this feature
Did not copy "cdylib:temporal_sdk_typescript_bridge"
I’m following the steps in the documentation so not exactly sure how to proceed
I’ve also tried manually installing the libraries with npm
and gotten the same error with the worker library