Przemek Fieluba
Przemek Fieluba
Explore posts from servers
CDCloudflare Developers
Created by Przemek Fieluba on 10/22/2024 in #pages-help
Error during deploy example test project started in nuxt
Hello, I have fresh install nuxt project with some example fetch and data. I folow website here. https://nuxt.com/deploy/cloudflare my sqmple config.
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
pages: true,
compatibilityDate: '2024-04-03',
devtools: {enabled: true},
modules: ['@vite-pwa/nuxt', '@pinia/nuxt', '@nuxtjs/tailwindcss', 'pinia-plugin-persistedstate/nuxt'],
tailwindcss: {
exposeConfig: true,
viewer: true,
},
pinia: {
storesDirs: ['./stores/**', './custom-folder/stores/**'],
},
nitro: {
prerender: {
autoSubfolderIndex: false
}
}
});
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
pages: true,
compatibilityDate: '2024-04-03',
devtools: {enabled: true},
modules: ['@vite-pwa/nuxt', '@pinia/nuxt', '@nuxtjs/tailwindcss', 'pinia-plugin-persistedstate/nuxt'],
tailwindcss: {
exposeConfig: true,
viewer: true,
},
pinia: {
storesDirs: ['./stores/**', './custom-folder/stores/**'],
},
nitro: {
prerender: {
autoSubfolderIndex: false
}
}
});
After i run
npx wrangler pages deploy dist
npx wrangler pages deploy dist
i have Uploading... (14/14) and at the end I get error ENOENT: no such file or directory, open '/home/xx/xx/nuxt/1/.wrangler/tmp/pages-Uwhn5L/bundledWorker-0.19668789268986298.mjs' I check directory and the file is not exist there. I try few times to build it again but no success.
2 replies