Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to: Setup for Windows #27

Open
kmfpo opened this issue Dec 29, 2021 · 0 comments
Open

How to: Setup for Windows #27

kmfpo opened this issue Dec 29, 2021 · 0 comments

Comments

@kmfpo
Copy link

kmfpo commented Dec 29, 2021

Is it possible to include a short summary of how to get this working on windows 10? I have installed npm 8.3.0, nvm 17.3.0, had to navigate to the folder where the extension was installed and then run the build:snippets command. Getting the following error:
C:\Users\my_username\.vscode\extensions\run-at-scale.terraform-doc-snippets-0.6.0>npm run build:snippets
`> [email protected] build:snippets` `> ts-node ./src/main.ts`
node:internal/modules/cjs/loader:936
throw err;
^
`Error: Cannot find module './main.ts'` `Require stack:` `- C:\Users\my_username\.vscode\extensions\run-at-scale.terraform-doc-snippets-0.6.0\src\imaginaryUncacheableRequireResolveScript` ` at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)` ` at Function.resolve (node:internal/modules/cjs/helpers:108:19)` ` at requireResolveNonCached (C:\Users\my_username\AppData\Roaming\nvm\v17.3.0\node_modules\ts-node\dist\bin.js:321:16)` ` at getProjectSearchDir (C:\Users\my_username\AppData\Roaming\nvm\v17.3.0\node_modules\ts-node\dist\bin.js:291:40)` ` at main (C:\Users\my_username\AppData\Roaming\nvm\v17.3.0\node_modules\ts-node\dist\bin.js:193:27)` ` at Object.<anonymous> (C:\Users\my_username\AppData\Roaming\nvm\v17.3.0\node_modules\ts-node\dist\bin.js:351:5)` ` at Module._compile (node:internal/modules/cjs/loader:1097:14)` ` at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)` ` at Module.load (node:internal/modules/cjs/loader:975:32)` ` at Function.Module._load (node:internal/modules/cjs/loader:822:12) {` ` code: 'MODULE_NOT_FOUND',` ` requireStack: [` ` 'C:\\Users\\my_username\\.vscode\\extensions\\run-at-scale.terraform-doc-snippets-0.6.0\\src\\imaginaryUncacheableRequireResolveScript'` ` ]` `}`
Node.js v17.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant