internal/modules/cjs/loader.js:968
throw err;
^

Rohma Ali
Dec 30, 2020

Error: Cannot find module ‘autoprefixer’

frontend-> vueJs

backend-> Laravel

Solution:

run the following command in terminal:

npm cache clean — force

and try again with

npx tailwindcss init

and done!!

this will create tailwind.config.js file in your application.

--

--

Rohma Ali

Web development/ PHP Laravel / Python/ Adobe illustrator/ Adobe XD