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

ERROR in update-localization-extension #201711

Closed
okineadev opened this issue Jan 3, 2024 · 1 comment · May be fixed by #222971
Closed

ERROR in update-localization-extension #201711

okineadev opened this issue Jan 3, 2024 · 1 comment · May be fixed by #222971
Assignees

Comments

@okineadev
Copy link

WHY is this command not working?!

@okineadev ➜ /workspaces/vscode $ npm run update-localization-extension -- --location="../vscode-translations-import/uk" uk

> [email protected] update-localization-extension
> node build/npm/update-localization-extension.js --location=../vscode-translations-import/uk uk

Importing translations for uk form '../vscode-translations-import/uk' to '../vscode-loc/i18n/vscode-language-pack-uk/translations' ...
node:internal/validators:162
    throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
    at new NodeError (node:internal/errors:405:5)
    at validateString (node:internal/validators:162:11)
    at Object.join (node:path:1171:7)
    at /workspaces/vscode/build/npm/update-localization-extension.js:76:56
    at Array.map (<anonymous>)
    at /workspaces/vscode/build/npm/update-localization-extension.js:76:32
    at Array.forEach (<anonymous>)
    at update (/workspaces/vscode/build/npm/update-localization-extension.js:48:16)
    at Object.<anonymous> (/workspaces/vscode/build/npm/update-localization-extension.js:106:2)
    at Module._compile (node:internal/modules/cjs/loader:1356:14) {
  code: 'ERR_INVALID_ARG_TYPE'
}

Node.js v18.19.0
@vscodenpa vscodenpa added the stale Issues that have not been triaged in an appropriate amount of time label Jan 10, 2024
@vscodenpa vscodenpa removed triage-needed stale Issues that have not been triaged in an appropriate amount of time labels Jan 10, 2024
@TylerLeonhardt
Copy link
Member

marking as a duplicate of microsoft/vscode-loc#1535 for now... since we really just need better docs.

@TylerLeonhardt TylerLeonhardt closed this as not planned Won't fix, can't repro, duplicate, stale Jan 11, 2024
@microsoft microsoft locked and limited conversation to collaborators Jun 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants