Skip to content

Module not found: Can't resolve '@fortawesome/react-fontawesome' #34

@kabirbatra03

Description

@kabirbatra03

I thought it was typo error @fontawesome/... instead of "fortawesome" line 1 , 6 and 38.
But still not resolved.

Failed to compile.

./src/fontLib.tsx
Module not found: Can't resolve '@fortawesome/fontawesome-svg-core' in '/Applications/Github/BugVilla/client/src'

import { library } from '@fortawesome/fontawesome-svg-core';
import {
faGoogle,
faGithub,
faTwitter
} from '@fortawesome/free-brands-svg-icons';
import {
faArrowRight,
faAt,
faBell,
faBan,
faBars,
faBug,
faCheck,
faCog,
faComment,
faDoorOpen,
faEdit,
faEllipsisV,
faEnvelope,
faExclamation,
faExclamationTriangle,
faHistory,
faHome,
faSmile,
faInfoCircle,
faLink,
faLock,
faPlus,
faRetweet,
faSpinner,
faSignOutAlt,
faTag,
faTimes,
faUser,
faCheckCircle,
faExclamationCircle
} from '@fortawesome/free-solid-svg-icons';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions