Package Details: nodejs-serverless 1.36.1-1

Git Clone URL: https://aur.archlinux.org/nodejs-serverless.git (read-only)
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://github.com/serverless/serverless#readme
Licenses: MIT
Submitter: hugueschabot
Maintainer: hugueschabot
Last Packager: hugueschabot
Votes: 6
Popularity: 0.014281
First Submitted: 2016-10-05 02:18
Last Updated: 2019-01-14 16:33

Pinned Comments

hugueschabot commented on 2018-08-06 01:56

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

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

@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

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

After installation, I had to run `sudo serverless --version` in order to create the tracking-id file.

https://github.com/serverless/serverless/issues/2248