Package Details: vue-cli 3.8.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: 6
Popularity: 0.308955
First Submitted: 2018-04-23 21:35
Last Updated: 2019-06-24 19:36

Required by (0)

Sources (0)

Latest Comments

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.

flacks commented on 2018-11-16 04:47

For future reference, common courtesy is to change the previous maintainer to a contributor https://wiki.archlinux.org/index.php/Arch_User_Repository#Submitting_packages. Also, why did you replace the find command in package()? With a simple chmod, every file is marked as executable, when only the folders typically need to be marked as such.

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