Coder Social home page Coder Social logo

Comments (6)

mike-north avatar mike-north commented on May 12, 2024

any js console errors?

from typescript-fundamentals.

moontaekim avatar moontaekim commented on May 12, 2024

from typescript-fundamentals.

mike-north avatar mike-north commented on May 12, 2024

Just tried w/ the latest dependencies

rm -rf node_modules && yarn install &&  npm run start --- autocomplete-sfc

and it works for me.

If you open up devtools, do you see a network requests going out like I do?
screen shot 2019-01-15 at 1 41 11 pm

You could also try to hit the API directly with a URL like

http://localhost:3000/maps/api/place/autocomplete/json?types=establishment&input=donut

Does ☝️ work?

from typescript-fundamentals.

moontaekim avatar moontaekim commented on May 12, 2024

I ran rm -rf node_modules && yarn install && npm run start --- autocomplete-sfc to install latest dependencies. I didnt see a network request either.
screen shot 2019-01-17 at 9 47 43 am
screen shot 2019-01-17 at 9 47 51 am

from typescript-fundamentals.

rkatka avatar rkatka commented on May 12, 2024

I'm experiencing a similar issue. I'm getting two build errors after running: rm -rf node_modules && yarn install && npm run start --- autocomplete-sfc:

ERROR in [at-loader] ./exercises/autocomplete-sfc/tests/task.test.tsx:19:3
    TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'IterableIterator<number>' has no compatible call signatures.

ERROR in [at-loader] ./exercises/autocomplete-sfc/tests/task.test.tsx:32:3
    TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'IterableIterator<number>' has no compatible call signatures.

I'm able to hit the API link: http://localhost:3000/maps/api/place/autocomplete/json?types=establishment&input=donut

When I load up the the page after the build errors I'm getting a JS error:
Uncaught SyntaxError: Unexpected token < on line 1 of main.js

from typescript-fundamentals.

mike-north avatar mike-north commented on May 12, 2024

Closing this issue because we've released a new version of the TypeScript course, where this is not a problem anymore

from typescript-fundamentals.

Related Issues (20)

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.