-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
dist folder not working "Uncaught TypeError: Cannot set property 'render' of undefined #2430
Comments
It's caused by the empty |
@sodatea u r right |
@sodatea Thanks |
@sodatea you are life saver bro!!! Awesome |
@sodatea Thanks a lot! |
Awesome bro...... |
@sodatea thanks |
what is the solution remove add dummy method, data or props? |
just remove the empty script tag |
Version
3.0.1
Reproduction link
Node and OS info
Node:v8.11.3, npm:6.4.1
Steps to reproduce
I have created a new vue cli3 project. There is no problem with "npm run serve" command. Everything is working well. But when i build the project with "npm run build" commad, I find a dist folder with no error. After uploading this folder contents on gituhub I see a blank page with the console error message :
Uncaught TypeError: Cannot set property 'render' of undefined
at r (componentNormalizer.js:24)
at Module.56d7 (Project.vue:9)
at c (bootstrap:78)
at Object.0 (bootstrap:151)
at c (bootstrap:78)
at s (bootstrap:45)
at 0 (bootstrap:151)
at bootstrap:151
What is expected?
this project can run with "npm run build"
What is actually happening?
Uncaught TypeError: Cannot set property 'render' of undefined
at r (componentNormalizer.js:24)
at Module.56d7 (Project.vue:9)
at c (bootstrap:78)
at Object.0 (bootstrap:151)
at c (bootstrap:78)
at s (bootstrap:45)
at 0 (bootstrap:151)
at bootstrap:151
The text was updated successfully, but these errors were encountered: