Hermes Alves
Hermes Alves
Explore posts from servers
NNuxt
Created by Hermes Alves on 4/2/2025 in #❓・help
Error 'Cannot read properties of undefined (reading external)' when running bun run dev with Nuxt 3.
Hey, thanks for the suggestions! Unfortunately, none of the options worked for me. I tried all three: 1. Use Polling for File Watchers: I added the watchers and nitro.watchOptions with usePolling: true to my nuxt.config.ts as suggested, but I still get the same Cannot read properties of undefined (reading 'external') error when running bun run dev. 2. Set Environment Variable for Nitro: I set the NITRO_NO_UNIX_SOCKET environment variable (I’m on Linux, not Windows, but I gave it a shot anyway), and it didn’t make a difference—same error. 3. Clean Installation: I removed node_modules, .nuxt, .output, and the lockfile, then ran bun install again. After that, I tried bun run dev, but the error persists. I’m still stuck with this issue. Any other ideas? Here’s my setup again for reference: - Operating System: Linux - Node Version: v20.12.2 - Nuxt Version: 3.16.2 - CLI Version: 3.24.0 - Nitro Version: 2.11.8 - Package Manager: bun@1.2.8 Thanks for any further help!
6 replies
NNuxt
Created by Hermes Alves on 3/12/2025 in #❓・help
Nuxt 3.16.0 Broke My Vuetify Colors! 🎨
Hey, the problem persists, my Vuetify colors are still AWOL after the "nuxt": "^3.16.0" update. I tried everything Kapa.ai suggested, but nothing brought the colors back. Buttons and inputs are still stuck in black. Any fresh ideas? I’m desperate here! 🙏✨
7 replies
NNuxt
Created by Angius on 11/13/2024 in #❓・help
RollupError: [plugin impound] This module cannot be imported in server runtime.
@hiimmox Did you manage to solve it or make it work? I couldn't, I even opened a new issue: https://github.com/nuxt/nuxt/issues/29920
7 replies
NNuxt
Created by Hermes Alves on 11/14/2024 in #❓・help
Nuxt 4 - compability version (node:81791) Warning: To load an ES module, set "type": "module" in...
@kapa.ai I'm encountering a persistent warning while running my Nuxt 3.14.159 application using both Bun and npm as package managers. The warning appears as follows: (node:84434) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
Nuxt Version: 3.14.159
Nitro Version: 2.10.4
Compatibility Version: 4 (set via compatibilityDate: '2024-04-03' and future: { compatibilityVersion: 4 })
Package Managers Tested: Bun and npm
Node.js Version: v22.2.0
Nuxt Version: 3.14.159
Nitro Version: 2.10.4
Compatibility Version: 4 (set via compatibilityDate: '2024-04-03' and future: { compatibilityVersion: 4 })
Package Managers Tested: Bun and npm
Node.js Version: v22.2.0
The warning appears during both development (npm run dev and bun run dev) and build processes. The application runs, but I’m concerned that this warning may indicate an underlying issue that could affect future updates or production stability. 1. Is this warning indicative of a deeper problem that should be addressed? 2. Are there specific configurations or steps I might be overlooking to resolve this? 3. Could the compatibility version setting be related, and if so, is there a way to address it without the warning?
8 replies
NNuxt
Created by Hermes Alves on 11/14/2024 in #❓・help
Nuxt 4 - compability version (node:81791) Warning: To load an ES module, set "type": "module" in...
@kapa.ai I'm encountering a persistent warning while running my Nuxt 3.14.159 application using both Bun and npm as package managers. The warning appears as follows: (node:84434) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
Nuxt Version: 3.14.159
Nitro Version: 2.10.4
Compatibility Version: 4 (set via compatibilityDate: '2024-04-03' and future: { compatibilityVersion: 4 })
Package Managers Tested: Bun and npm
Node.js Version: v22.2.0
Nuxt Version: 3.14.159
Nitro Version: 2.10.4
Compatibility Version: 4 (set via compatibilityDate: '2024-04-03' and future: { compatibilityVersion: 4 })
Package Managers Tested: Bun and npm
Node.js Version: v22.2.0
The warning appears during both development (npm run dev and bun run dev) and build processes. The application runs, but I’m concerned that this warning may indicate an underlying issue that could affect future updates or production stability. 1. Is this warning indicative of a deeper problem that should be addressed? 2. Are there specific configurations or steps I might be overlooking to resolve this? 3. Could the compatibility version setting be related, and if so, is there a way to address it without the warning?
8 replies
NNuxt
Created by Hermes Alves on 10/26/2024 in #❓・help
How to Add Dynamic Pages/Extensions in Nuxt 4 at Runtime? Need Ideas for My Bun-based Open project
I appreciate the response, but I’m specifically looking for insights from people who have faced similar challenges or have experience with this kind of implementation. Personal experiences would be really helpful in guiding my approach.
7 replies
DDeno
Created by Hermes Alves on 10/15/2024 in #help
Why isn't the API_PORT variable being loaded? Is there something I'm missing?
Thanks for your attentions guys
15 replies
DDeno
Created by Hermes Alves on 10/15/2024 in #help
Why isn't the API_PORT variable being loaded? Is there something I'm missing?
I'm new to Deno and I have a question regarding environment variables. For development, I need to specify the path to my .env file using dotenv to load the environment variables. However, when running in production (inside a Docker container), I assume I don't need to use dotenv since Docker can handle environment variables directly. Is my understanding correct? Do I need to manage .env files differently for development and production?
15 replies
DDeno
Created by Hermes Alves on 10/15/2024 in #help
Why isn't the API_PORT variable being loaded? Is there something I'm missing?
Yes, with a specify the envPath this work´s: const envVar = await load({envPath: "../.env", export: true})
15 replies
DDeno
Created by Hermes Alves on 10/15/2024 in #help
Why isn't the API_PORT variable being loaded? Is there something I'm missing?
No description
15 replies
DDeno
Created by Hermes Alves on 10/15/2024 in #help
Why isn't the API_PORT variable being loaded? Is there something I'm missing?
Didn´t work too.
# API
JWT_SECRET=$omeRand0mStr1ng
API_PORT=3737
# API
JWT_SECRET=$omeRand0mStr1ng
API_PORT=3737
15 replies
DDeno
Created by Hermes Alves on 10/15/2024 in #help
Why isn't the API_PORT variable being loaded? Is there something I'm missing?
The .env file is located in the root of the project, alongside the deno.json. The api folder contains the Hono-based API project. Here's the structure:
/.env
/deno.json
/api
├── app.ts
├── controllers
├── models
├── routes
├── services
/.env
/deno.json
/api
├── app.ts
├── controllers
├── models
├── routes
├── services
Any idea why the API_PORT isn't loading?
15 replies
NNuxt
Created by Hermes Alves on 11/20/2023 in #❓・help
localhost:3000/api/analytics import it's not accepted? @google-analytics/data
Yes, with the new version it's working
4 replies
CDCloudflare Developers
Created by Hermes Alves on 11/27/2023 in #general-help
typescript sdk for KV?
?
11 replies