Open
Description
Reproduction
Create a new Remix Cloudflare (as instructed in the docs):
npx create-remix@latest --template remix-run/remix/templates/cloudflare
then cd and build the application
cd ./my-remix-app # or the chosen name
npm run build
Finally run npm run typecheck
it will display an error saying that the build
value in the [[path]].ts
file is incompatible with the expected one:
System Info
System:
OS: macOS 14.7
CPU: (10) arm64 Apple M1 Pro
Memory: 97.03 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.11.0 - ~/.nvm/versions/node/v20.11.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v20.11.0/bin/yarn
npm: 10.2.4 - ~/.nvm/versions/node/v20.11.0/bin/npm
pnpm: 9.5.0 - ~/Library/pnpm/pnpm
bun: 1.0.6 - ~/.bun/bin/bun
Browsers:
Chrome: 129.0.6668.90
Safari: 18.0
npmPackages:
@remix-run/cloudflare: ^2.12.1 => 2.12.1
@remix-run/cloudflare-pages: ^2.12.1 => 2.12.1
@remix-run/dev: ^2.12.1 => 2.12.1
@remix-run/react: ^2.12.1 => 2.12.1
vite: ^5.1.0 => 5.4.8
Used Package Manager
npm
Expected Behavior
when I run npm run typecheck
the command should succeed and not error
Actual Behavior
thenpm run typecheck
the command errors