question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot create an application that builds using vue-cli

See original GitHub issue

Version

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:closed
  • Created 5 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
LinusBorgcommented, Aug 21, 2019

This seems to be outdated and resolved upstream

1reaction
alvarignocommented, May 20, 2019

Hi, I resolved it, I deleted “node_modules” and wrote “npm install” again. That works for me.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found