serverless / examples

Serverless Examples – A collection of boilerplates and examples of serverless architectures built with the Serverless Framework on AWS Lambda, Microsoft Azure, Google Cloud Functions, and more.
https://www.serverless.com/examples/
Other
11.43k stars 4.47k forks source link

aws-node-single-page-app-via-cloudfront - npm install issues #385

Open thehme opened 5 years ago

thehme commented 5 years ago

I was trying to use the serverless-single-page-app-plugin in another example, and noticed that it's not possible to install it via npm, either by the usual command or using the one listed in the npm page:

npm install serverless-single-page-app-plugin

or the command at: https://www.npmjs.com/package/serverless-single-page-app-plugin

npm install --save-dev https://github.com/amaysim-au/serverless-single-page-app-plugin/tarball

jbeullen commented 5 years ago

The plugin is not available through npm as I figured out the hard way. The artifact published on npmjs.com links to a repo that doesn't exist anymore.

If you follow the steps in the offical blog post, it should work: https://serverless.com/examples/aws-node-single-page-app-via-cloudfront/

+1 for having this added as an official plugin