You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So turns out for the project there was a specific older version of node (13.5.0) in use, even though node -v was reporting 14.8.0; I should use console.log(process.versions) more often.
I set nvm use 14.8.0, deleted the root node_modules dir, and ran npm install again. Everything is fine now.
With a fresh install of nuxt.js (via create-nuxt-app),
npm run dev
fails with an error:ERROR No valid exports main found for '/myProject/node_modules/autoprefixer/node_modules/colorette'
To get around this (and continue work), the error is cleared by simply moving-or-deleting this folder:
node_modules/autoprefixer/node_modules/colorette
Tried with node 14.0.0, 14.0.5 and 14.8.0; same results all round.
The text was updated successfully, but these errors were encountered: