🌐 AI搜索 & 代理 主页
Skip to content

using @nuxt/typescript-build causes dead loop (npm only) #145

@georgyfarniev

Description

@georgyfarniev

Describe the bug
When I run nuxt app using nuxt-ts in hoisted lerna monorepo, it causes weird behavior: when I open serve address, see 5 continuous reloads and this message:
image

To Reproduce
Steps to reproduce the behavior:

  1. Clone repository https://github.com/georgyfarniev/nuxt_lerna_repro
  2. Run npm i && npm run bootstrap
  3. Run cd repro && npm run dev
  4. Open localhost:7005
  5. See error described above

Expected behavior
Working correctly with hoisted lerna monorepo.

Additional context
Reproducible in both Windows 10 and Node 12, as well as Arch Linux with Node 12.
Please pay attention to lerna.json, as hoisted mode are enabled there.

Also, it's probably nuxt-ts issue, because everything works well with plain nuxt

This bug is a critical blocker for us, since we cannot use our applications written in nuxt+typescript using our lerna setup which is vital for us, so I will keep monitoring this issue and I'm ready to provide any possible assistance with fixing it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbuildThe issue or pull request is related to `build` packagehelp wantedExtra attention is neededwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions