-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
vue create [x]
seems to have Hot Module Replacement disabled
#1830
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
Comments
The scaffolded project seems to be using beta.15. Cannot reproduce with rc.3. |
I'm having the same problem today with 3.0.0-rc.4 ... I've only run a cd vue-cli-app
npm run serve I get the I have created a repo on GitHub with the output files from that I'm on a Windows machine at the moment so I haven't tried this under Linux, perhaps that's the difference here. Every test I've done so far has always failed with the same error. It's definitely using 3.0.0-rc.4 in my tests (confirmed in the package.lock file). |
Duh. I just noticed #1634 and set NODE_ENV=development (another duh) and it's fine. That DEV came from tests on another electron-based project. Please ignore these comments, case closed. |
Ah I couldn't find that issue! That seemed to be the problem for me as well. My NODE_ENV was |
Version
3.0.0-rc.3
Reproduction link
https://github.com/RickMeijer/bugreport-vue
Steps to reproduce
npm install @vue/cli -g
vue create foo
cd foo && npm run serve
What is expected?
Showing a welcome screen.
What is actually happening?
Chrome console shows following error:
Fixed by creating
vue.config.js
file and setting:Output of
vue -V
: 3.0.0-rc.3The text was updated successfully, but these errors were encountered: