Cannot create an application that builds using vue-cli
See original GitHub issueVersion
2.9.6
Node and OS info
Node v8.11.3 / npm 5.6.0 / vue-cli 2.9.6 / Windows 10 x64
Steps to reproduce
Note: this issue happens with v2.9.6 but that wasn’t an option in the version list.
To recreate I ran “vue create ui-vue”. I select the standard features (babel, eslint). The issue also happens if I select manual options, no matter what manual options I select.
One the process finishes, I enter the directory (“cd ui-vue”) and then run the build (“npm run build”)
What is expected?
Build should complete successfully
What is actually happening?
Error:
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
TypeError: this[NS] is not a function
at childCompiler.runAsChild (C:\users\SeanK\Repositories\BDEasy\src\ui-vue\node_modules\mini-css-extract-plugin\dist\loader.js:148:15)
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
Cant create a vue project with CLI - Stack Overflow
Please follow these commands: To install the Vue CLI globally on your local system: npm install -g vue-cli. To initiate a project.
Read more >Build Targets - Vue CLI
When you run vue-cli-service build , you can specify different build targets via the --target option. This allows you to use the same...
Read more >Create, Build, and Serve Apps with the Vue CLI
Learn how to rapidly create, build, and serve Vue.js apps in development and production environments using the Vue CLI.
Read more >How To Generate a Vue.js Single Page App With the Vue CLI
Created in 2014 by Evan You (formally of Google), Vue.js is often described ... The browser cannot read this, so when the project...
Read more >Create a New Project With Vue CLI - OpenClassrooms
At its core, CLI tools help provide developers a standard foundation for starting every project so time can be spent on building applications...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This seems to be outdated and resolved upstream
Hi, I resolved it, I deleted “node_modules” and wrote “npm install” again. That works for me.