Skip to content

Update dependencies #60

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

Closed
wants to merge 1 commit into from
Closed

Update dependencies #60

wants to merge 1 commit into from

Conversation

swo
Copy link
Contributor

@swo swo commented Apr 11, 2025

When running on Linux (native or WSL), I got the error below, which links an npm bug report, whose solution is to npm i @rollup/rollup-linux-x64-gnu --save-optional. I'm hoping this can resolve the dependency for Linux while not creating problems for Mac?

This is an updated version of #46


❯ npm test

> [email protected] test
> vitest


⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Startup Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Error: Cannot find module @rollup/rollup-linux-x64-gnu. npm
has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828).
Please try `npm i` again after removing both package-lock.json and node_modules directory.

@swo swo requested a review from k88hudson-cfa April 11, 2025 21:11
@k88hudson-cfa
Copy link
Contributor

Can you try npm/cli#4828 (comment)

@swo swo mentioned this pull request Apr 15, 2025
@swo
Copy link
Contributor Author

swo commented Apr 15, 2025

@k88hudson-cfa see #69 for the better solution, which is just to update npm

@swo swo closed this Apr 15, 2025
@swo swo deleted the swo_deps branch April 15, 2025 20:36
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

Successfully merging this pull request may close these issues.

2 participants