Skip to content

[sdk-v2] add NuxtJS example #247

[sdk-v2] add NuxtJS example

[sdk-v2] add NuxtJS example #247

Triggered via pull request May 16, 2024 19:07
Status Failure
Total duration 20s
Artifacts

test.yaml

on: pull_request
lint_and_test
10s
lint_and_test
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
lint_and_test: examples/typescript/nuxt-app/nuxt.config.ts#L2
Cannot find name 'defineNuxtConfig'.
lint_and_test: examples/typescript/nuxt-app/spin.ts#L1
Cannot find module '@fermyon/spin-sdk' or its corresponding type declarations.
lint_and_test: examples/typescript/nuxt-app/spin.ts#L2
Cannot find module './.output/server/index.mjs' or its corresponding type declarations.
lint_and_test: examples/typescript/nuxt-app/spin/nitro.config.ts#L1
Cannot find module 'nitropack' or its corresponding type declarations.
lint_and_test: examples/typescript/nuxt-app/spin/nitro.config.ts#L2
Cannot find module 'node:url' or its corresponding type declarations.
lint_and_test: examples/typescript/nuxt-app/spin/nitro.config.ts#L6
The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
lint_and_test: examples/typescript/nuxt-app/spin/spin.ts#L3
Cannot find name 'useNitroApp'. Did you mean 'nitroApp'?
lint_and_test
Process completed with exit code 2.
lint_and_test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, engineerd/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint_and_test
The following actions uses node12 which is deprecated and will be forced to run on node16: engineerd/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/