chesterli29 / jupyterlab_tensorboard

Tensorboard extension for jupyterlab.
MIT License
316 stars 36 forks source link

`npm install` failed #10

Closed manuzhang closed 4 years ago

manuzhang commented 5 years ago

npm install failed for me with the following error

node_modules/@jupyterlab/launcher/lib/index.d.ts:7:24 - error TS7016: Could not find a declaration file for module 'react'. '/Users/doriadong/vip/jupyterlab_tensorboard/node_modules/react/index.js' implicitly has an 'any' type.
  Try `npm install @types/react` if it exists or add a new declaration (.d.ts) file containing `declare module 'react';`

7 import * as React from 'react';
manuzhang commented 5 years ago

npm install @types/react@16.4.13 solves it.