Code Monkey home page Code Monkey logo

serverless-shop's Issues

Template "fetch-products" is not supported

Hi there,
The serverless create --template fetch-products command doesn't work and returns the following error:
Serverless Error ---------------------------------------

Template "fetch-products" is not supported. Supported templates are: "aws-clojure-gradle", "aws-clojurescript-gradle", "aws-nodejs", "aws-nodejs-typescript", "aws-nodejs-ecma-script", "aws-python", "aws-python3", "aws-groovy-gradle", "aws-java-maven", "aws-java-gradle", "aws-kotlin-jvm-maven", "aws-kotlin-jvm-gradle", "aws-kotlin-nodejs-gradle", "aws-scala-sbt", "aws-csharp", "aws-fsharp", "aws-go", "aws-go-dep", "azure-nodejs", "fn-nodejs", "fn-go", "google-nodejs", "kubeless-python", "kubeless-nodejs", "openwhisk-java-maven", "openwhisk-nodejs", "openwhisk-php", "openwhisk-python", "openwhisk-swift", "spotinst-nodejs", "spotinst-python", "spotinst-ruby", "spotinst-java8", "webtasks-nodejs", "plugin" and "hello-world".

Do you know which template should I choose instead of fetch-products?
Thanks for your help.

Module not found

Terminal at.. macuser@macbook: /Volume/Keybase/team/.../.../...$
I try ...$ yarn build

Get following error:
.
Failed to compile
./src/components/ProductList/index.js
Module not found: Can't resolve '../../config' in '/Volumes/Keybase (macuser)/team/.../.../.../src/components/ProductList'

I believe this is a webpack config issue - yes?

Thanks!

Thank you for this project and tutorial on Medium, I think it is a great example! Is there ANY chance that you will upgrade this project with "multiple products, categories etc"?

Blank screen after `yarn start`

First off thanks for an awesome project + tutorial. I have deployed functions and done all the setup, however, I'm getting a blank page when going to localhost:/3000.

I have only added the config files and removed the profile: personal from serverless.yaml (in order to work).

Below is the output of yarn start

Compiled with warnings.

./src/components/App/index.js
  Line 2:  'logo' is defined but never used       no-unused-vars
  Line 6:  'PayButton' is defined but never used  no-unused-vars

./src/components/PayButton/index.js
  Line 74:  'name' is assigned a value but never used  no-unused-vars

./src/components/Product/index.js
  Line 21:  img elements must have an alt prop, either with meaningful text, or an empty string for decorative images  jsx-a11y/alt-text
  Line 54:  img elements must have an alt prop, either with meaningful text, or an empty string for decorative images  jsx-a11y/alt-text

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

Any help would be greatly appreciated

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.