menu

accounts-js

Fullstack authentication and accounts-management for Javascript

Channels
Team

Initializing, local development, "missing" typescript?

September 16, 2020 at 10:22pm

Initializing, local development, "missing" typescript?

September 16, 2020 at 10:22pm
I'm unable to do a build of /express-session (also can't find any examples of it's usage aside from tests)
I tried reading the contributing guide step by step. I've got [email protected] [email protected] and [email protected].
I did the following:
  • Cloned https://github.com/accounts-js/accounts
  • Ran yarn at the base directory, it installed all dependencies needed for each package it looks like. Typescript is in ./node_modules
  • yarn compile, which compiled each package, (including express-session)
The contributing guides say to run yarn start in ./packages/express-session, but I get command not found tsc
Why is it not linked to the root node modules?

September 18, 2020 at 4:33pm
Ended up addressing this by rolling back to v29 and installing a global instance of typescript. Everything else worked alright.
like-fill
1
  • reply
  • like