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

[BUG] Local Interpreter Install on Windows does not work #625

Open
georg-schwarz opened this issue Oct 23, 2024 · 0 comments
Open

[BUG] Local Interpreter Install on Windows does not work #625

georg-schwarz opened this issue Oct 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@georg-schwarz
Copy link
Member

Steps to reproduce

  1. Clone repo on windows PC
  2. Init repo: npm ci, npm run gernerate, npm run build
  3. npx nx install interpreter

Description

  • Expected: Installs local jv version successfully
  • Actual:
> nx run interpreter:install

> npm i -g dist/apps/interpreter/jvalue-jayvee-interpreter-*.tgz

npm warn tarball tarball data for file:dist\apps\interpreter\jvalue-jayvee-interpreter-*.tgz (null) seems to be corrupted. Trying again.
npm warn tarball tarball data for file:dist\apps\interpreter\jvalue-jayvee-interpreter-*.tgz (null) seems to be corrupted. Trying again.
npm error code ENOENT
npm error syscall open
npm error path C:\Users\wagne\tmp\jayvee\dist\apps\interpreter\jvalue-jayvee-interpreter-*.tgz
npm error errno -4058
npm error enoent ENOENT: no such file or directory, open 'C:\Users\wagne\tmp\jayvee\dist\apps\interpreter\jvalue-jayvee-interpreter-*.tgz'
npm error enoent This is related to npm not being able to find a file.
npm error enoent
npm error A complete log of this run can be found in: C:\Users\wagne\AppData\Local\npm-cache\_logs\2024-10-23T10_18_57_636Z-debug-0.log
Warning: command "npm i -g dist/apps/interpreter/jvalue-jayvee-interpreter-*.tgz" exited with non-zero status code
———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

 NX   Ran target install for project interpreter and 10 task(s) they depend on (38s)

   ×  1/11 failed
   √  10/11 succeeded [1 read from cache]

Issue seems to be that the nx script uses a wildcard:
npm i -g C:\Users\wagne\tmp\jayvee\dist\apps\interpreter\jvalue-jayvee-interpreter-*.tgz fails while npm i -g C:\Users\wagne\tmp\jayvee\dist\apps\interpreter\jvalue-jayvee-interpreter-0.6.3.tgz works.

Thx @Waldleufer for trying this!

@georg-schwarz georg-schwarz added the bug Something isn't working label Oct 23, 2024
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

1 participant