Jump to content

Recommended Posts

With the following code:

s

velte:head
 
<script type='application/ld+json'>
 
{
 
"@context": "https://schema.org",
 
"@type": "Organization",
 
"url": "https://filestar.com",
 
"logo": "https://filestar.com/logo-512.png"
 
}
 
</script>
 
/svelte:head


 

In getting:

 

[svelte-preprocess] Error transforming 'ld+json'.

 

Message:

Cannot find module './transformers/ld+json'

 

Stack:

Error: Cannot find module './transformers/ld+json'

at Function.Module.resolveFilename (internal/modules/cjs/loader.js:581:15)

at Function.Module.load (internal/modules/cjs/loader.js:507:25)

at Module.require (internal/modules/cjs/loader.js:637:17)

at require (internal/modules/cjs/helpers.js:22:18)

at Promise.resolve.then (C:\Repos\Filestar-Website\web-vnext\node_modules\svelte-preprocess\dist\utils.js:112:61)

 

I've tried the suggestions in this github thread with the same

result: https://github.com/sveltejs/svelte/issues/2438 & mentioned in https://adevait.com/qa/automated-accessibility-testing-for-svelte-applications.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...