Closed satyarohith closed 4 months ago
The app creation works as expected with 1.42.4
➜ deno git:(main) ✗ deno run --unstable-fs -A npm:create-next-app@latest
✔ What is your project named? … my-app
✔ Would you like to use TypeScript? … No / Yes
✔ Would you like to use ESLint? … No / Yes
✔ Would you like to use Tailwind CSS? … No / Yes
✔ Would you like to use `src/` directory? … No / Yes
✔ Would you like to use App Router? (recommended) … No / Yes
✔ Would you like to customize the default import alias (@/*)? … No / Yes
Creating a new Next.js app in /Users/sr/c/denoland/deno/my-app.
Using npm.
Initializing project with template: app-tw
Installing dependencies:
- react
- react-dom
- next
Installing devDependencies:
- typescript
- @types/node
- @types/react
- @types/react-dom
- postcss
- tailwindcss
- eslint
- eslint-config-next
added 360 packages, and audited 361 packages in 31s
133 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Success! Created my-app at /Users/sr/c/denoland/deno/my-app
But it still fails to run with deno task dev
➜ deno task dev
Task dev next dev
error: npm package '@next/swc' does not exist.
error: Uncaught (in promise) TypeError: Unknown signal: 0
at toDenoSignal (ext:deno_node/internal/child_process.ts:257:11)
at ChildProcess.kill (ext:deno_node/internal/child_process.ts:172:53)
at handleSessionStop (file:///Users/sr/c/denoland/deno/my-app/node_modules/.deno/next@14.2.1/node_modules/next/dist/cli/next-dev.js:84:51)
at ChildProcess.<anonymous> (file:///Users/sr/c/denoland/deno/my-app/node_modules/.deno/next@14.2.1/node_modules/next/dist/cli/next-dev.js:253:23)
at ChildProcess.emit (ext:deno_node/_events.mjs:386:28)
at ext:deno_node/internal/child_process.ts:154:16
at eventLoopTick (ext:core/01_core.js:168:7)
I'll close the issue since the creation is working as expected which is the original issue is about.
Edit: opened issue https://github.com/denoland/deno/issues/23402