Skip to content

Cannot find module '/bin/jsh' #2015

@mikelew42

Description

@mikelew42

Describe the bug

Error: Cannot find module '/bin/jsh'
at Module._resolveFilename (node:internal/modules/cjs/loader:148:14795)
at Module._load (node:internal/modules/cjs/loader:148:12287)
at Module.executeUserEntryPoint (node:internal/modules/run_main:168:2012)
at internal/main/run_main_module (node:internal/main/run_main_module:143:398)
at _0x5edf2d (https://stackblitzsite-c2ii.w-credentialless-staticblitz.com/blitz.cf284e50.js:31:1518588)
at _0x1c2482.executeBootstrapper (https://stackblitzsite-c2ii.w-credentialless-staticblitz.com/blitz.cf284e50.js:31:825135)
at _0xe83a25.startExecution (https://stackblitzsite-c2ii.w-credentialless-staticblitz.com/blitz.cf284e50.js:31:1553474)
at _0xe83a25.run (https://stackblitzsite-c2ii.w-credentialless-staticblitz.com/blitz.cf284e50.js:31:1552090) {
code: 'MODULE_NOT_FOUND',
requireStack: []
}

Link to the blitz that caused the error

https://stackblitz.com/~/github.com/mikelew42/stackblitz-site?file=public/page.js

Steps to reproduce

I was testing the GitHub integration on this Stackblitz project. At first, everything worked, and I was able to successfully make a commit and push it back to the GitHub repo.

I was then testing if unsaved changes are auto saved, so I made another change (in the Stackblitz project), did not commit, exited the Stackblitz project, and then re-opened it. The change was still present, but the "Commit" button did not reappear. At first, nothing happened (no errors). When I click to the Source Control tab, it has a Log In button. When I click that, I get the Cannot find module '/bin/jsh' error.

Expected behavior

No error, and a "dirty" repo should have that Commit button re-appear.

Parity with Local

Screenshots

No response

Platform

Version = 1.84.0
Hash = 3b0b7194bc6b567c2eaf4c96a5759098469dcf59
WebContainer = cf284e50

Browser name  = Chrome
Full version  = 142.0.0.0
Major version = 142
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 98053754,
  "usedJSHeapSize": 83734206,
  "jsHeapSizeLimit": 4294705152
}

Additional context

I don't use anything called jsh, I think this is on your end.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions