next.js icon indicating copy to clipboard operation
next.js copied to clipboard

with-typescript broken with 6.1.1

Open vinipace opened this issue 8 years ago • 2 comments

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:

  1. Run with-typescript example
  2. 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

...

vinipace avatar Jun 30 '18 18:06 vinipace

Feel free to send a pull request, exactly as the message says yarn add @zeit/next-typescript will fix it 👍

timneutkens avatar Jun 30 '18 18:06 timneutkens

Thank you! Created a pull request #4704

vinipace avatar Jun 30 '18 18:06 vinipace