Package Details: vue-cli 3.10.0-1

Git Clone URL: https://aur.archlinux.org/vue-cli.git (read-only)
Package Base: vue-cli
Description: Standard tooling for Vue.js development
Upstream URL: https://cli.vuejs.org
Licenses: MIT
Conflicts: nodejs-vue-cli
Submitter: flacks
Maintainer: tiberiousr
Last Packager: tiberiousr
Votes: 8
Popularity: 1.288682
First Submitted: 2018-04-23 21:35
Last Updated: 2019-08-04 19:52

Required by (0)

Sources (0)

Latest Comments

bkuri commented on 2019-08-04 23:39

@tiberiousr yeah, I figured it's an npm error; decided to report nonetheless. FWIW, v3.10.1-1 gives me exactly the same error. Not sure what's going on. Thanks!

tiberiousr commented on 2019-08-04 19:52

@bkuri - I've updated the package for the 3.10.0 release. Hopefully that'll fix the issue for you.

tiberiousr commented on 2019-08-04 19:46

@bkuri - That's an npm error. There's nothing I can do to fix that. The PKGBUILD just installs the package via npm into a folder and packages that folder.

bkuri commented on 2019-08-03 22:27

I'm getting the following error when building v3.9.3-1:

npm ERR! Unexpected end of JSON input while parsing near '...XTPd3GY\npv+jr6sYK965'

Log can be found here: https://gist.github.com/bkuri/1511b1803970185cbbed3829374b72a8

flacks commented on 2018-11-16 10:50

No problem. Thanks for updating the command; also, using "+" for find - instead of "\;" - is considerably faster, especially for larger operations.

tiberiousr commented on 2018-11-16 09:00

@flacks, sorry about that, I've rectified the contributor attribution and the permissions.

tiberiousr commented on 2018-09-27 10:16

The package appears to be broken at present. Every command I try fails with missing modules:

$ vue create my-app
internal/modules/cjs/loader.js:583
    throw err;
    ^
Error: Cannot find module 'ejs'


$ vue init pwa my-app
internal/modules/cjs/loader.js:583
    throw err;
    ^

Error: Cannot find module '@vue/cli-shared-utils'
$ vue ui
internal/modules/cjs/loader.js:583
    throw err;
    ^
Error: Cannot find module '@vue/cli-shared-utils'

I rewrote the PKGBUILD with the following and it works now, also this version is up to date:

_npmname='@vue/cli'
pkgname=vue-cli
pkgver=3.0.4
pkgrel=1
pkgdesc='Standard tooling for Vue.js development'
arch=(i686 x86_64)
url=https://cli.vuejs.org
license=(MIT)
depends=(nodejs)
makedepends=(npm)
conflicts=(nodejs-vue-cli)
options=(!strip)
source=("https://github.com/vuejs/vue-cli/archive/v$pkgver.tar.gz")
noextract=("v$pkgver.tar.gz")
sha1sums=('1ea3513391607b51cdfad2f145b9381a05654ded')

package() {
  npm install -g --prefix="$pkgdir/usr" $_npmname@$pkgver
}

foxie commented on 2018-08-21 11:20

To make vue command available, add these lines to package():

install -d "${pkgdir}/usr/bin"
ln -s /usr/lib/node_modules/vue-cli/packages/@vue/cli/bin/vue.js "${pkgdir}"/usr/bin/vue