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

Errors with version 2.1.0 #118

Closed
amfrye777 opened this issue Mar 17, 2023 · 0 comments · Fixed by #122
Closed

Errors with version 2.1.0 #118

amfrye777 opened this issue Mar 17, 2023 · 0 comments · Fixed by #122

Comments

@amfrye777
Copy link

When running on 2.1.0 I'm getting the below error. This error does not occur on 2.0.0. I'm running on windows, node version 16.17.1.

TypeError: Cannot read properties of undefined (reading 'request') at IndexManager.getIndexStatuses (C:\Users\XXXX\AppData\Roaming\nvm\v16.17.1\node_modules\couchbase-index-manager-cli\node_modules\couchbase-index-manager\dist\index-manager.js:87:47) at IndexManager.getIndexes (C:\Users\XXXX\AppData\Roaming\nvm\v16.17.1\node_modules\couchbase-index-manager-cli\node_modules\couchbase-index-manager\dist\index-manager.js:121:37) at Sync.createPlan (C:\Users\XXXX\AppData\Roaming\nvm\v16.17.1\node_modules\couchbase-index-manager-cli\node_modules\couchbase-index-manager\dist\sync.js:60:29) at Sync.execute (C:\Users\XXXX\AppData\Roaming\nvm\v16.17.1\node_modules\couchbase-index-manager-cli\node_modules\couchbase-index-manager\dist\sync.js:28:22) at ConnectionManager.execute (C:\Users\XXXX\AppData\Roaming\nvm\v16.17.1\node_modules\couchbase-index-manager-cli\node_modules\couchbase-index-manager\dist\connection-manager.js:20:28) at Command.<anonymous> (C:\Users\XXXX\AppData\Roaming\nvm\v16.17.1\node_modules\couchbase-index-manager-cli\dist\cli.js:101:9) at Command.parseAsync (C:\Users\XXXX\AppData\Roaming\nvm\v16.17.1\node_modules\couchbase-index-manager-cli\node_modules\commander\lib\command.js:923:5)

brantburnett added a commit that referenced this issue Nov 27, 2023
Motivation
------------
The latest Couchbase SDK is getting errors where we were accessing an
internal member to make HTTP requests.

Modifications
---------------
Use the new surface that is a bit less hacky, though still involves accessing an
unexported file from the SDK.

Fixes #118
brantburnett added a commit that referenced this issue Nov 27, 2023
Motivation
------------
The latest Couchbase SDK is getting errors where we were accessing an
internal member to make HTTP requests.

Modifications
---------------
Use the new surface that is a bit less hacky, though still involves accessing an
unexported file from the SDK.

Fixes #118
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 a pull request may close this issue.

1 participant