Skip to content

Build error: Can't resolve '#build/orm-options' on Nuxt 2 without Nuxt-Bridge #628

@mackwic

Description

@mackwic

Environment

Versions:

  • Nuxt: nuxt@2.15.8
  • Vue: vue@2.7.14
  • Pinia-orm:
    • @pinia-orm/nuxt@1.1.4
    • pinia-orm@1.2.2

Reproduction

Eeeer, sorry I've tried but I'm not fluent enough for that. 😅 I'm happy to add you as a contributor to my (private) project if that helps.

Describe the bug

nuxt dev failed to build. The file @pinia-orm/nuxt/dist/runtime/nuxt2-plugin.mjs is looking for the package #build/orm-options which does not exists.

I really don't know how to help more, sorry. :/

In the browser:
CleanShot 2022-11-25 at 15 06 21@2x

Additional context

Logs

✖ Client
  Compiled with some errors in 153.82ms


 ERROR  Failed to compile with 1 errors                                    friendly-errors 14:42:55

This dependency was not found:                                             friendly-errors 14:42:55
                                                                           friendly-errors 14:42:55
* #build/orm-options in ./node_modules/@pinia-orm/nuxt/dist/runtime/nuxt2-plugin.mjs
                                                                           friendly-errors 14:42:55
To install it, you can run: npm install --save #build/orm-options          friendly-errors 14:42:55

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions