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
curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/analyze-bundles
cd analyze-bundles
npm install
npm run dev
See the following error:
ERROR Failed to compile with 1 errors 6:03:15 PM
error in ./node_modules/next/dist/client/next-dev.js
Module parse failed: Unexpected token (34:6)
You may need an appropriate loader to handle this file type.
|
|
> import('./noop');
| var _window = window,
| assetPrefix = _window.__NEXT_DATA__.assetPrefix;
@ multi ./node_modules/next/dist/client/next-dev
Examples bug report
Example name
analyze-bundles
Describe the bug
After following the "Download manually" instructions, there is an error in the terminal and the page at http://localhost:3000/ displays "Internal Server Error"
To Reproduce
curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/analyze-bundles
cd analyze-bundles
npm install
npm run dev
Expected behavior
Expect to see no errors.
System information
Additional context
Looks to be caused by #6259
The text was updated successfully, but these errors were encountered: