LTroya
LTroya
Explore posts from servers
CDCloudflare Developers
Created by LTroya on 7/16/2024 in #pages-help
Nuxt 3.12.3 "Error: Failed to publish your Function. Got error: Unknown internal error occurred"
Hi @nestorF, I haven't received any response since the creation of this ticket. Is there anything I can do in the meantime?
9 replies
NNuxt
Created by LTroya on 7/18/2024 in #❓・help
Error 500 Cannot find module ".output/server/node_modules/vue/server-renderer/index.mjs"
import svgLoader from 'vite-svg-loader'
import { defineNuxtConfig, type NuxtConfig } from 'nuxt/config'
import type { ModuleOptions } from 'nuxt-graphql-request'
import {
PUBLIC_GRAPHQL_ENDPOINT,
} from './utils/constants'

const IS_PRODUCTION = process.env.CF_PAGES_BRANCH === 'production'

const runtimeConfig: { public: any } = {
public: {},
}

// Global CSS: https://go.nuxtjs.dev/config-css
const css = ['~/assets/main.scss']

const sourcemap = {
server: process.env.CONTEXT === 'production',
client: process.env.CONTEXT === 'production',
}

const modules: any[] = ['@nuxtjs/tailwindcss', 'nuxt-graphql-request']

const tailwindcss = {
exposeConfig: true,
viewer: false,
configPath: './tailwind.config.ts',
}

const graphql: Partial<ModuleOptions> = {
clients: {
default: {
endpoint: PUBLIC_GRAPHQL_ENDPOINT,
options: {
requireCredentials: false,
} as any,
},
authenticatedClient: {
endpoint: GRAPHQL_ENDPOINT,
options: {
requireCredentials: true,
} as any,
},
},
}

interface CustomNuxtConfig extends NuxtConfig {
eslint?: any
}

const config: CustomNuxtConfig = {
compatibilityDate: '2024-04-03',
// app: { head },
typescript: {
strict: false,
},
devServerHandlers: [],
vite: {
plugins: [svgLoader({ svgo: false })],
define: {
__DEV__: !IS_PRODUCTION,
global: 'window',
},
},
runtimeConfig,
sourcemap,
modules,
css,
tailwindcss,
ignore: ['playwright/**/*.spec.*', 'playwright-report/*', '.idea/*'],
graphql,
experimental: {
// externalVue: false,
defaults: {
nuxtLink: {
trailingSlash: 'append',
activeClass: 'nuxt-link-active',
exactActiveClass: 'nuxt-link-exact-active',
},
},
},
}

export default defineNuxtConfig(config)
import svgLoader from 'vite-svg-loader'
import { defineNuxtConfig, type NuxtConfig } from 'nuxt/config'
import type { ModuleOptions } from 'nuxt-graphql-request'
import {
PUBLIC_GRAPHQL_ENDPOINT,
} from './utils/constants'

const IS_PRODUCTION = process.env.CF_PAGES_BRANCH === 'production'

const runtimeConfig: { public: any } = {
public: {},
}

// Global CSS: https://go.nuxtjs.dev/config-css
const css = ['~/assets/main.scss']

const sourcemap = {
server: process.env.CONTEXT === 'production',
client: process.env.CONTEXT === 'production',
}

const modules: any[] = ['@nuxtjs/tailwindcss', 'nuxt-graphql-request']

const tailwindcss = {
exposeConfig: true,
viewer: false,
configPath: './tailwind.config.ts',
}

const graphql: Partial<ModuleOptions> = {
clients: {
default: {
endpoint: PUBLIC_GRAPHQL_ENDPOINT,
options: {
requireCredentials: false,
} as any,
},
authenticatedClient: {
endpoint: GRAPHQL_ENDPOINT,
options: {
requireCredentials: true,
} as any,
},
},
}

interface CustomNuxtConfig extends NuxtConfig {
eslint?: any
}

const config: CustomNuxtConfig = {
compatibilityDate: '2024-04-03',
// app: { head },
typescript: {
strict: false,
},
devServerHandlers: [],
vite: {
plugins: [svgLoader({ svgo: false })],
define: {
__DEV__: !IS_PRODUCTION,
global: 'window',
},
},
runtimeConfig,
sourcemap,
modules,
css,
tailwindcss,
ignore: ['playwright/**/*.spec.*', 'playwright-report/*', '.idea/*'],
graphql,
experimental: {
// externalVue: false,
defaults: {
nuxtLink: {
trailingSlash: 'append',
activeClass: 'nuxt-link-active',
exactActiveClass: 'nuxt-link-exact-active',
},
},
},
}

export default defineNuxtConfig(config)
5 replies
NNuxt
Created by LTroya on 7/18/2024 in #❓・help
Error 500 Cannot find module ".output/server/node_modules/vue/server-renderer/index.mjs"
Here is my current nuxt.config.ts configuration
5 replies
NNuxt
Created by LTroya on 7/18/2024 in #❓・help
Error 500 Cannot find module ".output/server/node_modules/vue/server-renderer/index.mjs"
I would appreciate any hint 🙏
5 replies
NNuxt
Created by LTroya on 7/18/2024 in #❓・help
Error 500 Cannot find module ".output/server/node_modules/vue/server-renderer/index.mjs"
Here is what I can see on that .output/server/node_modules/vue folder.
5 replies
CDCloudflare Developers
Created by LTroya on 7/16/2024 in #pages-help
Nuxt 3.12.3 "Error: Failed to publish your Function. Got error: Unknown internal error occurred"
Hi @nestorF I have sent you my email for the ticket 🙏
9 replies
CDCloudflare Developers
Created by LTroya on 7/16/2024 in #pages-help
Nuxt 3.12.3 "Error: Failed to publish your Function. Got error: Unknown internal error occurred"
I don't have any custom functions on my project. Only middlewares and pages
9 replies
CDCloudflare Developers
Created by LTroya on 7/16/2024 in #pages-help
Nuxt 3.12.3 "Error: Failed to publish your Function. Got error: Unknown internal error occurred"
9a498dfb-a791-41dd-a282-b9a08b3795bf
9 replies
CDCloudflare Developers
Created by LTroya on 4/18/2023 in #pages-help
Cloudflare pages deployment stop working all of sudden
It's working again without issue
6 replies