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

Example active-class-name Module not found: Can't resolve 'prop-types' #28480

Closed
zhafri-shafiq opened this issue Aug 25, 2021 · 3 comments
Closed
Labels
bug Issue was opened via the bug report template. examples Issue/PR related to examples

Comments

@zhafri-shafiq
Copy link
Contributor

What example does this report relate to?

active-class-name

What version of Next.js are you using?

11.1.0

What version of Node.js are you using?

14.16.0

What browser are you using?

Chrome

What operating system are you using?

Windows

How are you deploying your application?

Stackblitz

Describe the Bug

On npm install && npx next dev in Stackblitz terminal, I see this error:

./components/ActiveLink.js:2:0
Module not found: Can't resolve 'prop-types'

image

Expected Behavior

Show the index page without error

To Reproduce

Go to next.js/examples/active-class-name
and open in stackblitz

@zhafri-shafiq zhafri-shafiq added bug Issue was opened via the bug report template. examples Issue/PR related to examples labels Aug 25, 2021
kodiakhq bot pushed a commit that referenced this issue Aug 25, 2021
## Bug

- Related issues #28480 

This is just minor dependency fix that I noticed while going through the examples.
@stefanprobst
Copy link
Contributor

looks like this was fixed in #28481

@zhafri-shafiq
Copy link
Contributor Author

zhafri-shafiq commented Aug 26, 2021

Yes, I will close this issue now.

@balazsorban44
Copy link
Member

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@vercel vercel locked as resolved and limited conversation to collaborators Jan 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue was opened via the bug report template. examples Issue/PR related to examples
Projects
None yet
Development

No branches or pull requests

3 participants