by smrtinsert · 10y ago · 0 comments
yarn global add typescript
yarn link typescript
error No registered module found called "typescript".
info Visit http://yarnpkg.com/en/docs/cli/link for documentation about this command.
what?edit: also,
$ yarn add typescript
yarn add v0.15.1
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
error ENOENT: no such file or directory, open 'C:\Users\******REDACTED******\@types\react\index.d.ts' at Error (native)
info Visit http://yarnpkg.com/en/docs/cli/add for documentation about this command.