Ironclad / rivet

The open-source visual AI programming environment and TypeScript library
https://rivet.ironcladapp.com
MIT License
2.55k stars 226 forks source link

[Bug]: is:issue error TS2307: Cannot find module '@gentrace/core/dist/models/pipelines-get200-response-pipelines-inner.js' #350

Open heaversm opened 4 months ago

heaversm commented 4 months ago

What happened?

A bug happened!

What was the expected functionality?

Rivet did not work as expected!

Describe your environment

MacOS, Node 14.0.0, etc.

Relevant log output

rivet/rivet-node/rivet-node-basic-example is 📦 v1.0.0 via  v20.9.0 on ☁️  mheavers@gmail.com 
❯ npm run build    

> rivet-node_example@1.0.0 build
> tsc

node_modules/@ironclad/rivet-core/dist/types/plugins/gentrace/plugin.d.ts:4:87 - error TS2307: Cannot find module '@gentrace/core/dist/models/pipelines-get200-response-pipelines-inner.js' or its corresponding type declarations.

4 export declare const getGentracePipelines: (gentraceApiKey: string) => Promise<import("@gentrace/core/dist/models/pipelines-get200-response-pipelines-inner.js").PipelinesGet200ResponsePipelinesInner[]>;
                                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/rivet.ts:13:5 - error TS2353: Object literal may only specify known properties, and 'remoteDebugger' does not exist in type 'RunGraphOptions'.

13     remoteDebugger: debuggerServer,
       ~~~~~~~~~~~~~~

Found 2 errors in 2 files.

Errors  Files
     1  node_modules/@ironclad/rivet-core/dist/types/plugins/gentrace/plugin.d.ts:4
     1  src/rivet.ts:13


### Relevant screenshots

<img width="1610" alt="image" src="https://github.com/Ironclad/rivet/assets/520541/2fb34547-d266-4189-b632-cf1ec611c993">

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct
ghalebbadran commented 1 month ago

any workaround?