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
Parsing file ...\node_modules\vue\dist\vue.common.js: Line 6460: Invalid regular expression
And getting Failed to mount component: template or render function not defined. (found in root instance) in browser. Which probably means that Vue didn't get built correctly in the gulp task.
Checking vue.common.js im suspecting it's the following line @6459:
varregexEscapeRE=/[-.*+?^${}()|[\]/\\]/g;
"Debugs" attempted
Commenting the whole line out seems to remove both the gulp error and the browser error and makes vue run.
Adding an extra \ right after [\] like so:
varregexEscapeRE=/[-.*+?^${}()|[\]\/\\]/g;
also seems to remove gulp error, browser error and makes vue run.
The text was updated successfully, but these errors were encountered:
Vue.js version
2.1.6
Steps to reproduce
Using the standalone build; vue.common.js
Running following gulp task:
What is happening?
Parsing file ...\node_modules\vue\dist\vue.common.js: Line 6460: Invalid regular expression
And getting
Failed to mount component: template or render function not defined. (found in root instance)
in browser. Which probably means that Vue didn't get built correctly in the gulp task.Checking vue.common.js im suspecting it's the following line @6459:
"Debugs" attempted
Commenting the whole line out seems to remove both the gulp error and the browser error and makes vue run.
Adding an extra
\
right after [\] like so:also seems to remove gulp error, browser error and makes vue run.
The text was updated successfully, but these errors were encountered: