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: openupm search seems to be broken #2

Closed
favoyang opened this issue Jan 12, 2020 · 6 comments
Closed

Bug: openupm search seems to be broken #2

favoyang opened this issue Jan 12, 2020 · 6 comments
Labels
bug

Comments

@favoyang
Copy link
Member

@favoyang favoyang commented Jan 12, 2020

e:\Archive\Prgdir\Svelto\Svelto.MiniExamples\Example6>e:\node-v12.14.0-win-x64\openupm search com.sebaslab.svelto.ecs
fast search endpoint is not available, using old search.
(node:1424) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, mkdir '\Users\Seb-e-Sam.openupm'
at Object.mkdirSync (fs.js:823:3)
at getCache (e:\node-v12.14.0-win-x64\node_modules\openupm-cli\lib\core.js:224:8)
at searchOld (e:\node-v12.14.0-win-x64\node_modules\openupm-cli\lib\cmd-search.js:38:15)
at module.exports (e:\node-v12.14.0-win-x64\node_modules\openupm-cli\lib\cmd-search.js:113:34)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Command. (e:\node-v12.14.0-win-x64\node_modules\openupm-cli\lib\cli.js:53:21)
(node:1424) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

@issue-label-bot

This comment has been minimized.

Copy link

@issue-label-bot issue-label-bot bot commented Jan 12, 2020

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.98. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@issue-label-bot issue-label-bot bot added the bug label Jan 12, 2020
@favoyang

This comment has been minimized.

Copy link
Member Author

@favoyang favoyang commented Jan 12, 2020

@sebas77, could you please provide me more informations?

  • openupm-cli version: openupm --version
  • If it's not the latest version could try to upgrade to the latest version? npm install -g openupm-cli. Then try again?
  • What's your terminal? CMD?
@sebas77

This comment has been minimized.

Copy link

@sebas77 sebas77 commented Jan 12, 2020

OpenUPM version is 1.5.1. the terminal is CMD

favoyang added a commit that referenced this issue Jan 12, 2020
github-actions bot pushed a commit that referenced this issue Jan 12, 2020
## [1.5.2](1.5.1...1.5.2) (2020-01-12)

### Bug Fixes

* refs [#2](#2) openupm search broken on CMD ([50eb8cb](50eb8cb))
@favoyang

This comment has been minimized.

Copy link
Member Author

@favoyang favoyang commented Jan 12, 2020

@sebas77 the problem is related to the way to detect home directory. Could you please try the latest 1.5.2 version?

npm install -g openupm-cli
@sebas77

This comment has been minimized.

Copy link

@sebas77 sebas77 commented Jan 13, 2020

I probably won't test it until my next release. If you fixed it with 1.5.2 you can consider it closed. I did a npm install -g openupm-cli before to test it and at that time 1.5.2 wasn't available yet.

@favoyang

This comment has been minimized.

Copy link
Member Author

@favoyang favoyang commented Jan 13, 2020

@sebas77 I cannot reproduce it with previous version using terminal CMD. But from the error log, I suspect it related to the way to detect the home directory, and try to fix with version 1.5.2. And the 1.5.2 is published after the error report.

I'll close this for now, but feel free to comment if the search of version 1.5.2 is still not working for you.

@favoyang favoyang closed this Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.