-
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
TypeError: Cannot assign to read only property 'exports' of object '#<Object>' #1753
Comments
Similar problem here - I used npm. But
Error message: |
@marvinatgithub Yes,i use it too,sorry i'm lazy-:D |
duplicate of #1729 |
and it seem's introduce a bug #1708 |
The same problem here, I find out in my project it's related with I remove @vue/cli-service in package.json and install packages again, my project works. |
It's a really hard bug to find exactly what happen... After some google it's look about confusing module.exports / export with import / require. |
Same problem here 😢 |
@kyleslight - I have no idea how you figured that out, but I'm so thankful you did! Works great now :D |
@kyleslight same here: I have no idea how you figured that out but thanks anyway! |
Seems that it's caused by #1685. So my workaround is to downgrade "dependencies": {
"@vuepress/core": "1.0.2",
"vuepress": "1.0.2",
} |
Bug report
Steps to reproduce
What is expected?
vuepress can work with vue-cli
What is actually happening?
vuepress can't work with vue-cli
Other relevant information
vue-cli version:
3.1.0
The text was updated successfully, but these errors were encountered: