1
resposta

Pra mim aparece 30 erros quando faço npm run compile :(

../../../../../../../../../node_modules/@types/inquirer/index.d.ts:16:28 - error TS2792: Cannot find module 'rxjs'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?

16 import { Observable } from 'rxjs';

                          ~~~~~~

../../../../../../../../../node_modules/@types/inquirer/lib/objects/choice.d.ts:1:88 - error TS2792: Cannot find module '../..'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?

1 import { Answers, CheckboxChoiceOptions, ExpandChoiceOptions, ListChoiceOptions } from '../..';

                                                                                     ~~~~~~~

../../../../../../../../../node_modules/@types/inquirer/lib/objects/choices.d.ts:1:70 - error TS2792: Cannot find module '../..'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?

1 import { AllChoiceMap, Answers, KeyUnion, UnionToIntersection } from '../..';

                                                                   ~~~~~~~

../../../../../../../../../node_modules/@types/inquirer/lib/objects/separator.d.ts:1:27 - error TS2792: Cannot find module '../..'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?

1 import { Separator } from "../..";

                        ~~~~~~~

../../../../../../../../../node_modules/@types/inquirer/lib/prompts/base.d.ts:2:28 - error TS2792: Cannot find module 'rxjs'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?

2 import { Observable } from 'rxjs';

                         ~~~~~~

../../../../../../../../../node_modules/@types/inquirer/lib/prompts/base.d.ts:3:27 - error TS2792: Cannot find module '../..'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?

3 import inquirer = require('../..');

                        ~~~~~~~

../../../../../../../../../node_modules/@types/inquirer/lib/prompts/checkbox.d.ts:2:27 - error TS2792: Cannot find module '../..'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?

2 import inquirer = require('../..');

                        ~~~~~~~

../../../../../../../../../node_modules/@types/inquirer/lib/prompts/confirm.d.ts:2:49 - error TS2792: Cannot find module '../..'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?

2 import { Answers, ConfirmQuestionOptions } from '../..';

../../../../../../../../../node_modules/@types/inquirer/lib/prompts/editor.d.ts:2:39 - error TS2792: Cannot find module 'rxjs'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?

2 import { Subject, Subscription } from 'rxjs';

                                    ~~~~~~

../../../../../../../../../node_modules/@types/inquirer/lib/prompts/editor.d.ts:3:27 - error TS2792: Cannot find module '../..'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?

3 import inquirer = require('../..');

                        ~~~~~~~

../../../../../../../../../node_modules/@types/inquirer/lib/prompts/expand.d.ts:2:27 - error TS2792: Cannot find module '../..'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?

2 import inquirer = require('../..');

                        ~~~~~~~
                ../../../../../../../../../node_modules/@types/inquirer/lib/prompts/input.d.ts:2:27 - error TS2792: Cannot find module '../..'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?

2 import inquirer = require('../..');

                        ~~~~~~~

../../../../../../../../../node_modules/@types/inquirer/lib/prompts/list.d.ts:2:46 - error TS2792: Cannot find module '../..'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?

2 import { Answers, ListQuestionOptions } from '../..';

                                           ~~~~~~~

../../../../../../../../../node_modules/@types/inquirer/lib/prompts/number.d.ts:2:48 - error TS2792: Cannot find module '../..'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?

2 import { Answers, NumberQuestionOptions } from '../..'; ~

../../../../../../../../../node_modules/@types/inquirer/lib/prompts/password.d.ts:2:27 - error TS2792: Cannot find module '../..'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?

1 resposta

Olá Thiago tudo bom? sou estudante e vou tentar ajudar, aparentemente o npm não esta encontrando as libs instaladas, devo acreditar que rodou o 'npm install' antes de tudo correto ? ainda continua o problema ?