Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

jsx-demo not working #70

Description

@KoenT-X

I am trying to find out how to setup a simple Visual Studio 2015 project using TypeScript and React, so that I can just build and run from VS, but I can't seem to find any simple example of this...

So, I then tried to build and run the jsx-demo in this repository, following the instructions in the README.md file, and that didn't work either...

Step 1: npm install
This works but gives 2 warnings:
npm WARN package.json jsx-demo@0.0.1 license should be a valid SPDX license expression
WARN engine joi-assert@0.0.3: wanted: {"node":">= 0.10.0 <= 0.11.0"} (current: {"node":"4.2.4","npm":"2.14.12"})

Step 2: node node_modules/typescript/bin/tsc
This gives the following error:
src/app.tsx(19,11): error TS2339: Property 'render' does not exist on type 'typeof __React'.

Side note: if you could (please!) create a very simple Visual Studio 2015 (CE) project using TypeScript and React, that builds and runs out-of-the-box, that would be very helpful! Right now, I find it too difficult to get started quickly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions