swagger-api / swagger-api/swagger-ui
Next.js 12 issue with 'isarray' module
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
Q&A (please complete the following information)
- OS: Windows 10
- Browser: Firefox
- Method of installation: npm
- Swagger-UI version: 4.1.0
Content & configuration
For some reason when i install swagger-ui-react in Next.js 12 it can't find the isarray module. Manually installing isarray will fix the issue. It works just fine with Next.js 11 and regular create-react-app projects. Any idea why this is the case?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the swagger-ui-react installation in a Next.js 12 project on Windows 10, then compare it with Next.js 11 and a regular create-react-app project. The issue is resolved when the package works in Next.js 12 without manually installing isarray.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, next.js, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100