Skip to content

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

@dvogelg4al

Description

@dvogelg4al

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions