node
February 12, 2019, 3:43pm
1
Trying to create the serverless project with the following:
$ serverless install --url https://github.com/AnomalyInnovations/serverless-nodejs-starter --name notes-app-api
I get an error:
install: illegal option -- -
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...
I checked the version of serverless installed.
$serverless --v
1.37.1
Should I just do a clone?:
Thanks
jayair
February 18, 2019, 6:29pm
2
I just tried it on my end and it worked. Iām using 1.37.1 as well. Are you on Windows?
node
February 19, 2019, 1:37pm
3
I am on a Mac. El Capitan.
node
February 19, 2019, 4:19pm
4
Hi, I updated my macOs to Mojava and then had to reinstall nodejs. Went ahead and updated to Nodejs 10.15.1. Then checked that serverless 1.37.1 was stil in path. Then the serverless install --url https://github.com/AnomalyInnovations/serverless-nodejs-starter --name notes-app-api
worked.
Thanks jayair for your reply.
1 Like
jayair
February 25, 2019, 7:26pm
5
Oh hmm maybe it was the version of Node. Glad you figured it out.