Git Product home page Git Product logo

cameria-facial-recognition's Issues

Syntax error: Unexpected token, expected }

Hello Tarique,

I have tried to play with your project that is fit exactly to the POC I am trying to build.
I have tried two versions of node : 8.11.3 and 7.6.0 and I get the following error when I am trying to launch the server with react-scripts start :

./src/components/recognize.js
Syntax error: Unexpected token, expected } (65:49)

  63 |                 }
  64 |             }).then((response) => {
> 65 |                 console.log('response', response);
     |                                                  ^
  66 |                 this.props.recognizeUser(response.data);
  67 |                 this.setState({
  68 |                     load: false

Do you have any insight to give about the right version of node to use ?

Thanks a lot,

Alexis

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.