Skip to content
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

Vue create app produces an unbuildable project #5434

Closed
l1x opened this issue Feb 15, 2022 · 1 comment
Closed

Vue create app produces an unbuildable project #5434

l1x opened this issue Feb 15, 2022 · 1 comment

Comments

@l1x
Copy link

l1x commented Feb 15, 2022

Version

3.2.31

Reproduction link

github.com/l1x/vue-bug

Steps to reproduce

yarn serve

What is expected?

a working hello world

What is actually happening?

a non working hello world


> npx envinfo --system --npmPackages '{vue,@vue/*}' --binaries --browsers

  System:
    OS: macOS 11.6.2
    CPU: (8) arm64 Apple M1
    Memory: 112.64 MB / 16.00 GB
    Shell: 3.3.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 14.18.1 - /opt/homebrew/opt/node@14/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 8.1.0 - /opt/homebrew/bin/npm
  Browsers:
    Brave Browser: 98.1.35.101
    Safari: 15.0
  npmPackages:
    @vue/cli-plugin-babel: ~4.5.0 => 4.5.15
    @vue/cli-plugin-eslint: ~4.5.0 => 4.5.15
    @vue/cli-plugin-router: ~4.5.0 => 4.5.15
    @vue/cli-plugin-typescript: ~4.5.0 => 4.5.15
    @vue/cli-service: ~4.5.0 => 4.5.15
    @vue/compiler-sfc: ^3.0.0 => 3.2.31
    @vue/eslint-config-prettier: ^6.0.0 => 6.0.0
    @vue/eslint-config-typescript: ^7.0.0 => 7.0.0
    vue: ^3.0.0 => 3.2.31
@tony19
Copy link
Contributor

tony19 commented Feb 15, 2022

Duplicate of vuejs/vue-cli#6994

Workaround is to add this config:

// vue.config.js
module.exports = {
  configureWebpack: {
    devtool: 'eval-cheap-source-map',
  },
}

demo

@ygj6 ygj6 closed this as completed Feb 16, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Oct 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants