anse icon indicating copy to clipboard operation
anse copied to clipboard

The requested module '/node_modules/.vite/deps/solid-js_web.js?v=535ec443' does not provide an export named 'setProperty

Open kerry0955 opened this issue 1 year ago • 7 comments

What operating system are you using?

Mc

What browser are you using?

Chrome

Describe the bug

Execute pnpm dev page error。

image

What provider are you using?

None

What prompt did you enter?

image image

Console Logs

No response

Participation

  • [ ] I am willing to submit a pull request for this issue.

kerry0955 avatar Oct 19 '23 07:10 kerry0955

Same. However, I found that the most recent update for solid-js was made 4 months ago...

zhuozhiyongde avatar Nov 15 '23 03:11 zhuozhiyongde

Hi, I'm experiencing the same issue when trying to do local development. Since I'm not a frontend engineer and don't have much experience with this, it's difficult for me to fix it.

I've tried the following:

  1. Using node 18
  2. Using node 20
  3. Updating @astrojs/solid-js to version 3.0.2

However, none of these solutions have resolved the problem. Interestingly, when I deploy to Vercel, everything runs smoothly. This leads me to believe that the issue may be related to the Astro environment.

chenyhd avatar Nov 26 '23 10:11 chenyhd

Same issue, I tested build on ubuntu vm with node V20, node v18 docker, and the default Dockerfile, they all have this issue.But when I deploy to Vercel, it run smoothly.

matoung avatar Dec 20 '23 02:12 matoung

update the solid-js (not @astrojs/solid-js) to latest will resolve it.

ppxb avatar Dec 26 '23 03:12 ppxb

Fixed here: https://github.com/anse-app/anse/pull/121 Waiting for approval

miguelgargallo avatar Dec 27 '23 18:12 miguelgargallo

解决办法修改package.json 把"solid-js": "1.7.7",修改成"solid-js": "1.8.7", 参考: https://github.com/anse-app/anse/pull/121

lxyoucan avatar Dec 31 '23 09:12 lxyoucan

Solución: Cambie package.json a "solid-js": "1.7.7" a "solid-js": "1.8.7", referencia: #121

Please, if works to you, I would like some minimal support in the https://github.com/anse-app/anse/pull/121 to let devs it works and I contributed! Thanks @lxyoucan for your time and happy new years eve! 🎉❤️‍🔥

miguelgargallo avatar Dec 31 '23 13:12 miguelgargallo