#[Solved] Error Encountered While Running the pink-project

23 messages ยท Page 1 of 1 (latest)

frigid cedar
#

I attempted to run the pink project but I encountered an error.

The error message I'm receiving,
I've tried troubleshooting it myself, but I'm still unable to resolve the issue.

#

Error Encountered While Running the pink-project

empty epoch
#

How are you running? Double check it matches what's outlined here

frigid cedar
#

I tried many times but it always gives same error

round gust
frigid cedar
#

but somehow it is broken,
I found this some of them mentioned in the PRs that it will solve the vite-svelte-plugin issue https://vite-plugin-ssr.com/broken-npm-package#solution
maybe it is useful
can you look into it @round gust
Node Version: 20.12.1, and I attempted to downgrade it to 16.20.2 to verify whether this package is compatible or not. However, the response remains the same, with no change at all.

inland anvil
#

@rose cedar @clear brook can you take a look here?

frigid cedar
#

Hey @clear brook I've already tried all things to npm cache clear to downgrade node version nothings helps, but unfortunately, I'm still stuck.
Can you please look into this how can I run this project.
it gives same error always

 SyntaxError: Named export 'createFilter' not found. The requested module 'vite' is a CommonJS module, which may not support all module.exports as named exports.
import pkg from 'vite';
const { createFilter } = pkg;
rose cedar
#

Never seen this one ๐Ÿค” you run npm install right? did it modify the package lock?

frigid cedar
#

Even with the original package-lock from the repo, the error persists. It seems like the issue may not be related to the dependencies or their versions

frigid cedar
rose cedar
#

I tried setting it up from scratch and it just worked ๐Ÿ˜•

rose cedar
frigid cedar
#

[Solved] Error Encountered While Running the pink-project

rose cedar
#

I will make an audit of the dependencies later ๐Ÿ™

frigid cedar
rose cedar