You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[nitro 10:34:45 AM] ERROR RollupError: Could not resolve "../../../utils" from "node_modules/nuxt-security/dist/runtime/nitro/plugins/00-routeRules.mjs"
It seems need to be ../../utils instead. And the paths in files inside dist/runtime/nitro/plugins/... need to be checked as well.
The text was updated successfully, but these errors were encountered:
@Baroshem it works. I removed the module from deps and installed it via command: npx nuxi@latest module add security
now it is added as dependency (previously it was dev dependency). I already asked that in the discussion: is there a reason to move that to deps instead of dev deps?
Version
nuxt-security: v1.4.0
nuxt: v3.11.2
Reproduction Link
https://stackblitz.com/edit/github-ymby1y
Steps to reproduce
Just see the console output
What is Expected?
Nuxt app to be launched without errors.
What is actually happening?
It seems need to be
../../utils
instead. And the paths in files insidedist/runtime/nitro/plugins/...
need to be checked as well.The text was updated successfully, but these errors were encountered: