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
AAlokai
Created by Przemek Fieluba on 10/1/2024 in #🙋|general-help
Instalation using cli.
On page https://github.com/vuestorefront/vue-storefront there is cli install process. I install it using magento 2 integration. After install i see node "node": "^16.13" This is older version than github page "node": ">=18" On doc https://docs.alokai.com/ i see only enterprise integrations (and no install method) is that mean that project https://docs.alokai.com/v2 is no more supported ? Also on github https://github.com/vuestorefront/vue-storefront page cli after install is old compare to branch main. On v2 doc i found https://docs.alokai.com/v2/integrate/extending-integrations.html To check it i add
extensions: (extensions) => [
...extensions,
{
name: 'extension-name',
extendApiMethods: {
customMethod: (context, params) => {
return { data: 'xxxxx' }
},
},
},
],
extensions: (extensions) => [
...extensions,
{
name: 'extension-name',
extendApiMethods: {
customMethod: (context, params) => {
return { data: 'xxxxx' }
},
},
},
],
in magento2 integration. Now i cant install @vue-storefront/core case of node version. I install version 2.8.0 But cant make this example to work. My main question is alokai moved to full commercial now ? So vue storefront v2 will stay at nuxt 2 and not recive updates ?
1 replies