Package Details: nodejs-serverless 3.39.0-1

Git Clone URL: https://aur.archlinux.org/nodejs-serverless.git (read-only, click to copy)
Package Base: nodejs-serverless
Description: Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more
Upstream URL: https://serverless.com/framework/docs/
Keywords: aws azure google serverless
Licenses: MIT
Conflicts: nodejs-serverless-git
Submitter: hugueschabot
Maintainer: bacteriostat
Last Packager: bacteriostat
Votes: 8
Popularity: 0.000000
First Submitted: 2016-10-05 02:18 (UTC)
Last Updated: 2024-06-07 18:19 (UTC)

Pinned Comments

hugueschabot commented on 2018-08-06 01:56 (UTC)

To setup auto completion, add there lines in .bashrc (or /etc/bash.bashrc).

[ -r /usr/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.bash ] && . /usr/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.bash
[ -r /usr/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.bash ] && . /usr/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.bash

Latest Comments

hugueschabot commented on 2018-08-06 01:56 (UTC)

To setup auto completion, add there lines in .bashrc (or /etc/bash.bashrc).

[ -r /usr/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.bash ] && . /usr/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.bash
[ -r /usr/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.bash ] && . /usr/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.bash

hugueschabot commented on 2018-08-05 18:47 (UTC)

@marsoft the autocompletion scripts added to your ~/.bashrc seems to be a side-effect of the npm post installation script. See https://github.com/serverless/serverless/blob/master/scripts/postinstall.js#L23

I will try to find a way to disable this.

marsoft commented on 2018-08-04 15:24 (UTC) (edited on 2018-08-04 15:25 (UTC) by marsoft)

Looks like this PKGBUILD corrupts ~/.bashrc while building. Here is what I found in the end of my .bashrc after installing this package using yaourt:

# tabtab source for serverless package
# uninstall by removing these lines or running `tabtab uninstall serverless`
[ -f /tmp/yaourt-tmp-mars/aur-nodejs-serverless/pkg/nodejs-serverless/usr/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.bash ] && . /tmp/yaourt-tmp-mars/aur-nodejs-serverless/pkg/nodejs-serverless/usr/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.bash
# tabtab source for sls package
# uninstall by removing these lines or running `tabtab uninstall sls`
[ -f /tmp/yaourt-tmp-mars/aur-nodejs-serverless/pkg/nodejs-serverless/usr/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.bash ] && . /tmp/yaourt-tmp-mars/aur-nodejs-serverless/pkg/nodejs-serverless/usr/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.bash

hugueschabot commented on 2016-10-05 02:38 (UTC)

After installation, I had to run `sudo serverless --version` in order to create the tracking-id file. https://github.com/serverless/serverless/issues/2248