You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ pnpm dev
TypeError: prevRewrites is not iterable
at Object.rewrites (file:///C:/Users/augie/dev/playground/million-rewrites-example/node_modules/.pnpm/@million+lint@1.0.0-rc.1/node_modules/@million/lint/dist/compiler/index.mjs:3085:14)
at async loadRewrites (C:\Users\augie\dev\playground\million-rewrites-example\node_modules\.pnpm\next@14.2.3_@babel+core@7.24.5_react-dom@18.3.1_react@18.3.1\node_modules\next\dist\lib\load-custom-routes.js:382:23)
at async Promise.all (index 1)
at async loadCustomRoutes (C:\Users\augie\dev\playground\million-rewrites-example\node_modules\.pnpm\next@14.2.3_@babel+core@7.24.5_react-dom@18.3.1_react@18.3.1\node_modules\next\dist\lib\load-custom-routes.js:435:44)
at async setupFsCheck (C:\Users\augie\dev\playground\million-rewrites-example\node_modules\.pnpm\next@14.2.3_@babel+core@7.24.5_react-dom@18.3.1_react@18.3.1\node_modules\next\dist\server\lib\router-utils\filesystem.js:245:24)
at async initialize (C:\Users\augie\dev\playground\million-rewrites-example\node_modules\.pnpm\next@14.2.3_@babel+core@7.24.5_react-dom@18.3.1_react@18.3.1\node_modules\next\dist\server\lib\router-server.js:61:23)
at async Server.<anonymous> (C:\Users\augie\dev\playground\million-rewrites-example\node_modules\.pnpm\next@14.2.3_@babel+core@7.24.5_react-dom@18.3.1_react@18.3.1\node_modules\next\dist\server\lib\start-server.js:249:36)
What version of
million
are you using?1.0.0-rc.0
Are you using an SSR adapter? If so, which one?
N/A
What package manager are you using?
pnpm
What operating system are you using?
Windows
What browser are you using?
Chrome
Describe the Bug
Making use of fallback URL rewrites appears to break million lint.
What's the expected result?
The million lint server should start normally.
Ex - rewrites commented out:
Link to Minimal Reproducible Example
https://stackblitz.com/github/AugusDogus/million-rewrites-example
Participation
The text was updated successfully, but these errors were encountered: