Skip to content

Error in running the typescript example #259

Open
@fretchen

Description

@fretchen

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

What did you do?

I tried to deploy the example on typescript. As I tried to run the tsccommand (following the instructions in the readme), I had the error:

Cannot find module '@scaleway/serverless-functions/framework/dist/types/types' or its corresponding type declarations.

5 } from "@scaleway/serverless-functions/framework/dist/types/types";

What did you expect to see?

A compiled handler.js

What did you see instead?

What version of Node are you using (node --version)?

$ node --version

v22.9.0

Does this issue reproduce with the latest release?

Yes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions