Create Serverless project

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

I just tried it on my end and it worked. Iā€™m using 1.37.1 as well. Are you on Windows?

I am on a Mac. El Capitan.

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

Oh hmm maybe it was the version of Node. Glad you figured it out.