-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling crashes as soon as a Vue component is added. #500
Comments
Could you provide the reproduction repo? BTW, If you can learn empathy, if I just describe a lot of problems and code, but do not give you a running environment, how do you think of it? 🙂 |
@chen-j You can create a git repository and pushed your code(only minimal reproduction code required) there. then give me this repo's link. |
https://github.com/chrtz/vuepress_repo Strangely, this seems to work for now. But I could invite you to the private repo to have a look there - if interested. |
@chartz, I sympathize in frustration; ready to publish, 10 seconds from completion; no way past go. For grins, after two days of hair pulling, ahem, I tried moving the script into "enhanceApp". That worked, but I had to twist all the script code pretty hard. |
My apologies, looks like this has something to do with me changing my Node version, and |
I think it could be possible this has to do with the new npm (6.10) and the audit function. As there are two vulnerabilities according to string.js. (#493) |
Closing it since you just said you cannot repro it anymore.
Well this is another issue and duplicate of #351 |
|
Bug report
Version
VuePress 0.9.0
Steps to reproduce
.vuepress/components/
folderWhat is expected?
Adding vue components to the
./vuepress/components
folder. (f.g. v-button.vue (see below for the sourcecode))What is actually happening?
Since today I got a compiling error as soon as I add a vue component to the components folder.
Yesterday it just worked.
As I thought I may corrupted a dependency or npm while updating it and couldn't find any other solution – I totally wiped node/npm and all modules from my system and reinstalled everything via
brew install node
.After restart the project (
npm install -g vuepress
) and runningvuepress dev
, the issue occours again. Even after a fresh install.The error-log:
After deleting the vue component it just successfully compiles again.
v-button.vue:
Other relevant information
The text was updated successfully, but these errors were encountered: