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

@morpheme/nuxt package no longer installs #199

Open
danieltamas opened this issue Aug 31, 2024 · 11 comments
Open

@morpheme/nuxt package no longer installs #199

danieltamas opened this issue Aug 31, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@danieltamas
Copy link

Environment

Reproduction

Running yarn install after the last git update on @morpheme/nuxt

Describe the bug

Running yarn install now throws this error:

    YN0001: │ Error: Couldn't allocate enough memory
    at ZipFS.getBufferAndClose ([worker eval]:1:298046)
    at ZipFS.saveAndClose ([worker eval]:1:299036)
    at convertToZipWorker ([worker eval]:1:407956)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async MessagePort.<anonymous> ([worker eval]:1:409728)

Additional context

Everything worked on until 2 days ago. Wanted a fresh install so cleaned node_modules and ran yarn install.
Excluded each package one by one and found out it's @morpheme/nuxt that causes the memory leak.

Reverting to an earlier yarn.lock allows the packages to be installed and the build to run, however it does not solve the problem.

Logs

YN0001: │ Error: Couldn't allocate enough memory
    at ZipFS.getBufferAndClose ([worker eval]:1:298046)
    at ZipFS.saveAndClose ([worker eval]:1:299036)
    at convertToZipWorker ([worker eval]:1:407956)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async MessagePort.<anonymous> ([worker eval]:1:409728)
@danieltamas
Copy link
Author

The same happens when using this package.json: https://www.npmjs.com/package/@morpheme/nuxt?activeTab=code

@gravitano
Copy link
Member

Hi, sorry for the inconvenience and thanks for the report. Do you mind create a minimal reproduction using stackblitz or share a repo so that I can check it out.

@gravitano
Copy link
Member

Can you try upgrade to version 1.0.11 and report back the result?

@danieltamas
Copy link
Author

Hey, thanks for getting back. The terminal says:
@morpheme/nuxt@npm:1.0.11: No candidates found

@gravitano gravitano added the bug Something isn't working label Sep 2, 2024
@gravitano
Copy link
Member

Hi, I think this package does not support Yarn 4 yet. I suggest you install it with PNPM or NPM.

@danieltamas
Copy link
Author

I see. is it something different from the .rc ones? those worked well with Yarn 4

@gravitano
Copy link
Member

I think no much different with the RC one. After some digging, I think this is caused by circular dependency. Let me check and try to fix it.

@gravitano
Copy link
Member

Hi, can you try version 1.1.0-alpha.0 and report back the result?

@danieltamas
Copy link
Author

Progress. The packages install but when starting there's a new error:

Pre-transform error: Failed to resolve import "@morpheme/ui/src/tooltip/src/floating-vue.js" from "node_modules/@morpheme/nuxt/dist/runtime/plugin.js?v=7e02a11b"

@gravitano
Copy link
Member

Okay.

Try version 1.1.0-alpha.7. I've tested it here and it works so far.

@danieltamas
Copy link
Author

Tried it now, getting the previous error:
@morpheme/ui@npm:1.1.0-alpha.7: No candidates found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants