Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module '../package.json' #330

Open
dvogelg4al opened this issue Jan 28, 2025 · 0 comments
Open

Cannot find module '../package.json' #330

dvogelg4al opened this issue Jan 28, 2025 · 0 comments

Comments

@dvogelg4al
Copy link

Been using the elliptic package in my Nuxt app for a couple months without issues and suddenly getting the following error when trying to run the app:

ERROR [nuxt] [request error] [unhandled] [500] Cannot find module '../package.json'
Require stack: C:\Users\xxxx\my-app\elliptic

I've confirmed the error doesn't occur if I remove the package and the methods that use it. I also tried using bun, yarn and npm and I get the same error. I also rolled back to a previous version of nuxt that worked and get the same message. Also, I'm on Windows.

Anyone know what the issue could be? Appreciate any help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant