You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deploying to pages via npx wrangler pages deploy dist --project-name=project, wrangler fails at some point when configuring unenv. Not sure why it's trying to load the package.json from the dist subdirectory when it's actually in the parent folder.
Expected behavior
Wrangler should upload pages projects.
Steps to reproduce
Please provide the following:
Try to upload any pages project with wrangler deploy
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
✘ [ERROR] ENOTDIR: not a directory, open '.../node_modules/unenv-nightly/dist/index.cjs/package.json'
The text was updated successfully, but these errors were encountered:
michaelpayne02
changed the title
🐛 BUG: ✘ [ERROR] ENOTDIR: not a directory, open 'node_modules/unenv-nightly/dist/index.cjs/package.json'
🐛 BUG: Wrangler pages fails to deploy
Dec 18, 2024
Which Cloudflare product(s) does this pertain to?
Pages, Wrangler
What version(s) of the tool(s) are you using?
3.97.0 [Wrangler]
What version of Node are you using?
Deno 2.1.4
What operating system and version are you using?
Mac Sequoia 15.2
Describe the Bug
Observed behavior
When deploying to pages via
npx wrangler pages deploy dist --project-name=project
, wrangler fails at some point when configuring unenv. Not sure why it's trying to load the package.json from the dist subdirectory when it's actually in the parent folder.Expected behavior
Wrangler should upload pages projects.
Steps to reproduce
Please provide the following:
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
✘ [ERROR] ENOTDIR: not a directory, open '.../node_modules/unenv-nightly/dist/index.cjs/package.json'
The text was updated successfully, but these errors were encountered: