Skip to content

No typescript module when deploying AgentGPT in newer version Node.js, either in Vercel and Netlify. #1536

Open
@codenamedpkt

Description

@codenamedpkt

Please check that this issue hasn't been reported before.

  • I searched previous Bug Reports didn't find any similar reports.

Expected Behavior

Deploy successful and pages appear.

Current behaviour

It looks like you're trying to use TypeScript but do not have the required package(s) installed.

Steps to reproduce

npm i -g && npm up -g && npm audit fix --force && npm run build ran in console and reproduce errors.

Possible solution

Add vercel.json and netlify.toml and make sure all the components are sufficient and in possible latest version. Specifically, make sure typescript metioned in package.json and package-lock.json.

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Acknowledgements

  • My issue title is concise, descriptive, and in title casing.
  • I have searched the existing issues to make sure this bug has not been reported yet.
  • I am using the latest version of AgentGPT.
  • I have provided enough information for the maintainers to reproduce and diagnose the issue.

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