vuejs / vue-cli

🛠️ webpack-based tooling for Vue.js Development
https://cli.vuejs.org/
MIT License
29.76k stars 6.33k forks source link

Vue Cli Build packages a older version of Billboard.js in app.js #4360

Closed nirmal93guna closed 5 years ago

nirmal93guna commented 5 years ago

Version

3.9.3

Environment info

Environment Info:
  System:
    OS: macOS 10.14.5
    CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
  Binaries:
    Node: 10.15.0 - /usr/local/opt/node@10/bin/node
    Yarn: Not Found
    npm: 6.4.1 - /usr/local/opt/node@10/bin/npm
  Browsers:
    Chrome: 75.0.3770.142
    Firefox: 68.0
    Safari: 12.1.1
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0
    @vue/babel-plugin-transform-vue-jsx:  1.0.0
    @vue/babel-preset-app:  3.9.2
    @vue/babel-preset-jsx:  1.1.0
    @vue/babel-sugar-functional-vue:  1.0.0
    @vue/babel-sugar-inject-h:  1.0.0
    @vue/babel-sugar-v-model:  1.0.0
    @vue/babel-sugar-v-on:  1.1.0
    @vue/cli-overlay:  3.9.0
    @vue/cli-plugin-babel: ^3.2.0 => 3.9.2
    @vue/cli-plugin-eslint: ^3.2.0 => 3.9.2
    @vue/cli-plugin-unit-jest: ^3.2.0 => 3.9.0
    @vue/cli-service: ^3.2.0 => 3.9.3
    @vue/cli-shared-utils:  3.9.0
    @vue/component-compiler-utils:  2.6.0 (3.0.0)
    @vue/eslint-config-airbnb: ^4.0.0 => 4.0.1
    @vue/eslint-config-standard: ^4.0.0 => 4.0.0
    @vue/preload-webpack-plugin:  1.1.0
    @vue/test-utils: ^1.0.0-beta.20 => 1.0.0-beta.29
    @vue/web-component-wrapper:  1.2.0
    babel-helper-vue-jsx-merge-props:  2.0.3
    bootstrap-vue: 2.0.0-rc.19 => 2.0.0-rc.19
    eslint-plugin-vue: ^5.2.2 => 5.2.3
    jest-serializer-vue:  2.0.2
    portal-vue:  2.1.5
    vue: ^2.6.10 => 2.6.10
    vue-2-breadcrumbs: ^0.4.2 => 0.4.2
    vue-bootstrap-datetimepicker:  5.0.1
    vue-clamp: ^0.2.1 => 0.2.1
    vue-click-outside: ^1.0.7 => 1.0.7
    vue-clickaway:  2.2.2
    vue-clipboard2:  0.2.1
    vue-codemirror:  4.0.6
    vue-content-loading: ^1.6.0 => 1.6.0
    vue-eslint-parser:  2.0.3
    vue-functional-data-merge:  2.0.7
    vue-hot-reload-api:  2.3.3
    vue-jest:  3.0.4
    vue-loader:  15.7.1
    vue-masonry-css: ^1.0.3 => 1.0.3
    vue-moment:  4.0.0
    vue-multiselect: ^2.1.6 => 2.1.6
    vue-observe-visibility:  0.4.4
    vue-resize:  0.4.5
    vue-router: ^3.0.1 => 3.0.7
    vue-select:  2.6.4
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.5.21 => 2.6.10
    vue-template-es2015-compiler:  1.9.1
    vue-toasted:  1.1.27
    vue-virtual-scroller:  1.0.0-rc.2
    vue2-daterange-picker: 0.2.3 => 0.2.3
    vuex: ^3.0.1 => 3.1.1
    vuex-router-sync: ^5.0.0 => 5.0.0
  npmGlobalPackages:
    @vue/cli: 3.4.0

Steps to reproduce

Nil

What is expected?

The app.js should have the lastest version of Billboard.js as mentioned in the package.json

What is actually happening?

The node_modules folder contains the latest specified version of Billboard.js, but after packaging, the app.js contains an older version.

LinusBorg commented 5 years ago
  1. There's no "billboard.js defined in the packages listed ab ove
  2. You didn't provide a reproduction. We can'T help you without a reproduction, that's why one is mandatory.
  3. This problem is likely not related to vue-cli since package resolution is webpack/npm's job, not vue-cli's. I may be wrong but can't judge differently since you didn't provide any information to work with.