Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ethan-arrowood/next-issue-repro
https://github.com/ethan-arrowood/next-issue-repro
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ethan-arrowood/next-issue-repro
- Owner: Ethan-Arrowood
- Created: 2024-11-30T03:25:41.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-30T03:28:14.000Z (about 1 month ago)
- Last Synced: 2024-12-17T17:06:18.640Z (22 days ago)
- Language: JavaScript
- Size: 151 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Next.js as Transitive Dep issue
1. Clone this repo
4. cd into `next-transitive` and run `npm install --install-links` (the option is so that the file: is actually installed instead of symlinked)
5. cd into `next-transitive/node_modules/next-app` and try to run `npx next build` or `npm run build`. They will both fail with the following:```
> [email protected] build
> next build▲ Next.js 15.0.3
Creating an optimized production build ...
Failed to compile../app/page.js
Module parse failed: Unexpected token (6:4)
File was processed with these loaders:
* ../next/dist/build/webpack/loaders/next-flight-loader/index.js
* ../next/dist/build/webpack/loaders/next-swc-loader.js
You may need an additional loader to handle the result of these loaders.
| export default function Home() {
| return (
>
|
| Build failed because of webpack errors
```