next.js
next.js copied to clipboard
with-typescript broken with 6.1.1
Bug report
Describe the bug
Error when building a page in with-typescript example.
ERROR Failed to compile with 1 errors 15:18:32
error in ./pages/index.tsx
Module build failed: Error: include option is not provided to hot-self-accept-loader. Please upgrade all next-plugins to the latest version.
at Object.module.exports (/Users/murdock/lab/next-type/node_modules/next/dist/build/webpack/loaders/hot-self-accept-loader.js:21:11)
@ multi ./pages/index.tsx
(node:1669) DeprecationWarning: Module.chunks: Use Module.forEachChunk/mapChunks/getNumberOfChunks/isInChunk/addChunk/removeChunk instead
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- Run with-typescript example
- Open localhost:3000
Expected behavior
Run without errors.
Screenshots

System information
- OS: macOS High Sierra - MacBook Pro
- Version of Next.js: 6.1.1
Additional context
...
Feel free to send a pull request, exactly as the message says yarn add @zeit/next-typescript will fix it 👍
Thank you! Created a pull request #4704