An error occured in 'next/font'. Error: Cannot find module 'autoprefixer'
Answered
Chinese Alligator posted this in #help-forum
Chinese AlligatorOP
I'm getting this error only during production build, running locally fine.
I tried to add autoprefixer to devDependencies which didnt help, any advise?
I tried to add autoprefixer to devDependencies which didnt help, any advise?
Answered by Chinese Alligator
i had to install
autoprefixer
and cssnano
as dependencies (not devDependencies)1 Reply
Chinese AlligatorOP
i had to install
autoprefixer
and cssnano
as dependencies (not devDependencies)Answer