Next.js Discord

Discord Forum

rt.toLowerCase is not a function

Answered
American black bear posted this in #help-forum
Open in Discord
American black bearOP
Hello , when i started "Npm run dev" so i got error "rt.toLowerCase is not a function"
Answered by Ray
use 14.1.4 for now until next version
View full answer

34 Replies

@Ray try downgrading to next 14.1.4
American black bearOP
okay
@Ray try downgrading to next 14.1.4
American black bearOP
i don't know to use next 14.1.4, there only "npx create-next-app@latest"
npx create-next-app -v 14.1.4?
@American black bear i don't know to use next 14.1.4, there only "npx create-next-app@latest"
cd into your project and do npm install --save next@14.1.4
American black bearOP
okay
@Ray cd into your project and do npm install --save next@14.1.4
American black bearOP
uhm, that now not using tailwind
i need to download anything from start?
@American black bear uhm, that now not using tailwind
have you choose to use tailwind when you create the project?
@Ray have you choose to use tailwind when you create the project?
American black bearOP
yes
then it should be using tailwind
what do you mean now not using tailwind?
American black bearOP
well..
that not use
oh i see
so about you said "npm install --save next@14.1.4"
that did to Javascript
i choose typescript
npm install --save next@14.1.4 only install next with version 14.1.4
American black bearOP
well
that what the thing did
did what?
@Ray did what?
American black bearOP
nvm but what i need to do
reload again ?
try to bootstrap a new project with npx create-next-app@14.1.4
American black bearOP
btw
the typescript ues: js
the javascript use: mjs
but
@American black bear btw
why you have nested project?
doesnt matter with js or mjs for postcss.config
new version use mjs but they have issue
American black bearOP
oh
use 14.1.4 for now until next version
Answer
American black bearOP
okay ty