hasankhan / sql-cli

Cross platform command line interface for SQL Server
Apache License 2.0
157 stars 41 forks source link

mssql: command not found #30

Closed sqlshep closed 7 years ago

sqlshep commented 7 years ago

Microsoft "https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-tools#macos" is recommending to use sql-cli for MacOS to connect to SQL Helsinki in a docker image, however, running either this;

npm install -g sql-cli

or the adventures version does not give me a running "mssql". Directory is created, files are there, there is an MSSQL with no extension under sql-cli/bin, not sure what i am missing? Not a wizard at bash, so i am assuming i am missing something? Java Runtime interpreter maybe?

Shep

hasankhan commented 7 years ago

can you copy/paste the error you get when you run mssql command?

sqlshep commented 7 years ago

-bash: mssql: command not found

hasankhan commented 7 years ago

Can you install it once again and try?

armartinez commented 7 years ago

I´m having the same issue in MacOS 10.12.2. I've reinstalled several times but same result. I can run it if I go to the node bin folder and run ./mssql

bretmattingly commented 7 years ago

@sqlshep

Can you list the output of the following commands?

uname -v npm -v npm list -g echo $PATH

dbcrtech commented 7 years ago

Not sure where people are on this, I am having the same issue. I followed bomattin and ran the npm commands but they shot back errors. So I installed Node.js (https://nodejs.org/en/) using their installer. when I re-ran the npm install, it seemed to actually install some of the package manager, but not all. I still get the bash error above, but when I run the npm -v and npm list-g I actually get values: $ npm -v 3.10.10 $ npm list -g /usr/local/lib ├─┬ grunt-cli@1.2.0 │ ├─┬ findup-sync@0.3.0 │ │ └─┬ glob@5.0.15 │ │ ├─┬ inflight@1.0.6 │ │ │ └── wrappy@1.0.2 │ │ ├── inherits@2.0.3 │ │ ├─┬ minimatch@3.0.3 │ │ │ └─┬ brace-expansion@1.1.6 │ │ │ ├── balanced-match@0.4.2 │ │ │ └── concat-map@0.0.1 │ │ ├── once@1.4.0 │ │ └── path-is-absolute@1.0.1 │ ├── grunt-known-options@1.1.0 │ ├─┬ nopt@3.0.6 │ │ └── abbrev@1.0.9 │ └── resolve@1.1.7 └─┬ npm@3.10.10 ├── abbrev@1.0.9 ├── ansi-regex@2.0.0 ├── ansicolors@0.3.2 ├── ansistyles@0.1.3 ├── aproba@1.0.4 ├── archy@1.0.0 ├── asap@2.0.5 ├── chownr@1.0.1 ├── cmd-shim@2.0.2 ├─┬ columnify@1.5.4 │ └─┬ wcwidth@1.0.0 │ └─┬ defaults@1.0.3 │ └── clone@1.0.2 ├─┬ config-chain@1.1.11 │ └── proto-list@1.2.4 ├── debuglog@1.0.1 ├── dezalgo@1.0.3 ├── editor@1.0.0 ├── fs-vacuum@1.2.9 ├── fs-write-stream-atomic@1.0.8 ├── fstream@1.0.10 ├─┬ fstream-npm@1.2.0 │ └─┬ fstream-ignore@1.0.5 │ └─┬ minimatch@3.0.3 │ └─┬ brace-expansion@1.1.6 │ ├── balanced-match@0.4.2 │ └── concat-map@0.0.1 ├─┬ glob@7.1.0 │ ├── fs.realpath@1.0.0 │ ├─┬ minimatch@3.0.3 │ │ └─┬ brace-expansion@1.1.6 │ │ ├── balanced-match@0.4.2 │ │ └── concat-map@0.0.1 │ └── path-is-absolute@1.0.1 ├── graceful-fs@4.1.9 ├── has-unicode@2.0.1 ├── hosted-git-info@2.1.5 ├── iferr@0.1.5 ├── imurmurhash@0.1.4 ├── inflight@1.0.5 ├── inherits@2.0.3 ├── ini@1.3.4 ├─┬ init-package-json@1.9.4 │ ├─┬ glob@6.0.4 │ │ ├─┬ minimatch@3.0.3 │ │ │ └─┬ brace-expansion@1.1.6 │ │ │ ├── balanced-match@0.4.2 │ │ │ └── concat-map@0.0.1 │ │ └── path-is-absolute@1.0.0 │ └── promzard@0.3.0 ├── lockfile@1.0.2 ├── lodash._baseindexof@3.1.0 ├─┬ lodash._baseuniq@4.6.0 │ ├── lodash._createset@4.0.3 │ └── lodash._root@3.0.1 ├── lodash._bindcallback@3.0.1 ├── lodash._cacheindexof@3.0.2 ├── lodash._createcache@3.1.2 ├── lodash._getnative@3.9.1 ├── lodash.clonedeep@4.5.0 ├── lodash.restparam@3.6.1 ├── lodash.union@4.6.0 ├── lodash.uniq@4.5.0 ├── lodash.without@4.4.0 ├─┬ mkdirp@0.5.1 │ └── minimist@0.0.8 ├─┬ node-gyp@3.4.0 │ ├─┬ minimatch@3.0.3 │ │ └─┬ brace-expansion@1.1.6 │ │ ├── balanced-match@0.4.2 │ │ └── concat-map@0.0.1 │ ├─┬ npmlog@3.1.2 │ │ ├─┬ are-we-there-yet@1.1.2 │ │ │ └── delegates@1.0.0 │ │ ├── console-control-strings@1.1.0 │ │ ├─┬ gauge@2.6.0 │ │ │ ├── has-color@0.1.7 │ │ │ ├── object-assign@4.1.0 │ │ │ ├── signal-exit@3.0.0 │ │ │ ├─┬ string-width@1.0.2 │ │ │ │ ├─┬ code-point-at@1.0.0 │ │ │ │ │ └── number-is-nan@1.0.0 │ │ │ │ └─┬ is-fullwidth-code-point@1.0.0 │ │ │ │ └── number-is-nan@1.0.0 │ │ │ └── wide-align@1.1.0 │ │ └── set-blocking@2.0.0 │ └─┬ path-array@1.0.1 │ └─┬ array-index@1.0.0 │ ├─┬ debug@2.2.0 │ │ └── ms@0.7.1 │ └─┬ es6-symbol@3.1.0 │ ├── d@0.1.1 │ └─┬ es5-ext@0.10.12 │ └── es6-iterator@2.0.0 ├── nopt@3.0.6 ├── normalize-git-url@3.0.2 ├─┬ normalize-package-data@2.3.5 │ └─┬ is-builtin-module@1.0.0 │ └── builtin-modules@1.1.1 ├── npm-cache-filename@1.0.2 ├── npm-install-checks@3.0.0 ├── npm-package-arg@4.2.0 ├─┬ npm-registry-client@7.2.1 │ ├─┬ concat-stream@1.5.2 │ │ ├─┬ readable-stream@2.0.6 │ │ │ ├── core-util-is@1.0.2 │ │ │ ├── isarray@1.0.0 │ │ │ ├── process-nextick-args@1.0.7 │ │ │ ├── string_decoder@0.10.31 │ │ │ └── util-deprecate@1.0.2 │ │ └── typedarray@0.0.6 │ ├─┬ npmlog@3.1.2 │ │ ├─┬ are-we-there-yet@1.1.2 │ │ │ └── delegates@1.0.0 │ │ ├── console-control-strings@1.1.0 │ │ ├─┬ gauge@2.6.0 │ │ │ ├── has-color@0.1.7 │ │ │ ├── object-assign@4.1.0 │ │ │ ├── signal-exit@3.0.0 │ │ │ ├─┬ string-width@1.0.2 │ │ │ │ ├─┬ code-point-at@1.0.0 │ │ │ │ │ └── number-is-nan@1.0.0 │ │ │ │ └─┬ is-fullwidth-code-point@1.0.0 │ │ │ │ └── number-is-nan@1.0.0 │ │ │ └── wide-align@1.1.0 │ │ └── set-blocking@2.0.0 │ └── retry@0.10.0 ├── npm-user-validate@0.1.5 ├─┬ npmlog@4.0.0 │ ├─┬ are-we-there-yet@1.1.2 │ │ └── delegates@1.0.0 │ ├── console-control-strings@1.1.0 │ ├─┬ gauge@2.6.0 │ │ ├── has-color@0.1.7 │ │ ├── object-assign@4.1.0 │ │ ├── signal-exit@3.0.0 │ │ ├─┬ string-width@1.0.2 │ │ │ ├─┬ code-point-at@1.0.0 │ │ │ │ └── number-is-nan@1.0.0 │ │ │ └─┬ is-fullwidth-code-point@1.0.0 │ │ │ └── number-is-nan@1.0.0 │ │ └── wide-align@1.1.0 │ └── set-blocking@2.0.0 ├── once@1.4.0 ├── opener@1.4.2 ├─┬ osenv@0.1.3 │ ├── os-homedir@1.0.1 │ └── os-tmpdir@1.0.1 ├── path-is-inside@1.0.2 ├─┬ read@1.0.7 │ └── mute-stream@0.0.5 ├── read-cmd-shim@1.0.1 ├─┬ read-installed@4.0.3 │ └── util-extend@1.0.3 ├─┬ read-package-json@2.0.4 │ ├─┬ glob@6.0.4 │ │ ├─┬ minimatch@3.0.3 │ │ │ └─┬ brace-expansion@1.1.6 │ │ │ ├── balanced-match@0.4.2 │ │ │ └── concat-map@0.0.1 │ │ └── path-is-absolute@1.0.0 │ └─┬ json-parse-helpfulerror@1.0.3 │ └── jju@1.3.0 ├── read-package-tree@5.1.5 ├─┬ readable-stream@2.1.5 │ ├── buffer-shims@1.0.0 │ ├── core-util-is@1.0.2 │ ├── isarray@1.0.0 │ ├── process-nextick-args@1.0.7 │ ├── string_decoder@0.10.31 │ └── util-deprecate@1.0.2 ├── readdir-scoped-modules@1.0.2 ├── realize-package-specifier@3.0.3 ├─┬ request@2.75.0 │ ├── aws-sign2@0.6.0 │ ├── aws4@1.4.1 │ ├─┬ bl@1.1.2 │ │ └─┬ readable-stream@2.0.6 │ │ ├── core-util-is@1.0.2 │ │ ├── isarray@1.0.0 │ │ ├── process-nextick-args@1.0.7 │ │ ├── string_decoder@0.10.31 │ │ └── util-deprecate@1.0.2 │ ├── caseless@0.11.0 │ ├─┬ combined-stream@1.0.5 │ │ └── delayed-stream@1.0.0 │ ├── extend@3.0.0 │ ├── forever-agent@0.6.1 │ ├─┬ form-data@2.0.0 │ │ └── asynckit@0.4.0 │ ├─┬ har-validator@2.0.6 │ │ ├─┬ chalk@1.1.3 │ │ │ ├── ansi-styles@2.2.1 │ │ │ ├── escape-string-regexp@1.0.5 │ │ │ ├── has-ansi@2.0.0 │ │ │ └── supports-color@2.0.0 │ │ ├─┬ commander@2.9.0 │ │ │ └── graceful-readlink@1.0.1 │ │ ├─┬ is-my-json-valid@2.15.0 │ │ │ ├── generate-function@2.0.0 │ │ │ ├─┬ generate-object-property@1.2.0 │ │ │ │ └── is-property@1.0.2 │ │ │ ├── jsonpointer@4.0.0 │ │ │ └── xtend@4.0.1 │ │ └─┬ pinkie-promise@2.0.1 │ │ └── pinkie@2.0.4 │ ├─┬ hawk@3.1.3 │ │ ├── boom@2.10.1 │ │ ├── cryptiles@2.0.5 │ │ ├── hoek@2.16.3 │ │ └── sntp@1.0.9 │ ├─┬ http-signature@1.1.1 │ │ ├── assert-plus@0.2.0 │ │ ├─┬ jsprim@1.3.1 │ │ │ ├── extsprintf@1.0.2 │ │ │ ├── json-schema@0.2.3 │ │ │ └── verror@1.3.6 │ │ └─┬ sshpk@1.10.1 │ │ ├── asn1@0.2.3 │ │ ├── assert-plus@1.0.0 │ │ ├── bcrypt-pbkdf@1.0.0 │ │ ├── dashdash@1.14.0 │ │ ├── ecc-jsbn@0.1.1 │ │ ├── getpass@0.1.6 │ │ ├── jodid25519@1.0.2 │ │ ├── jsbn@0.1.0 │ │ └── tweetnacl@0.14.3 │ ├── is-typedarray@1.0.0 │ ├── isstream@0.1.2 │ ├── json-stringify-safe@5.0.1 │ ├─┬ mime-types@2.1.12 │ │ └── mime-db@1.24.0 │ ├── node-uuid@1.4.7 │ ├── oauth-sign@0.8.2 │ ├── qs@6.2.1 │ ├── stringstream@0.0.5 │ ├── tough-cookie@2.3.1 │ └── tunnel-agent@0.4.3 ├── retry@0.10.0 ├── rimraf@2.5.4 ├── semver@5.3.0 ├── sha@2.0.1 ├── slide@1.1.6 ├── sorted-object@2.0.1 ├── strip-ansi@3.0.1 ├─┬ tar@2.2.1 │ └── block-stream@0.0.8 ├── text-table@0.2.0 ├── uid-number@0.0.6 ├── umask@1.1.0 ├─┬ unique-filename@1.1.0 │ └── unique-slug@2.0.0 ├── unpipe@1.0.0 ├─┬ validate-npm-package-license@3.0.1 │ ├─┬ spdx-correct@1.0.2 │ │ └── spdx-license-ids@1.2.0 │ └─┬ spdx-expression-parse@1.0.2 │ ├── spdx-exceptions@1.0.4 │ └── spdx-license-ids@1.2.0 ├─┬ validate-npm-package-name@2.2.2 │ └── builtins@0.0.7 ├─┬ which@1.2.11 │ └── isexe@1.1.2 ├── wrappy@1.0.2 └── write-file-atomic@1.2.0

hasankhan commented 7 years ago

Unfortunately I don't have a mac to debug this issue. I searched a bit on internet and it seems if you do "sudo npm install -g sql-cli" that should solve your problem.

https://github.com/nodeschool/discussions/wiki/Installing-global-node-modules-(Linux-and-Mac)

dbcrtech commented 7 years ago

Thank you! That actually seems to work-- not where I need to be yet, but that is my own learning curve. Thank you for your help!

dinobu commented 4 years ago

This is not solving anything unfortunatelly including @hasankhan suggestion.

dinob @ /Users/dinob ~~ uname -v

Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64

dinob @ /Users/dinob ~~ npm -v

6.9.0

dinob @ /Users/dinob ~~ npm list -g

/usr/local/Cellar/node/12.10.0/lib ├── error: ENOTDIR: not a directory, open '/usr/local/Cellar/node/12.10.0/lib/node_modules/@angular/.DS_Store/package.json ├─┬ @angular/cli@8.3.6 │ ├─┬ @angular-devkit/architect@0.803.6 │ │ ├── @angular-devkit/core@8.3.6 deduped │ │ └─┬ rxjs@6.4.0 │ │ └── tslib@1.10.0 │ ├─┬ @angular-devkit/core@8.3.6 │ │ ├─┬ ajv@6.10.2 │ │ │ ├── fast-deep-equal@2.0.1 │ │ │ ├── fast-json-stable-stringify@2.0.0 deduped │ │ │ ├── json-schema-traverse@0.4.1 │ │ │ └─┬ uri-js@4.2.2 │ │ │ └── punycode@2.1.1 │ │ ├── fast-json-stable-stringify@2.0.0 │ │ ├─┬ magic-string@0.25.3 │ │ │ └── sourcemap-codec@1.4.6 │ │ ├── rxjs@6.4.0 deduped │ │ └── source-map@0.7.3 │ ├─┬ @angular-devkit/schematics@8.3.6 │ │ ├── @angular-devkit/core@8.3.6 deduped │ │ └── rxjs@6.4.0 deduped │ ├─┬ @schematics/angular@8.3.6 │ │ ├── @angular-devkit/core@8.3.6 deduped │ │ └── @angular-devkit/schematics@8.3.6 deduped │ ├─┬ @schematics/update@0.803.6 │ │ ├── @angular-devkit/core@8.3.6 deduped │ │ ├── @angular-devkit/schematics@8.3.6 deduped │ │ ├── @yarnpkg/lockfile@1.1.0 deduped │ │ ├── ini@1.3.5 deduped │ │ ├── pacote@9.5.5 deduped │ │ ├── rxjs@6.4.0 deduped │ │ ├── semver@6.3.0 deduped │ │ └─┬ semver-intersect@1.4.0 │ │ └── semver@5.7.1 │ ├── @yarnpkg/lockfile@1.1.0 │ ├── ansi-colors@4.1.1 │ ├─┬ debug@4.1.1 │ │ └── ms@2.1.2 │ ├── ini@1.3.5 │ ├─┬ inquirer@6.5.1 │ │ ├─┬ ansi-escapes@4.2.1 │ │ │ └── type-fest@0.5.2 │ │ ├─┬ chalk@2.4.2 │ │ │ ├─┬ ansi-styles@3.2.1 │ │ │ │ └─┬ color-convert@1.9.3 │ │ │ │ └── color-name@1.1.3 │ │ │ ├── escape-string-regexp@1.0.5 │ │ │ └─┬ supports-color@5.5.0 │ │ │ └── has-flag@3.0.0 │ │ ├─┬ cli-cursor@3.1.0 │ │ │ └─┬ restore-cursor@3.1.0 │ │ │ ├─┬ onetime@5.1.0 │ │ │ │ └── mimic-fn@2.1.0 │ │ │ └── signal-exit@3.0.2 │ │ ├── cli-width@2.2.0 │ │ ├─┬ external-editor@3.1.0 │ │ │ ├── chardet@0.7.0 │ │ │ ├─┬ iconv-lite@0.4.24 │ │ │ │ └── safer-buffer@2.1.2 │ │ │ └─┬ tmp@0.0.33 │ │ │ └── os-tmpdir@1.0.2 deduped │ │ ├─┬ figures@3.0.0 │ │ │ └── escape-string-regexp@1.0.5 deduped │ │ ├── lodash@4.17.15 │ │ ├── mute-stream@0.0.8 │ │ ├─┬ run-async@2.3.0 │ │ │ └── is-promise@2.1.0 │ │ ├── rxjs@6.4.0 deduped │ │ ├─┬ string-width@4.1.0 │ │ │ ├── emoji-regex@8.0.0 │ │ │ ├── is-fullwidth-code-point@3.0.0 │ │ │ └── strip-ansi@5.2.0 deduped │ │ ├─┬ strip-ansi@5.2.0 │ │ │ └── ansi-regex@4.1.0 │ │ └── through@2.3.8 │ ├─┬ npm-package-arg@6.1.0 │ │ ├── hosted-git-info@2.8.4 │ │ ├─┬ osenv@0.1.5 │ │ │ ├── os-homedir@1.0.2 │ │ │ └── os-tmpdir@1.0.2 │ │ ├── semver@5.7.1 │ │ └─┬ validate-npm-package-name@3.0.0 │ │ └── builtins@1.0.3 │ ├─┬ npm-pick-manifest@3.0.2 │ │ ├── figgy-pudding@3.5.1 │ │ ├── npm-package-arg@6.1.0 deduped │ │ └── semver@5.7.1 │ ├─┬ open@6.4.0 │ │ └── is-wsl@1.1.0 │ ├─┬ pacote@9.5.5 │ │ ├── bluebird@3.5.5 │ │ ├─┬ cacache@12.0.3 │ │ │ ├── bluebird@3.5.5 deduped │ │ │ ├── chownr@1.1.3 │ │ │ ├── figgy-pudding@3.5.1 deduped │ │ │ ├── glob@7.1.4 deduped │ │ │ ├── graceful-fs@4.2.2 │ │ │ ├── infer-owner@1.0.4 deduped │ │ │ ├── lru-cache@5.1.1 deduped │ │ │ ├── mississippi@3.0.0 deduped │ │ │ ├── mkdirp@0.5.1 deduped │ │ │ ├─┬ move-concurrently@1.0.1 │ │ │ │ ├── aproba@1.2.0 │ │ │ │ ├─┬ copy-concurrently@1.0.5 │ │ │ │ │ ├── aproba@1.2.0 deduped │ │ │ │ │ ├── fs-write-stream-atomic@1.0.10 deduped │ │ │ │ │ ├── iferr@0.1.5 │ │ │ │ │ ├── mkdirp@0.5.1 deduped │ │ │ │ │ ├── rimraf@2.7.1 deduped │ │ │ │ │ └── run-queue@1.0.3 deduped │ │ │ │ ├─┬ fs-write-stream-atomic@1.0.10 │ │ │ │ │ ├── graceful-fs@4.2.2 deduped │ │ │ │ │ ├── iferr@0.1.5 deduped │ │ │ │ │ ├── imurmurhash@0.1.4 deduped │ │ │ │ │ └── readable-stream@2.3.6 deduped │ │ │ │ ├── mkdirp@0.5.1 deduped │ │ │ │ ├── rimraf@2.7.1 deduped │ │ │ │ └─┬ run-queue@1.0.3 │ │ │ │ └── aproba@1.2.0 deduped │ │ │ ├── promise-inflight@1.0.1 deduped │ │ │ ├── rimraf@2.7.1 deduped │ │ │ ├── ssri@6.0.1 deduped │ │ │ ├── unique-filename@1.1.1 deduped │ │ │ └── y18n@4.0.0 │ │ ├── figgy-pudding@3.5.1 deduped │ │ ├─┬ get-stream@4.1.0 │ │ │ └─┬ pump@3.0.0 │ │ │ ├── end-of-stream@1.4.4 deduped │ │ │ └── once@1.4.0 deduped │ │ ├─┬ glob@7.1.4 │ │ │ ├── fs.realpath@1.0.0 │ │ │ ├─┬ inflight@1.0.6 │ │ │ │ ├── once@1.4.0 deduped │ │ │ │ └── wrappy@1.0.2 │ │ │ ├── inherits@2.0.4 │ │ │ ├── minimatch@3.0.4 deduped │ │ │ ├─┬ once@1.4.0 │ │ │ │ └── wrappy@1.0.2 deduped │ │ │ └── path-is-absolute@1.0.1 │ │ ├── infer-owner@1.0.4 │ │ ├─┬ lru-cache@5.1.1 │ │ │ └── yallist@3.1.0 │ │ ├─┬ make-fetch-happen@5.0.0 │ │ │ ├─┬ agentkeepalive@3.5.2 │ │ │ │ └─┬ humanize-ms@1.2.1 │ │ │ │ └── ms@2.1.2 deduped │ │ │ ├── cacache@12.0.3 deduped │ │ │ ├── http-cache-semantics@3.8.1 │ │ │ ├─┬ http-proxy-agent@2.1.0 │ │ │ │ ├─┬ agent-base@4.3.0 │ │ │ │ │ └─┬ es6-promisify@5.0.0 │ │ │ │ │ └── es6-promise@4.2.8 │ │ │ │ └─┬ debug@3.1.0 │ │ │ │ └── ms@2.0.0 │ │ │ ├─┬ https-proxy-agent@2.2.2 │ │ │ │ ├── agent-base@4.3.0 deduped │ │ │ │ └─┬ debug@3.2.6 │ │ │ │ └── ms@2.1.2 deduped │ │ │ ├── lru-cache@5.1.1 deduped │ │ │ ├── mississippi@3.0.0 deduped │ │ │ ├─┬ node-fetch-npm@2.0.2 │ │ │ │ ├─┬ encoding@0.1.12 │ │ │ │ │ └── iconv-lite@0.4.24 deduped │ │ │ │ ├── json-parse-better-errors@1.0.2 deduped │ │ │ │ └── safe-buffer@5.2.0 deduped │ │ │ ├── promise-retry@1.1.1 deduped │ │ │ ├─┬ socks-proxy-agent@4.0.2 │ │ │ │ ├─┬ agent-base@4.2.1 │ │ │ │ │ └── es6-promisify@5.0.0 deduped │ │ │ │ └─┬ socks@2.3.2 │ │ │ │ ├── ip@1.1.5 │ │ │ │ └── smart-buffer@4.0.2 │ │ │ └── ssri@6.0.1 deduped │ │ ├─┬ minimatch@3.0.4 │ │ │ └─┬ brace-expansion@1.1.11 │ │ │ ├── balanced-match@1.0.0 │ │ │ └── concat-map@0.0.1 │ │ ├─┬ minipass@2.8.6 │ │ │ ├── safe-buffer@5.2.0 deduped │ │ │ └── yallist@3.1.0 deduped │ │ ├─┬ mississippi@3.0.0 │ │ │ ├─┬ concat-stream@1.6.2 │ │ │ │ ├── buffer-from@1.1.1 │ │ │ │ ├── inherits@2.0.4 deduped │ │ │ │ ├─┬ readable-stream@2.3.6 │ │ │ │ │ ├── core-util-is@1.0.2 │ │ │ │ │ ├── inherits@2.0.4 deduped │ │ │ │ │ ├── isarray@1.0.0 │ │ │ │ │ ├── process-nextick-args@2.0.1 │ │ │ │ │ ├── safe-buffer@5.1.2 │ │ │ │ │ ├─┬ string_decoder@1.1.1 │ │ │ │ │ │ └── safe-buffer@5.1.2 │ │ │ │ │ └── util-deprecate@1.0.2 │ │ │ │ └── typedarray@0.0.6 │ │ │ ├─┬ duplexify@3.7.1 │ │ │ │ ├── end-of-stream@1.4.4 deduped │ │ │ │ ├── inherits@2.0.4 deduped │ │ │ │ ├── readable-stream@2.3.6 deduped │ │ │ │ └── stream-shift@1.0.0 │ │ │ ├─┬ end-of-stream@1.4.4 │ │ │ │ └── once@1.4.0 deduped │ │ │ ├─┬ flush-write-stream@1.1.1 │ │ │ │ ├── inherits@2.0.4 deduped │ │ │ │ └── readable-stream@2.3.6 deduped │ │ │ ├─┬ from2@2.3.0 │ │ │ │ ├── inherits@2.0.4 deduped │ │ │ │ └── readable-stream@2.3.6 deduped │ │ │ ├─┬ parallel-transform@1.2.0 │ │ │ │ ├── cyclist@1.0.1 │ │ │ │ ├── inherits@2.0.4 deduped │ │ │ │ └── readable-stream@2.3.6 deduped │ │ │ ├── pump@3.0.0 deduped │ │ │ ├─┬ pumpify@1.5.1 │ │ │ │ ├── duplexify@3.7.1 deduped │ │ │ │ ├── inherits@2.0.4 deduped │ │ │ │ └─┬ pump@2.0.1 │ │ │ │ ├── end-of-stream@1.4.4 deduped │ │ │ │ └── once@1.4.0 deduped │ │ │ ├─┬ stream-each@1.2.3 │ │ │ │ ├── end-of-stream@1.4.4 deduped │ │ │ │ └── stream-shift@1.0.0 deduped │ │ │ └─┬ through2@2.0.5 │ │ │ ├── readable-stream@2.3.6 deduped │ │ │ └── xtend@4.0.2 │ │ ├─┬ mkdirp@0.5.1 │ │ │ └── minimist@0.0.8 │ │ ├─┬ normalize-package-data@2.5.0 │ │ │ ├── hosted-git-info@2.8.4 deduped │ │ │ ├─┬ resolve@1.12.0 │ │ │ │ └── path-parse@1.0.6 │ │ │ ├── semver@5.7.1 │ │ │ └─┬ validate-npm-package-license@3.0.4 │ │ │ ├─┬ spdx-correct@3.1.0 │ │ │ │ ├── spdx-expression-parse@3.0.0 deduped │ │ │ │ └── spdx-license-ids@3.0.5 │ │ │ └─┬ spdx-expression-parse@3.0.0 │ │ │ ├── spdx-exceptions@2.2.0 │ │ │ └── spdx-license-ids@3.0.5 deduped │ │ ├── npm-package-arg@6.1.0 deduped │ │ ├─┬ npm-packlist@1.4.4 │ │ │ ├─┬ ignore-walk@3.0.2 │ │ │ │ └── minimatch@3.0.4 deduped │ │ │ └── npm-bundled@1.0.6 │ │ ├─┬ npm-pick-manifest@2.2.3 │ │ │ ├── figgy-pudding@3.5.1 deduped │ │ │ ├── npm-package-arg@6.1.0 deduped │ │ │ └── semver@5.7.1 deduped │ │ ├─┬ npm-registry-fetch@4.0.1 │ │ │ ├── bluebird@3.5.5 deduped │ │ │ ├── figgy-pudding@3.5.1 deduped │ │ │ ├─┬ JSONStream@1.3.5 │ │ │ │ ├── jsonparse@1.3.1 │ │ │ │ └── through@2.3.8 deduped │ │ │ ├── lru-cache@5.1.1 deduped │ │ │ ├── make-fetch-happen@5.0.0 deduped │ │ │ ├── npm-package-arg@6.1.0 deduped │ │ │ └── safe-buffer@5.2.0 deduped │ │ ├── osenv@0.1.5 deduped │ │ ├── promise-inflight@1.0.1 │ │ ├─┬ promise-retry@1.1.1 │ │ │ ├── err-code@1.1.2 │ │ │ └── retry@0.10.1 │ │ ├─┬ protoduck@5.0.1 │ │ │ └── genfun@5.0.0 │ │ ├─┬ rimraf@2.7.1 │ │ │ └── glob@7.1.4 deduped │ │ ├── safe-buffer@5.2.0 │ │ ├── semver@5.7.1 │ │ ├─┬ ssri@6.0.1 │ │ │ └── figgy-pudding@3.5.1 deduped │ │ ├─┬ tar@4.4.13 │ │ │ ├── chownr@1.1.3 deduped │ │ │ ├─┬ fs-minipass@1.2.7 │ │ │ │ └── minipass@2.8.6 deduped │ │ │ ├── minipass@2.8.6 deduped │ │ │ ├─┬ minizlib@1.3.2 │ │ │ │ └─┬ minipass@2.9.0 │ │ │ │ ├── safe-buffer@5.2.0 deduped │ │ │ │ └── yallist@3.1.0 deduped │ │ │ ├── mkdirp@0.5.1 deduped │ │ │ ├── safe-buffer@5.2.0 deduped │ │ │ └── yallist@3.1.0 deduped │ │ ├─┬ unique-filename@1.1.1 │ │ │ └─┬ unique-slug@2.0.2 │ │ │ └── imurmurhash@0.1.4 │ │ └─┬ which@1.3.1 │ │ └── isexe@2.0.0 │ ├─┬ read-package-tree@5.3.1 │ │ ├─┬ read-package-json@2.1.0 │ │ │ ├── glob@7.1.4 deduped │ │ │ ├── graceful-fs@4.2.2 deduped │ │ │ ├── json-parse-better-errors@1.0.2 │ │ │ ├── normalize-package-data@2.5.0 deduped │ │ │ └── slash@1.0.0 │ │ ├─┬ readdir-scoped-modules@1.1.0 │ │ │ ├── debuglog@1.0.1 │ │ │ ├─┬ dezalgo@1.0.3 │ │ │ │ ├── asap@2.0.6 │ │ │ │ └── wrappy@1.0.2 deduped │ │ │ ├── graceful-fs@4.2.2 deduped │ │ │ └── once@1.4.0 deduped │ │ └─┬ util-promisify@2.1.0 │ │ └─┬ object.getownpropertydescriptors@2.0.3 │ │ ├─┬ define-properties@1.1.3 │ │ │ └── object-keys@1.1.1 │ │ └─┬ es-abstract@1.14.2 │ │ ├─┬ es-to-primitive@1.2.0 │ │ │ ├── is-callable@1.1.4 deduped │ │ │ ├── is-date-object@1.0.1 │ │ │ └─┬ is-symbol@1.0.2 │ │ │ └── has-symbols@1.0.0 deduped │ │ ├── function-bind@1.1.1 │ │ ├─┬ has@1.0.3 │ │ │ └── function-bind@1.1.1 deduped │ │ ├── has-symbols@1.0.0 │ │ ├── is-callable@1.1.4 │ │ ├─┬ is-regex@1.0.4 │ │ │ └── has@1.0.3 deduped │ │ ├── object-inspect@1.6.0 │ │ ├── object-keys@1.1.1 deduped │ │ ├─┬ string.prototype.trimleft@2.1.0 │ │ │ ├── define-properties@1.1.3 deduped │ │ │ └── function-bind@1.1.1 deduped │ │ └─┬ string.prototype.trimright@2.1.0 │ │ ├── define-properties@1.1.3 deduped │ │ └── function-bind@1.1.1 deduped │ ├── semver@6.3.0 │ ├── symbol-observable@1.2.0 │ ├─┬ universal-analytics@0.4.20 │ │ ├─┬ debug@3.2.6 │ │ │ └── ms@2.1.2 deduped │ │ ├─┬ request@2.88.0 │ │ │ ├── aws-sign2@0.7.0 │ │ │ ├── aws4@1.8.0 │ │ │ ├── caseless@0.12.0 │ │ │ ├─┬ combined-stream@1.0.8 │ │ │ │ └── delayed-stream@1.0.0 │ │ │ ├── extend@3.0.2 │ │ │ ├── forever-agent@0.6.1 │ │ │ ├─┬ form-data@2.3.3 │ │ │ │ ├── asynckit@0.4.0 │ │ │ │ ├── combined-stream@1.0.8 deduped │ │ │ │ └── mime-types@2.1.24 deduped │ │ │ ├─┬ har-validator@5.1.3 │ │ │ │ ├── ajv@6.10.2 deduped │ │ │ │ └── har-schema@2.0.0 │ │ │ ├─┬ http-signature@1.2.0 │ │ │ │ ├── assert-plus@1.0.0 │ │ │ │ ├─┬ jsprim@1.4.1 │ │ │ │ │ ├── assert-plus@1.0.0 deduped │ │ │ │ │ ├── extsprintf@1.3.0 │ │ │ │ │ ├── json-schema@0.2.3 │ │ │ │ │ └─┬ verror@1.10.0 │ │ │ │ │ ├── assert-plus@1.0.0 deduped │ │ │ │ │ ├── core-util-is@1.0.2 deduped │ │ │ │ │ └── extsprintf@1.3.0 deduped │ │ │ │ └─┬ sshpk@1.16.1 │ │ │ │ ├─┬ asn1@0.2.4 │ │ │ │ │ └── safer-buffer@2.1.2 deduped │ │ │ │ ├── assert-plus@1.0.0 deduped │ │ │ │ ├─┬ bcrypt-pbkdf@1.0.2 │ │ │ │ │ └── tweetnacl@0.14.5 deduped │ │ │ │ ├─┬ dashdash@1.14.1 │ │ │ │ │ └── assert-plus@1.0.0 deduped │ │ │ │ ├─┬ ecc-jsbn@0.1.2 │ │ │ │ │ ├── jsbn@0.1.1 deduped │ │ │ │ │ └── safer-buffer@2.1.2 deduped │ │ │ │ ├─┬ getpass@0.1.7 │ │ │ │ │ └── assert-plus@1.0.0 deduped │ │ │ │ ├── jsbn@0.1.1 │ │ │ │ ├── safer-buffer@2.1.2 deduped │ │ │ │ └── tweetnacl@0.14.5 │ │ │ ├── is-typedarray@1.0.0 │ │ │ ├── isstream@0.1.2 │ │ │ ├── json-stringify-safe@5.0.1 │ │ │ ├─┬ mime-types@2.1.24 │ │ │ │ └── mime-db@1.40.0 │ │ │ ├── oauth-sign@0.9.0 │ │ │ ├── performance-now@2.1.0 │ │ │ ├── qs@6.5.2 │ │ │ ├── safe-buffer@5.2.0 deduped │ │ │ ├─┬ tough-cookie@2.4.3 │ │ │ │ ├── psl@1.4.0 │ │ │ │ └── punycode@1.4.1 │ │ │ ├─┬ tunnel-agent@0.6.0 │ │ │ │ └── safe-buffer@5.2.0 deduped │ │ │ └── uuid@3.3.3 deduped │ │ └── uuid@3.3.3 deduped │ └── uuid@3.3.3 └─┬ sql-cli@0.6.2 ├── chardet@0.1.0 ├── commander@2.20.1 ├─┬ easy-table@1.1.1 │ ├── ansi-regex@3.0.0 │ └─┬ wcwidth@1.0.1 │ └─┬ defaults@1.0.3 │ └── clone@1.0.4 ├─┬ iconv-lite@0.4.24 │ └── safer-buffer@2.1.2 ├─┬ mssql@3.3.0 │ ├── generic-pool@2.5.4 │ ├─┬ promise@7.3.1 │ │ └── asap@2.0.6 deduped │ └─┬ tedious@1.14.0 │ ├─┬ babel-runtime@5.8.38 │ │ └── core-js@1.2.7 │ ├── big-number@0.3.1 │ ├─┬ bl@1.2.2 │ │ ├── readable-stream@2.3.6 deduped │ │ └── safe-buffer@5.2.0 │ ├── iconv-lite@0.4.24 deduped │ ├─┬ readable-stream@2.3.6 │ │ ├── core-util-is@1.0.2 │ │ ├── inherits@2.0.4 │ │ ├── isarray@1.0.0 │ │ ├── process-nextick-args@2.0.1 │ │ ├── safe-buffer@5.1.2 │ │ ├─┬ string_decoder@1.1.1 │ │ │ └── safe-buffer@5.1.2 │ │ └── util-deprecate@1.0.2 deduped │ ├── semver@5.7.1 │ └── sprintf@0.1.5 ├── mstring@0.1.2 ├─┬ password-prompt@1.1.2 │ ├── ansi-escapes@3.2.0 │ └─┬ cross-spawn@6.0.5 │ ├── nice-try@1.0.5 │ ├── path-key@2.0.1 │ ├── semver@5.7.1 deduped │ ├─┬ shebang-command@1.2.0 │ │ └── shebang-regex@1.0.0 │ └─┬ which@1.3.1 │ └── isexe@2.0.0 ├─┬ q@2.0.3 │ ├── asap@2.0.6 │ ├── pop-iterate@1.0.1 │ └── weak-map@1.0.5 ├── sprintf-js@1.1.2 ├── underscore@1.9.1 ├─┬ underscore.string@3.3.5 │ ├── sprintf-js@1.1.2 deduped │ └── util-deprecate@1.0.2 └── ya-csv@0.9.4

npm ERR! error in /usr/local/Cellar/node/12.10.0/lib/node_modules/@angular/.DS_Store: ENOTDIR: not a directory, open '/usr/local/Cellar/node/12.10.0/lib/node_modules/@angular/.DS_Store/package.json'

dinob @ /Users/dinob ~~ echo $PATH

/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/Users/dinob/Library/Android/sdk/emulator:/Users/dinob/Library/Android/sdk/tools:/Users/dinob/Library/Android/sdk/tools/bin:/Users/dinob/Library/Android/sdk/platform-tools

aamirs291 commented 1 year ago

Hello All,

I enclosed the password with single quotes and ran the command mssql -u sa - p 'strongpassword' after which I was able to successfully login.