Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
paulochoi opened this issue Aug 19, 2021 · 1 comment
Open

Comments

@paulochoi
Copy link

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
Copy link

idbara commented Oct 9, 2022

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants