Skip to content

rt.toLowerCase is not a function on fresh next js init #64465

Closed
@AkipTsaqif

Description

Link to the code that reproduces this issue

https://github.com/AkipTsaqif/next-js-init-error

To Reproduce

  1. do npx create-next-app@latest and follow the steps as usual
  2. do npm run dev
  3. next js runs but produces error on the terminal, saying rt.toLowerCase is not a function at \node_modules\next\dist\compiled\webpack\bundle5.js:30:274042

Current vs. Expected behavior

next js should not produces those error

Provide environment information

Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 11 Pro
  Available memory (MB): 32704
  Available CPU cores: 6
Binaries:
  Node: 20.11.1
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.2.1 // Latest available version is detected (14.2.1).
  eslint-config-next: 14.2.1
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.4.5
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

App Router

Which stage(s) are affected? (Select all that apply)

next dev (local)

Additional context

based on this SO question, that just been asked recently, this happens on next js 14.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugIssue was opened via the bug report template.locked

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions