Frox
Frox
NNuxt
Created by Frox on 2/24/2025 in #❓・help
ohash error eferenceError: Cannot access 'defaults' before initialization
as a workaround i locked h3 to 1.15.0 becuase was affecting production
11 replies
NNuxt
Created by Frox on 2/24/2025 in #❓・help
ohash error eferenceError: Cannot access 'defaults' before initialization
Before it was installing h3: 1.15.0 But Today I had to delete package-lock.json And h3: 1.15.1 was installed and causing this issue
11 replies
NNuxt
Created by Frox on 2/24/2025 in #❓・help
ohash error eferenceError: Cannot access 'defaults' before initialization
Hi @pi0 Thank you for response: I use nuxt: 3.15.4 Which uses "nitropack": "^2.10.4", I have installed version: "node_modules/nitropack": { "version": "2.10.4",
11 replies
NNuxt
Created by Frox on 2/24/2025 in #❓・help
ohash error eferenceError: Cannot access 'defaults' before initialization
@pi0
11 replies
NNuxt
Created by Frox on 2/24/2025 in #❓・help
ohash error eferenceError: Cannot access 'defaults' before initialization
@danielroe FYI
11 replies
NNuxt
Created by Frox on 2/24/2025 in #❓・help
ohash error eferenceError: Cannot access 'defaults' before initialization
Ok the issue is the new update of h3 https://github.com/unjs/h3/releases Downgrading to 1.15.0 resolved it. But the thing is nitro uses h3 as dep: "h3": "^1.15.0",
11 replies
NNuxt
Created by Frox on 7/17/2024 in #❓・help
loadingTemplate - how to use?
2 replies
NNuxt
Created by Cesar on 7/17/2024 in #❓・help
Repository pattern server side / How to use plugin custom fetch server side ?
Not sure If I understood your question correctly: But You can define (as on your screenshot) Nitro Handler that will call you PHP API. Browser -> Nitro -> PHP API. So your repo with Bearers and endpoints will not be exposed on the client (Browser) Browser will call you Nitro (Nuxt App) Endpoints. Is this works for you?
5 replies