w7a9q
Explore posts from serversConverting package.json into deno.json
Is there any documentation about what properties
deno.json
have and what are the expected values? I'm unable to find any.
I would like to put as many things as possible into deno.lock
from the package.json
. This would be really helpful.2 replies
Cannot run Nitro project
I have created a new Nitro project using
deno run -A npm:giget@latest nitro nitro-app --install
. It was successfull but after trying deno run dev
I get an error saying:
Is there any fix for that or is it a bug in Deno itself?8 replies
OpenAPI specs through Nitro
I'm trying to set up OpenAPI specs generation through Nitro but when I open
http://localhost:3000/_nitro/swagger
I get stuck at:
I'm trying to resolve this by specifying the version in nuxt.config.ts
as:
But openAPI
at root level gives type error:
http://localhost:3000/_nitro/openapi.json
lists all the endpoints and starts with:
How do I correctly generate the specs?2 replies
Mocking useStorage
I'm trying to mock
useStorage()
as in documentation: https://nuxt.com/docs/getting-started/testing#mocknuxtimport
However I'm stuck at Error: Cannot find import "useStorage" to mock
. Where should I take this import from when it's autoimported by Nitro?4 replies