Create Serverless project


#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


#2

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


#3

I am on a Mac. El Capitan.


#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.


#5

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