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
Are all your remix dependencies & dev-dependencies using the same version?
Yes
Steps to Reproduce
checkout reproduction repo
or create run pnpm create-remix@1.16.0-pre.0 select cf pages template.
add a css file and load in root.
start the dev server: pnpm dev.
Expected Behavior
should start the dev server
Actual Behavior
Building Remix app in production mode...✘ [ERROR] Build failed with 1 error:node_modules/.pnpm/esbuild-plugin-polyfill-node@0.2.0_esbuild@0.17.6/node_modules/esbuild-plugin-polyfill-node/polyfills/process.js:1:25: ERROR: Could not resolve "process" [plugin css-file] app/root.tsx:10:19: 10 │ import styles from "./test.css"; ╵ ~~~~~~~~~~~~ This error came from the "onLoad" callback registered here: node_modules/.pnpm/@remix-run+dev@1.16.0-pre.0/node_modules/@remix-run/dev/dist/compiler/plugins/cssImports.js:66:12: 66 │ build.onLoad({ ╵ ~~~~~~ at setup (/Users/tobias/github/tobiasfoerg/cf-pages-remix-css-bug/node_modules/.pnpm/@remix-run+dev@1.16.0-pre.0/node_modules/@remix-run/dev/dist/compiler/plugins/cssImports.js:66:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async handlePlugins (/Users/tobias/github/tobiasfoerg/cf-pages-remix-css-bug/node_modules/.pnpm/esbuild@0.17.6/node_modules/esbuild/lib/main.js:1326:9)
The text was updated successfully, but these errors were encountered:
tobiasfoerg
changed the title
Remix 1.16.0-pre.0 new Dev-Server fails to run for CF-Pages. esbuild css-file plugin error
Remix 1.16.0-pre.0 fails to run for CF-Pages. esbuild css-file plugin error
Apr 26, 2023
What version of Remix are you using?
1.16.0-pre.0
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
checkout reproduction repo
or create run
pnpm create-remix@1.16.0-pre.0
select cf pages template.add a css file and load in root.
start the dev server:
pnpm dev
.Expected Behavior
should start the dev server
Actual Behavior
The text was updated successfully, but these errors were encountered: