Closed KnorpelSenf closed 3 years ago
Please clear the node_modules and lockfile, then re-install it. (Suggest to upgrate to latest version)
You are having duplicate package:
Had the same problem when updating from ^2.0.0-beta.24
to ^2.0.0-beta.26
. As @meteorlxy suggested, deleting node_modules
and package-lock.json
and then running npm install
fixes the problem.
Bug report
Description
After updating from
beta.11
tobeta.12
, my project's build process crashes with the following error:Unfortunately, I cannot figure out where exactly the issue comes from—I just know that something in the commit range 1279e81e5d07db251917b6f3cb5de47ae9266aaf..f3fadbc8a730a5985115b8e94f9a634b92354ac3 must have caused it.
The same error can be observed in the JavaScript console of Chrome when running
vuepress dev
.Steps to reproduce
I created a branch on my project that you can use to reproduce the error. It only adds a single commit that updates the vuepress dependency.
The issue persists with the current version, i.e.
beta.16
.Expected behavior
The build performs as before.
Environment info
vuepress info
: