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

npm OpenAPI build script fails to run #378

Open
pipparichter opened this issue Jun 19, 2024 · 1 comment
Open

npm OpenAPI build script fails to run #378

pipparichter opened this issue Jun 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@pipparichter
Copy link

I am running the npm script here in order to set up a Python library for working with NCBI datasets, but the build fails with this error:

SyntaxError: Unexpected token '.' at wrapSafe (internal/modules/cjs/loader.js:915:16) at Module._compile (internal/modules/cjs/loader.js:963:27) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) at Module.load (internal/modules/cjs/loader.js:863:32) at Function.Module._load (internal/modules/cjs/loader.js:708:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) at internal/main/run_main_module.js:17:47
I have never used OpenAPI before, and am wondering if anyone knows what could have caused this. Thanks in advance!

@pipparichter pipparichter added the bug Something isn't working label Jun 19, 2024
@ericcox1
Copy link
Collaborator

Hi @pipparichter,

Thanks for opening this issue.

We were unable to reproduce this issue. Please check what version of nodejs you are using. We are currently using version 18 of nodejs and we recommend using that version.

Best,
Eric

Eric Cox, PhD [Contractor] (he/him/his)
NCBI Datasets
NIH/NLM/NCBI
eric.cox@nih.gov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
-