Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote worker: Error: ENOENT: no such file or directory #260

Closed
Electroid opened this issue Jan 18, 2022 · 5 comments
Closed

remote worker: Error: ENOENT: no such file or directory #260

Electroid opened this issue Jan 18, 2022 · 5 comments

Comments

@Electroid
Copy link
Contributor

This error occasionally happens, not sure why.

Screen Shot 2022-01-18 at 11 21 59 AM

@Electroid Electroid added the bug label Jan 18, 2022
@petebacondarwin
Copy link
Contributor

I wonder if it is related to this fix: https://github.com/cloudflare/wrangler2/pull/258/files#diff-d79823fe1e90cdc27158bbeaab5f58954e81375f84f4403ca124318c7bccd54fR156-R158

Note that here I had to resolve against the "destination" directory. The current working directory and the wrangler.toml directory did not work.

@threepointone
Copy link
Contributor

Can reproduce this by using npx wrangler publish from inside example-worker-app in our codebase.

@threepointone
Copy link
Contributor

I think this should now be fixed in @alpha, am closing. Please reopen if you see it again!

@Electroid
Copy link
Contributor Author

Still an issue, happens sporadically with dev.

remote worker: [Error: ENOENT: no such file or directory, open '../../../../../var/folders/kv/f6jw8r5d26q9_r6vjvlz87q00000gn/T/tmp-58328-oNNeQQ2mz8WM/chat.js'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '../../../../../var/folders/kv/f6jw8r5d26q9_r6vjvlz87q00000gn/T/tmp-58328-oNNeQQ2mz8WM/chat.js'
}

@Electroid Electroid reopened this Feb 4, 2022
@Electroid Electroid added this to the 2.0 milestone Feb 4, 2022
@threepointone
Copy link
Contributor

Haven't seen this in a while, probably got fixed with our bundle refactor. Closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants