Closed MathieuUrstein closed 1 year ago
I get the following error whenever I want to use this extension:
Cannot find module 'typescript' Require stack: - /Users/myUser/.vscode/extensions/amatiasq.sort-imports-6.3.1/node_modules/import-sort-parser-typescript/lib/index.js - /Users/myUser/.vscode/extensions/amatiasq.sort-imports-6.3.1/node_modules/import-sort/lib/index.js - /Users/myUser/.vscode/extensions/amatiasq.sort-imports-6.3.1/out/sort.js - /Users/myUser/.vscode/extensions/amatiasq.sort-imports-6.3.1/out/extension.js - /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js - /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-amd.js - /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-fork.js -
I have tried to install typescript in the project package.json and globally with no success. Any idea?
I found out I needed to install npm i -D import-sort-parser-typescript
npm i -D import-sort-parser-typescript
I get the following error whenever I want to use this extension:
I have tried to install typescript in the project package.json and globally with no success. Any idea?