andywer / andywer/typed-emitter

This experimental syntax requires enabling one of the following parser plugin(s): 'flow, typescript'

Aberta
#14 1 comentário 0 reações 0 responsáveis Ver no GitHub
bug
Linguagem predominante
JavaScript
Estrelas
285
Forks
29
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

When using pkg to pack a node application I get the following error, how do I solve this?
```
[debug] Content of %1 is added to queue
%1: C:\Users\henri\git\xot_client\nodejs\xot_proxy\node_modules\typed-emitter\index.d.ts
> Error! This experimental syntax requires enabling one of the following parser plugin(s): 'flow, typescript' (1:7)
C:\Users\henri\git\xot_client\nodejs\xot_proxy\node_modules\typed-emitter\index.d.ts
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! xot-proxy@0.1.4 package:win64: `pkg --target win-x64 --debug --out-path packages .`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the xot-proxy@0.1.4 package:win64 script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
```

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.