All Questions
706
questions
0
votes
2
answers
34
views
dontenv.config() in nuxt 3 gives error process.cwd is not a function
I am trying to integrate Drizzle into Nuxt 3.
In /server/db/index.ts I have the following
import { sql } from '@vercel/postgres';
import { drizzle } from 'drizzle-orm/vercel-postgres';
import dotenv ...
0
votes
0
answers
15
views
NuxtJS Auto Imports
NuxtJS has Auto Imports. I added a new directory named "workflows" which has code like this:
test_tasks.ts
export const task1 = {
name: "Task 1",
description: "This ...
1
vote
0
answers
91
views
[email protected]: The engine "node" is incompatible with this module. Expected ver
error [email protected]: The engine "node" is incompatible with this module. Expected version "^18.12.0 || ^20.9.0 || >=22.0". Got "16.18.0"
error Found incompatible ...
0
votes
0
answers
26
views
Nuxt project can't be initiated
npx nuxi init@latest
ERROR Error: Failed to download https://codeload.github.com/nuxt/starter/tar.gz/refs/heads/v3 : TypeError: fetch failed ...
1
vote
0
answers
65
views
Dynamic server route responding with 304 Not Modified on Azure Static Web Apps when If-Modified-Since present [closed]
I have a Nuxt 3 application with a dynamic server route file like so:
-| server/
---| routes/
-----| [id]
-------| bonjour.ts
This returns dynamic content based upon the id passed in. There is no ...
0
votes
1
answer
64
views
Using turnstile with nuxt on netlify
I'm trying to use turnstile with nuxt on netlify.
When using turnstile in server/api (nuxt) on local host it works.
validateTurnstile.js for server/api looks like this
export default ...
0
votes
0
answers
20
views
Uanble to run production mode - NuxtJS
I cannot run production mode on NuxtJS.
I have
NODE_ENV=production
set in my .env
and below is my script inside the package.json
"scripts": {
"build": "nuxi build --env ...
0
votes
1
answer
42
views
Where to put plain nodejs code in a nuxt 3 app
I want to create a full stack nuxt app app that also has a saperate function that listens to emails with imap, and it uses same functions that the nust server should use, i cannot find where in the ...
0
votes
0
answers
27
views
Address "[::]" vs localhost [duplicate]
a nuxt application launched via nodejs behaves differently if I access via http://[::]:3000 or via http://localhost:3000.
Can someone explain to me the difference between these two addresses?
1
vote
0
answers
53
views
How to specify multiple entrypoints in Vite with Nuxt.JS
We're in the process of migrating our code over from a pure webpack/typescript/node model to using Nuxt.JS. Originally, for our backend we have 3 processes (4 including main) that were run ...
0
votes
0
answers
66
views
Is it possible to run Nuxt app in clustering mode without ruining the stateful nature of the Nuxt app?
We have a web app that has an area that displays user controls depending on if the user is authenticated or not. Authentication is done via JWT token. Stack: Vue/Nuxt, AWS ECS, Aurora.
So Node ...
1
vote
0
answers
39
views
How do I access MongoDB database as part of a larger Vue application
I am self-taught and new to the nuts & bolts of the 'build' process and web application structure in general, so hopefully I can even phrase this question correctly. Dependencies, pulling in ...
0
votes
0
answers
57
views
Unable to access session data in Express using express-session
I have implemented user authentication in my Node.js application using express-session and connect-session-sequelize to manage sessions and store session data in my MySQL database. Upon successful ...
0
votes
0
answers
133
views
How to pass cookies from client to server on a different domain using nuxt3?
I feel like this is a very common use case, but I am really struggling.
I deploy my nuxt app using cloud run, which is on https://deployed.com, however I have my own domain, so I instead access it via ...
0
votes
1
answer
102
views
How to add Google Ads Manager Ads units (Banners) using NuxtJs/VueJs frameworks?
I have this Ads unit
<script type="text/javascript">
google_ad_client = "ca-pub-2158343444694791";/* AD7 */
google_ad_slot = "AD7";
google_ad_width = 300;
...