question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installation not working

See original GitHub issue

it doesn’t work if I install as a package and use as you mention in your documentation, I copied the source of Fa.svelte file and just imported and used as you suggest in your documentation and it works. The version I used when I did this test was 2.2.0

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

8reactions
jrmoynihancommented, Apr 19, 2022

@Cweili You may also want to include in the docs that SvelteKit/Vite may require you to import from the module-friendly export of the font awesome package when you build the site:

import { faCaretDown, faCaretUp } from '@fortawesome/free-solid-svg-icons/index.es'

2reactions
tipsypastelscommented, May 26, 2022

+1 to mention the index.es thing in the docs if possible 😃 just stumped me for a bit

when using typescript i found i also needed to add type definitions that redirect to the non-index.es export

// app.d.ts

declare module '@fortawesome/pro-solid-svg-icons/index.es' {
  export * from '@fortawesome/pro-solid-svg-icons';
}

not sure if that’s the canonical way to do that but it works

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to troubleshoot Windows Installer errors - Microsoft Support
Right-click Windows Installer, and then click Properties. If the Startup type box is set to Disabled, change it to Manual. Click OK to...
Read more >
Unable to Install Apps or Software on Windows? Here's What ...
1. Reboot Your Computer · 2. Check App Installer Settings in Windows · 3. Free Up Disk Space on Your PC · 4....
Read more >
Windows Installer not working properly in Windows 11/10
2] Start the Windows Installer Service ... In the Run prompt, type MSIExec, and then press Enter. If you get the Windows Installer...
Read more >
Here's How To Fix Windows Installer Not Working
How to Fix Windows Installer Not Working? · Run the Troubleshooter · Scan for Virus/Malware · Restart Windows Installer Service · Re-register the ......
Read more >
Fix Windows Installer Not Working in Windows 10 / 11
Fix Windows Installer Not Working in Windows 10 / 11 · Method 1: Starting msiserver service · Method 2: Tweaking Windows installer properties...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found