[Pkg-javascript-devel] Bug#930268: typescript still cannot find type definitions installed globally

Pirate Praveen praveen at onenetbeyond.org
Fri Sep 27 19:31:44 BST 2019


On Mon, 08 Jul 2019 14:35:56 +0000 Julien Puydt
<noreply at salsa.debian.org> wrote:

> https://salsa.debian.org/js-team/node-typescript/commit/5f0227be9710bff56f99d36741beb5e0f522b23b
> 
> ------------------------------------------------------------------------
> Add patch to find system libs (Closes: #930268)
> ------------------------------------------------------------------------

While trying to run tsc in node-rollup master-0.56 branch,

src/watch/chokidar.ts:7:34 - error TS2580: Cannot find name 'process'.
Do you need to install type definitions for node? Try `npm i @types/node`.

7  chokidar = relative('chokidar', process.cwd());

$ ls -l /usr/lib/nodejs/@types/node/ -d
drwxr-xr-x 3 root root 4096 Sep 27 23:52 /usr/lib/nodejs/@types/node/



More information about the Pkg-javascript-devel mailing list