Require nodejs “child_process” with TypeScript, SystemJS and Electron

前端 未结 3 428
独厮守ぢ
独厮守ぢ 2020-12-18 23:42

I\'m working on a simple nodejs electron (formerly known as atom shell) project. I\'m writing it using angular 2, using the project the same project setup as they recommend

3条回答
  •  忘掉有多难
    2020-12-18 23:54

    If the error message is 'Cannot find module 'child_process' or its corresponding type declarations' the answer is 'npm install @types/watch'

提交回复
热议问题