solid icon indicating copy to clipboard operation
solid copied to clipboard

createRessource and astro: Cannot read properties of undefined (reading 'id')

Open millette opened this issue 2 years ago • 3 comments

Describe the bug

Not sure if the problem is in astro or solidjs but I can't use createRessource() and astro ssr.

Your Example Website or App

https://github.com/millette/microattestations-icea

Steps to Reproduce the Bug or Issue

pnpm build breaks after

prerendering static routes

Expected behavior

No error is expected, build should finish.

Screenshots or Videos

No response

Platform

  • OS: Linux
  • Browser: irrelevant
  • solidjs Version: 1.7.1 ann 1.6.15
  • astro: 2.1.9

Additional context

No response

millette avatar Apr 04 '23 15:04 millette

This might be related: https://github.com/withastro/astro/issues/6709

lxsmnsyc avatar Apr 04 '23 15:04 lxsmnsyc

Reproduction seems not to be there. Can we get a reproduction?

ryansolid avatar May 01 '23 23:05 ryansolid

Sorry, I was overwhelmed with work. I'll try and make a simple repro soon.

millette avatar May 13 '23 20:05 millette