svelte-schema-form icon indicating copy to clipboard operation
svelte-schema-form copied to clipboard

Hidden.svelte naming issue

Open Pongkaihen opened this issue 2 years ago • 3 comments

Error that i get: Internal server error: Failed to load url ./editors/Hidden.svelte (resolved id: ./editors/Hidden.svelte) in /home/pongki/sveltekit/admin-panel/node_modules/@restspace/svelte-schema-form/SchemaForm.svelte. Does the file exist?

After a while of checking, i found out that the name of the file in the node modules is "HIdden.svelte", the "I" is in uppercase and caused this error. image

In the source code, I see that the name of the file is correct. Not sure why after i install the package the name will become wrong

How I install the package: yarn add @restspace/svelte-schema-form

Pongkaihen avatar Mar 20 '23 07:03 Pongkaihen

I just came to say that I found exactly the same error. I think the owner just needs to republish the NPM package as the following file appears to be name correctly.

Hidden.svelte `

mithray avatar Apr 18 '23 00:04 mithray

@mithray How do you fix it for now? using patch method ?

Pongkaihen avatar Apr 19 '23 05:04 Pongkaihen

This was resolved by https://github.com/restspace/svelte-schema-form/commit/58cc5e70ea1a5559f9ec68ec72d33e6611549f1e

Released in @restspace/[email protected]

facetious avatar Oct 26 '23 15:10 facetious