Custom Compoent Issue

Hello

I have an odd issue where the component I’ve developed works correctly in dev, but when I try to place it into my prod project, it just will not let me drop it. There is no error; it simply won’t let me place it.

Any ideas?

Thanks

1 Like

Hi Wayne :waving_hand:

Interesting issue.

Can you share some screenshots? Or even better a video?

You mean that you develop your component but when it comes time to use it doesn’t trigger? or you aren’t even able to insert it into your project?

Hi @Agustin_Carozo

I got ot the bottom of the issues, turns out that having

  "scripts": {
    "build": "weweb build name=markdown-renderer type=element",
    "serve": "weweb serve"
  }

in dev vs

"scripts": {
    "build": "weweb build",
    "serve": "weweb serve"
  }

in prod works.

Maybe something to add to the CLUADE.md file - worked fine in prod when I removed “build name=markdown-renderer type=element” from the package.json file and I was able to then insert it in prod.

1 Like

Yeah it’s very weird, you should at all times have the “simple” build without parameters. So it’s probably the AI hallucination.