Error: Cannot find module 'css-selector-tokenizer'


#1

Recently, I’ve been having trouble getting started with the Vue-CLI. I would create a project using the vue create [name of project] command and yarn would successfully (or at least I think 'cause I get no errors) install the relevant modules. The problem arises when launching said project via the yarn serve script, during compilation. I get the Error: Cannot find module 'css-selector-tokenizer' error message, as noted in the title and illustrated below in the linked image. I’m working with Vue 3.0.4 and have already used it before for other projects without issues. Also, I have not changed anything on my machine that would impact the CLI’s functioning, hence the rather bizarre situation. I did try to manually install the ‘css-selector-tokenizer’ module but to no avail. What gives?