Open
Description
The following error was produced during nuxt-generate:
ERROR in test/unit/Blog.spec.ts:37:24
TS2749: 'Blog' refers to a value, but is being used as a type here. Did you mean 'typeof Blog'?
35 |
36 | describe('Blog', () => {
> 37 | let wrapper: Wrapper<Blog>
| ^^^^
38 |
39 | beforeEach(() => {
40 | wrapper = shallowMount(Blog, {
ERROR in static/sw.js:1:17
object-curly-spacing: A space is required after '{'.
> 1 | const options = {"workboxURL":"https://cdn.jsdelivr.net/npm/[email protected]/workbox/workbox-sw.js","importScripts":[],"config":{"debug":false},"cacheOptions":{"cacheId":"XXXX-prod","directoryIndex":"/","revision":"AZ0p4cQiBFJd"},"clientsClaim":true,"skipWaiting":true,"cleanupOutdatedCaches":true,"offlineAnalytics":false,"preCaching":[{"revision":"AZ0p4cQiBFJd","url":"/?standalone=true"}],"runtimeCaching":[{"urlPattern":"/_nuxt/","handler":"CacheFirst","method":"GET","strategyPlugins":[]},{"urlPattern":"/","handler":"NetworkFirst","method":"GET","strategyPlugins":[]}],"offlinePage":null,"pagesURLPattern":"/","offlineStrategy":"NetworkFirst"}
| ^
2 |
3 | importScripts(...[options.workboxURL, ...options.importScripts])
4 |
FATAL Nuxt build error 09:22:31
at WebpackBundler.webpackCompile (node_modules/@nuxt/webpack-edge/dist/webpack.js:2128:21)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at WebpackBundler.build (node_modules/@nuxt/webpack-edge/dist/webpack.js:2077:5)
at Builder.build (node_modules/@nuxt/builder-edge/dist/builder.js:328:5)
at ensureBuild (node_modules/@nuxt/cli-edge/dist/cli-generate.js:145:3)
at Object.run (node_modules/@nuxt/cli-edge/dist/cli-generate.js:281:7)
at NuxtCommand.run (node_modules/@nuxt/cli-edge/dist/cli-index.js:413:7)
╭─────────────────────────────╮
│ │
│ ✖ Nuxt Fatal Error │
│ │
│ Error: Nuxt build error │
│ │
╰─────────────────────────────╯
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] generate: `nuxt-ts generate`
npm ERR! Exit status 1
npm ERR!
"@nuxt/typescript-build": "^2.0.3", WORKS
"@nuxt/typescript-build": "^2.0.4", BREAKS
I have since rolled back to 2.0.3 without issues.
Metadata
Metadata
Assignees
Labels
No labels