PotentialWeb / CoronaTab

Free & Open source platform for COVID19 data. Dashboard - REST API - Browser Extension - Localised 🦠 😷
MIT License
35 stars 20 forks source link

Cannot find module '@coronatab/shared' #24

Closed jetlej closed 4 years ago

jetlej commented 4 years ago

I ran npm install within /site, and then npm run dev, and I get this error:

TSError: ⨯ Unable to compile TypeScript:
src/utils/i18n.ts:2:27 - error TS2307: Cannot find module '@coronatab/shared'.

2 import { LocaleIds } from '@coronatab/shared'
at createTSError (/Users/jetlej/Downloads/CoronaTab-master/site/node_modules/ts-node/src/index.ts:421:12)
nodeful commented 4 years ago

You need to go into /modules/shared and run npm i & npm run build :)

jetlej commented 4 years ago

Got it, thank you!