creativetimofficial / ct-notus-pro-react

PRO version of Notus React by Creative Tim
https://www.creative-tim.com/product/notus-pro-react
6 stars 0 forks source link

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

Open paulochoi opened 3 years ago

paulochoi commented 3 years ago

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

idbara commented 2 years ago

same issue