Skip to content

[Bug] Error when compiling code as unsplashs.jpg does not exist #4

@paulochoi

Description

@paulochoi

Version

1.0.1

Reproduction link

https://github.com/paulochoi/notus-pro-bug

Operating System

Microsoft Windows

Device

PC

Browser & Version

Latest Google Chrome and MS Edge

Steps to reproduce

Add a navBar component and try to run code.

What is expected?

Code to compile

What is actually happening?

The NPM package @notus-pro/react is looking for a JPG that does not exist within the source code.

Error is:
./node_modules/@notus-pro/react/CardBlogFullBgAuthor.js:49:0
Module not found: Can't resolve 'assets/img/sections/unsplashs.jpg'

Import trace for requested module:
./node_modules@notus-pro\react\index.js
./components\NavBar.tsx
./pages_app.tsx

https://nextjs.org/docs/messages/module-not-found


Solution

Comment out the line ./node_modules/@notus-pro/react/CardBlogFullBgAuthor.js:49:0

Additional comments

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions