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

PAGES - BUG!!! --framework=remix > Error: Cannot find module 'fs-extra' #18621

Closed
gowy222 opened this issue Dec 7, 2024 · 2 comments
Closed
Labels
content:edit Request for content edits documentation Documentation edits product:pages

Comments

@gowy222
Copy link

gowy222 commented Dec 7, 2024

Existing documentation URL(s)

https://developers.cloudflare.com/pages/framework-guides/deploy-a-remix-site/

What changes are you suggesting?

pnpm create cloudflare@latest my-remix-app --framework=remix

root@5b3d5e4e09b7:/workspace# pnpm create cloudflare@latest my-remix-app --framework=remix
.../193a00b5474-131                      | Progress: resolved 1, reused 0, downloaded 0, added 0
.../193a00b5474-131                      |   +1 +
.../193a00b5474-131                      | Progress: resolved 1, reused 0, downloaded 1, added 1, done

──────────────────────────────────────────────────────────────────────────────────────────────────────────
👋 Welcome to create-cloudflare v2.33.3!
🧡 Let's get started.
📊 Cloudflare collects telemetry about your usage of Create-Cloudflare.

Learn more at: https://github.com/cloudflare/workers-sdk/blob/main/packages/create-cloudflare/telemetry.md
──────────────────────────────────────────────────────────────────────────────────────────────────────────

╭ Create an application with Cloudflare Step 1 of 3
│
├ In which directory do you want to create your application?
│ dir ./my-remix-app
│
├ What would you like to start with?
│ category Framework Starter
│
├ Which development framework do you want to use?
│ framework Remix
│
├ Continue with Remix via `pnpm dlx create-remix@2.14.0 my-remix-app --template https://github.com/remix-run/remix/tree/main/templates/cloudflare`
│

Progress: resolved 1, reused 0, downloaded 0, added 0
Progress: resolved 14, reused 0, downloaded 14, added 0
Progress: resolved 109, reused 0, downloaded 108, added 0
Progress: resolved 166, reused 0, downloaded 163, added 0
Progress: resolved 172, reused 0, downloaded 172, added 0
Progress: resolved 188, reused 0, downloaded 188, added 0
 WARN  2 deprecated subdependencies found: glob@7.2.3, inflight@1.0.6
Packages: +195
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 195, reused 0, downloaded 195, added 13
Progress: resolved 195, reused 0, downloaded 195, added 17
Progress: resolved 195, reused 0, downloaded 195, added 43
Progress: resolved 195, reused 0, downloaded 195, added 86
Progress: resolved 195, reused 0, downloaded 195, added 195, done
node:internal/modules/cjs/loader:1242
  throw err;
  ^

Error: Cannot find module 'fs-extra'
Require stack:
- /root/.cache/pnpm/dlx/zk4xqtz2bpq5nd5tcv634f5y6i/193a00b5b5c-15f/node_modules/.pnpm/create-remix@2.14.0/node_modules/create-remix/dist/index.js
- /root/.cache/pnpm/dlx/zk4xqtz2bpq5nd5tcv634f5y6i/193a00b5b5c-15f/node_modules/.pnpm/create-remix@2.14.0/node_modules/create-remix/dist/cli.js
    at Function._resolveFilename (node:internal/modules/cjs/loader:1239:15)
    at Function._load (node:internal/modules/cjs/loader:1064:27)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:218:24)
    at Module.require (node:internal/modules/cjs/loader:1325:12)
    at require (node:internal/modules/helpers:136:16)
    at Object.<anonymous> (/root/.cache/pnpm/dlx/zk4xqtz2bpq5nd5tcv634f5y6i/193a00b5b5c-15f/node_modules/.pnpm/create-remix@2.14.0/node_modules/create-remix/dist/index.js:19:11)
    at Module._compile (node:internal/modules/cjs/loader:1546:14)
    at Object..js (node:internal/modules/cjs/loader:1698:10)
    at Module.load (node:internal/modules/cjs/loader:1303:32) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/root/.cache/pnpm/dlx/zk4xqtz2bpq5nd5tcv634f5y6i/193a00b5b5c-15f/node_modules/.pnpm/create-remix@2.14.0/node_modules/create-remix/dist/index.js',
    '/root/.cache/pnpm/dlx/zk4xqtz2bpq5nd5tcv634f5y6i/193a00b5b5c-15f/node_modules/.pnpm/create-remix@2.14.0/node_modules/create-remix/dist/cli.js'
  ]
}

Node.js v23.3.0
╰  ERROR  Error
root@5b3d5e4e09b7:/workspace# 

Additional information

No response

@gowy222
Copy link
Author

gowy222 commented Dec 7, 2024

I SEE : remix-run/remix#10300

@gowy222 gowy222 closed this as completed Dec 7, 2024
@RibkiAnas
Copy link

@gowy222 do you find a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content:edit Request for content edits documentation Documentation edits product:pages
Projects
None yet
Development

No branches or pull requests

9 participants