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

Docs: contributing/javascript: add the run of npm install #473

Conversation

abetomo
Copy link
Contributor

@abetomo abetomo commented Aug 25, 2024

I got the following error when I ran it as per the documentation.

$ npm run build-js

> [email protected] build-js
> tsc -p javascript/tsconfig-esm.json && tsc -p javascript/tsconfig-cjs.json && cp javascript/dist-package-esm.json javascript/dist/esm/package.json && cp javascript/dist-package-cjs.json javascript/dist/cjs/package.json

error TS2688: Cannot find type definition file for 'node'.
  The file is in the program because:
    Entry point of type library 'node' specified in compilerOptions

Found 1 error.

Add npm install is missing.

I got the following error when I ran it as per the documentation.

```
$ npm run build-js

> [email protected] build-js
> tsc -p javascript/tsconfig-esm.json && tsc -p javascript/tsconfig-cjs.json && cp javascript/dist-package-esm.json javascript/dist/esm/package.json && cp javascript/dist-package-cjs.json javascript/dist/cjs/package.json

error TS2688: Cannot find type definition file for 'node'.
  The file is in the program because:
    Entry point of type library 'node' specified in compilerOptions

Found 1 error.
```

Add `npm install` is missing.
@ashvardanian ashvardanian merged commit 09d6c69 into unum-cloud:main-dev Aug 25, 2024
8 of 9 checks passed
@abetomo abetomo deleted the update-javascript-contribution-document branch August 26, 2024 00:23
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

Successfully merging this pull request may close these issues.

2 participants