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

Pear Specific Error in Skeleton SvelteKit Project #13

Open
MattHeslington opened this issue Jan 5, 2025 · 0 comments
Open

Pear Specific Error in Skeleton SvelteKit Project #13

MattHeslington opened this issue Jan 5, 2025 · 0 comments

Comments

@MattHeslington
Copy link

Hello,

Opening any SvelteKit file in Pear causes Pear to issue the following warning:

Error in svelte.config.js

Error: Cannot find module @rollup/rollup-darwin-x64. 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.

This is a new SvelteKit installation through:

pnpm dlx sv create

When opening the same project in Cursor, VS Code or Zed there are no warnings or issues. Pear, Cursor and VS Code all have the same extensions, just Prettier and Svelte. This is a standard SvelteKit installation with no changes to svelte.config.js. Before realising the issue was specific to Pear I did try following the instructions above, with obviously no success. See below.

Pear:
2025-01-05 16 24 38

VS Code:
2025-01-05 16 26 30

Cheers,
Matt

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

No branches or pull requests

1 participant