vercel / next.js

The React Framework
https://nextjs.org
MIT License
125.97k stars 26.88k forks source link

TypeError: Cannot read properties of undefined (reading 'lastIndexOf') while using <Script /> in App dir #54218

Open anonymouscatcher opened 1 year ago

anonymouscatcher commented 1 year ago

Verify canary release

Provide environment information

Operating System:
      Platform: darwin
      Arch: x64
8796.121.3~7/RELEASE_X86_64
    Binaries:
      Node: 18.16.0
      npm: 9.8.1
      Yarn: 1.22.10
      pnpm: N/A
    Relevant Packages:
      next: 13.4.16
      eslint-config-next: 13.3.0
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 4.9.5

Which area(s) of Next.js are affected? (leave empty if unsure)

No response

Link to the code that reproduces this issue or a replay of the bug

I don't have

To Reproduce

Just trying to use Githubissues.

  • Githubissues is a development platform for aggregating issues.