Maarten Bicknese 🇳🇱
Unstable byonm breaks Deno Fresh
When I try to run the boilerplate Deno Fresh project with the byonm unstable flag, it seems to start but does not turn interactive. I know unstable flags are there to protect us from breaking changes, but maybe someone already solved this or knows how to solve it.
To get it to where I am, I
- created a new project with tailwindcss.
- set the byonm unstable flag in deno.json
- added the following package.json and installed through npm
In the console, it shows the following error
Error: Build failed with 5 errors: error: Cannot convert undefined or null to object error: Cannot convert undefined or null to object error: Cannot convert undefined or null to object error: Cannot convert undefined or null to object error: Cannot convert undefined or null to object at failureErrorWithLog (https://deno.land/x/esbuild@v0.20.2/mod.js:1626:15) at https://deno.land/x/esbuild@v0.20.2/mod.js:1034:25 at runOnEndCallbacks (https://deno.land/x/esbuild@v0.20.2/mod.js:1461:45) at buildResponseToResult (https://deno.land/x/esbuild@v0.20.2/mod.js:1032:7) at https://deno.land/x/esbuild@v0.20.2/mod.js:1061:16 at responseCallbacks.<computed> (https://deno.land/x/esbuild@v0.20.2/mod.js:679:9) at handleIncomingPacket (https://deno.land/x/esbuild@v0.20.2/mod.js:739:9) at readFromStdout (https://deno.land/x/esbuild@v0.20.2/mod.js:655:7) at https://deno.land/x/esbuild@v0.20.2/mod.js:1974:11 at eventLoopTick (ext:core/01_core.js:175:7) { errors: [Getter/Setter], warnings: [Getter/Setter] }For those interested, I'm invested in this setup to work because I want a Deno Fresh web client to work in my existing pnpm workspace (monorepo). Deno will live in the 'apps/web' subdirectory and will use packages installed from 'packages/*' through pnpm.
12 replies