Repository nuxt.js

[edge] error TypeError: request.charCodeAt is not a function

manniL
840
manniL
commented a month ago

Version

2.0.0-25573630.6bfa68d and up

Reproduction link

https:/-/

Steps to reproduce

Several people (including me) receiving error TypeError: request.charCodeAt is not a function

It's not present in 2.0.0-25569931.85a8af5 but is present in 2.0.0-25573630.6bfa68d

Seems like it's only reproducible when modules are included.

Related: https://github.com/nuxt-community/nuxtent-module/issues/179, https://github.com/nuxt-community/auth-module/issues/229

More information as I can retrieve

What is expected ?

No error

What is actually happening?

Start a nuxt app with npm run dev and see the error in the console: error TypeError: request.charCodeAt is not a function. Breaking for windows-user as the command will stop

bug
0
manniL
840
manniL
commented a month ago

npm i [email protected] is a temporary workaround.

0
Informations
Bug ReportFixed
#c7604 - Created a month ago