#[Solved] Error Encountered While Running the pink-project
23 messages ยท Page 1 of 1 (latest)
I followed the outlined instructions accurately
I tried many times but it always gives same error
Maybe it's because pink only works with sveltekit so such method doesn't exists on Vite
This package making an issue: https://github.com/rollup/plugins/tree/master/packages/pluginutils#createfilter
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.
@rose cedar @clear brook can you take a look here?
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;
Never seen this one ๐ค you run npm install right? did it modify the package lock?
Yes, it's modified. It seems that some modules were updated while others were removed
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
try doing npm ci ๐
ok wait
I tried setting it up from scratch and it just worked ๐
before that make sure to use the original lock
Now it's working ๐
Thanks Torsten
[Solved] Error Encountered While Running the pink-project
no problem, interesting I am not able to recreate the issue ๐
I will make an audit of the dependencies later ๐
Thanks for your advice. It's interesting that you're not experiencing the same issue.
By the way, I was thinking about the project's roadmap. Do we have one in place that I can follow and contribute to?
we dont have an official roadmap right now for pink - however we have some plans with it that we are evaluating internally at this moment ๐