I'm trying to use this migrator and this error is happening when a try run the project, can someone help? #21
Unanswered
Josecaetanofaganello
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
PS C:\git4\flex-layout-migrator> npm run start -- C:\git4\AppManager\front_end\ --output C:\git4\FrontMigrado\
C:\git4\flex-layout-migrator\node_modules\ts-node\src\index.ts:859
return new TSError(diagnosticText, diagnosticCodes, diagnostics);
^
TSError: ⨯ Unable to compile TypeScript:
src/lib/prettier.formatter.ts:1:48 - error TS7016: Could not find a declaration file for module 'prettier'. 'C:/git4/flex-layout-migrator/node_modules/prettier/index.js' implicitly has an 'any' type.
Try
npm i --save-dev @types/prettier
if it exists or add a new declaration (.d.ts) file containingdeclare module 'prettier';
1 import { resolveConfig, format, Options } from 'prettier';
~~~~~~~~~~
diagnosticCodes: [ 7016 ]
Beta Was this translation helpful? Give feedback.
All reactions