Skip to content

[Bug]: on.replace is not a function #2197

@hadizz

Description

@hadizz

Error ID

da8973d5-7dbc-47ed-8337-425b93f8a406

What happened?

it cant push my code to the gadget. i run ggt dev ./my-folder --app my-app-name --env=development and this is the error

✔ Calculated file changes. 02:04:07 PM

↓ Pulled files. 02:04:11 PM
+  _utils.ts                                                          created
+  .agents/skills/                                                    created
+  .agents/skills/gadget-best-practices/                              created
+  .agents/skills/gadget-best-practices/references/                   created
+  .agents/skills/gadget-best-practices/references/access-control.md  created
…  635 more

640 changes in total. 640 created.

✔ Ran "yarn install --check-files" 02:04:17 PM

✔ Calculated file changes. 02:04:18 PM

✘ Pushing file. →
±  yarn.lock  update

An error occurred while communicating with Gadget

Gadget responded with the following error:

  • on.replace is not a function

If you think this is a bug, click here to create an issue on GitHub.

Application  upez
Environment  development
     Branch  feature/test

Preview  Editor  Playground  Docs

What did you expect to happen?

to update gadget server files

Steps to reproduce

  1. run the cli, choose environment
  2. wait and see it is not pushing the code and stucks in the process.

Anything else?

I've recently rename a file from gadget server and then i have this 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