-
Notifications
You must be signed in to change notification settings - Fork 39
Difficulty getting the sample config #12
Comments
👋 , We've seen this happen occasionally when an incorrect installation has happened. If this is still happening we've seen it be fixed by running: npm uninstall -g canvas-data-cli && npm cache clean && npm install -g canvas-data-cli In the terminal. |
Hi Eric,
Here is what I get when I run that:
Last login: Mon Apr 10 09:45:06 on ttys000
Isabella-Houchards-iMac:~ isabellahouchard$ npm uninstall -g canvas-data-cli
…-bash: npm: command not found
Isabella-Houchards-iMac:~ isabellahouchard$ npm cache clean
-bash: npm: command not found
Isabella-Houchards-iMac:~ isabellahouchard$ npm install -g canvas-data-cli
-bash: npm: command not found
Isabella-Houchards-iMac:~ isabellahouchard$ npm uninstall -g
canvas-data-cli && npm cache clean && npm install -g canvas-data-cli
-bash: npm: command not found
Isabella-Houchards-iMac:~ isabellahouchard$
On Sun, Apr 9, 2017 at 5:11 PM, Eric ***@***.***> wrote:
👋 ,
We've seen this happen occasionally when an incorrect installation has
happened. If this is still happening we've seen it be fixed by running:
npm uninstall -g canvas-data-cli && npm cache clean && npm install -g canvas-data-cli
In the terminal.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZEKvqVCntUtWCpXC_VsFPGXMjrp19Vhks5ruVeGgaJpZM4MXXXL>
.
--
Heather Houchard, MPH
Mount Carmel College of Nursing
127 S Davis Ave • Columbus, OH 43222
614.234.3653 Office • 614.234.2875 Fax
[email protected]
|
Hey, Do you still have node installed? NPM Comes with nodejs, and it looks like you had it at one point based on your initial issue:
If you didn't uninstall node then it sounds like it didn't get added to your PATH. This should generally happen when you install node itself. Do you mind if I ask how you installed Node? |
Hey Eric. I installed it first from the package installer on node.js. and
then I think I also used some code from github. Canvas support asked me to
uninstall both node and npm. Here is some (messy) output from how I tried
to uninstall everything. I haven't tried to reinstall yet. Do you think I
should go ahead and start over with the installation? Thanks. Heather
sabella-Houchards-iMac:~ isabellahouchard$ npm uninstall -g canvas-data-cli
…>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/ansi-regex
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/asn1
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/assert-plus
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/asynckit
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/aws-sign2
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/aws4
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/balanced-match
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/buffer-shims
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/camelcase
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/caseless
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/co
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/code-point-at
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/concat-map
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/brace-expansion
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/core-util-is
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/dashdash/node_modules/assert-plus
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/dashdash
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/decamelize
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/delayed-stream
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/combined-stream
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/extend
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/extsprintf
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/forever-agent
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/fs.realpath
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/getpass/node_modules/assert-plus
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/getpass
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/har-schema
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/hoek
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/boom
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/cryptiles
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/inherits
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/invert-kv
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/is-object
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/is-typedarray
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/isarray
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/isstream
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/jsbn
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/ecc-jsbn
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/jodid25519
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/json-schema
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/json-stringify-safe
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/jsonify
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/json-stable-stringify
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/ajv
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/har-validator
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/lcid
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/merge-descriptors
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/fill-keys
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/mime-db
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/mime-types
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/form-data
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/minimatch
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/minimist
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/module-not-found-error
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/number-is-nan
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/is-fullwidth-code-point
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/oauth-sign
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/os-locale
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/path-is-absolute
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/performance-now
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/process-nextick-args
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/punycode
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/qs
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/resolve
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/sntp
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/hawk
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/sshpk/node_modules/assert-plus
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/string_decoder
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/stringstream
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/strip-ansi
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/string-width
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/through
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/tough-cookie
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/tunnel-agent
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/tweetnacl
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/bcrypt-pbkdf
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/sshpk
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/util-deprecate
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/readable-stream
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/uuid
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/verror
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/jsprim
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/http-signature
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/window-size
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/wrap-ansi
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/cliui
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/wrappy
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/end-of-stream/node
> _modules/once
>
> - ***@***.*** node_modules/canvas-data-cli/n
> ode_modules/end-of-stream
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/once
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/inflight
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/y18n
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/async
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/glob
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/lodash
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/map-stream
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/mkdirp
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/multistream
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/proxyquire
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/pump
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/re
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/request
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/split
>
> - ***@***.*** node_modules/canvas-data-cli/node_modules/yargs
>
> - ***@***.*** node_modules/canvas-data-cli
>
> Isabella-Houchards-iMac:~ isabellahouchard$ brew uninstall node
>
> Error: No such keg: /usr/local/Cellar/node
>
> Isabella-Houchards-iMac:~ isabellahouchard$ nvm uninstall v6.10.0
>
> -bash: nvm: command not found
>
> Isabella-Houchards-iMac:~ isabellahouchard$ nvm uninstall v3.10.10
>
> -bash: nvm: command not found
>
> Isabella-Houchards-iMac:~ isabellahouchard$ which node
>
> /usr/local/bin/node
>
> Isabella-Houchards-iMac:~ isabellahouchard$ node --version
>
> v6.10.0
>
> Isabella-Houchards-iMac:~ isabellahouchard$ cd /usr/local/lib
>
> Isabella-Houchards-iMac:lib isabellahouchard$ list
>
> -bash: list: command not found
>
> Isabella-Houchards-iMac:lib isabellahouchard$ ls
>
> dtrace node_modules
>
> Isabella-Houchards-iMac:lib isabellahouchard$ node_modules
>
> -bash: node_modules: command not found
>
> Isabella-Houchards-iMac:lib isabellahouchard$ ls node_modules
>
> npm
>
> Isabella-Houchards-iMac:lib isabellahouchard$ cd
> /usr/local/lib/node_modules
>
> Isabella-Houchards-iMac:node_modules isabellahouchard$ ce
> usr/local/lib/node_modules sudo rm -r ./node_modules
>
> -bash: ce: command not found
>
> Isabella-Houchards-iMac:node_modules isabellahouchard$
> /usr/local/lib/node_modules
>
> -bash: /usr/local/lib/node_modules: is a directory
>
> Isabella-Houchards-iMac:node_modules isabellahouchard$
> /usr/local/lib/node_module
>
> -bash: /usr/local/lib/node_module: No such file or directory
>
> Isabella-Houchards-iMac:node_modules isabellahouchard$ /usr/local/lib
>
> -bash: /usr/local/lib: is a directory
>
> Isabella-Houchards-iMac:node_modules isabellahouchard$ cd
> /usr/local/lib/node_modules
>
> Isabella-Houchards-iMac:node_modules isabellahouchard$ sudo rm -r
> node_modules
>
> Password:
>
> Sorry, try again.
>
> Password:
>
> rm: node_modules: No such file or directory
>
> Isabella-Houchards-iMac:node_modules isabellahouchard$ ls
>
> npm
>
> Isabella-Houchards-iMac:node_modules isabellahouchard$ sudo rm ./npm
>
> rm: ./npm: is a directory
>
> Isabella-Houchards-iMac:node_modules isabellahouchard$ npm
>
>
> Usage: npm <command>
>
>
> where <command> is one of:
>
> access, adduser, bin, bugs, c, cache, completion, config,
>
> ddp, dedupe, deprecate, dist-tag, docs, edit, explore, get,
>
> help, help-search, i, init, install, install-test, it, link,
>
> list, ln, login, logout, ls, outdated, owner, pack, ping,
>
> prefix, prune, publish, rb, rebuild, repo, restart, root,
>
> run, run-script, s, se, search, set, shrinkwrap, star,
>
> stars, start, stop, t, tag, team, test, tst, un, uninstall,
>
> unpublish, unstar, up, update, v, version, view, whoami
>
>
> npm <cmd> -h quick help on <cmd>
>
> npm -l display full usage info
>
> npm help <term> search for help on <term>
>
> npm help npm involved overview
>
>
> Specify configs in the ini-formatted file:
>
> /Users/isabellahouchard/.npmrc
>
> or on the command line via: npm <command> --key value
>
> Config info can be viewed via: npm help config
>
>
> ***@***.*** /usr/local/lib/node_modules/npm
>
> Isabella-Houchards-iMac:node_modules isabellahouchard$ ls
>
> npm
>
> Isabella-Houchards-iMac:node_modules isabellahouchard$ npm uninstall
>
> npm ERR! npm uninstall ***@***.***>/]<pkg>[@<version>]...
> [--save|--save-dev|--save-optional]
>
> npm ERR!
>
> npm ERR! aliases: un, unlink, remove, rm, r
>
> Isabella-Houchards-iMac:node_modules isabellahouchard$ npm
>
>
> Usage: npm <command>
>
>
> where <command> is one of:
>
> access, adduser, bin, bugs, c, cache, completion, config,
>
> ddp, dedupe, deprecate, dist-tag, docs, edit, explore, get,
>
> help, help-search, i, init, install, install-test, it, link,
>
> list, ln, login, logout, ls, outdated, owner, pack, ping,
>
> prefix, prune, publish, rb, rebuild, repo, restart, root,
>
> run, run-script, s, se, search, set, shrinkwrap, star,
>
> stars, start, stop, t, tag, team, test, tst, un, uninstall,
>
> unpublish, unstar, up, update, v, version, view, whoami
>
>
> npm <cmd> -h quick help on <cmd>
>
> npm -l display full usage info
>
> npm help <term> search for help on <term>
>
> npm help npm involved overview
>
>
> Specify configs in the ini-formatted file:
>
> /Users/isabellahouchard/.npmrc
>
> or on the command line via: npm <command> --key value
>
> Config info can be viewed via: npm help config
>
>
> ***@***.*** /usr/local/lib/node_modules/npm
>
> Isabella-Houchards-iMac:node_modules isabellahouchard$ cd /usr/
>
> Isabella-Houchards-iMac:usr isabellahouchard$ cd /usr/local/lib
>
> Isabella-Houchards-iMac:lib isabellahouchard$ ls
>
> dtrace node_modules
>
> Isabella-Houchards-iMac:lib isabellahouchard$ rm -rf node_modules
>
> Isabella-Houchards-iMac:lib isabellahouchard$ node_modules
>
> -bash: node_modules: command not found
>
> Isabella-Houchards-iMac:lib isabellahouchard$ cd /usr/local/include
>
> Isabella-Houchards-iMac:include isabellahouchard$ ls
>
> node
>
> Isabella-Houchards-iMac:include isabellahouchard$ rm -rf node
>
> Isabella-Houchards-iMac:include isabellahouchard$ ls
>
> Isabella-Houchards-iMac:include isabellahouchard$ cd /usr/local/include
>
> Isabella-Houchards-iMac:include isabellahouchard$ ls
>
> Isabella-Houchards-iMac:include isabellahouchard$ cd /usr/local/bin
>
> Isabella-Houchards-iMac:bin isabellahouchard$ ls
>
> brew node npm scan
>
> Isabella-Houchards-iMac:bin isabellahouchard$ rm -rf node
>
> Isabella-Houchards-iMac:bin isabellahouchard$ rm -rf npm
>
> Isabella-Houchards-iMac:bin isabellahouchard$ ls
>
> brew scan
>
> Isabella-Houchards-iMac:bin isabellahouchard$ cd /usr/
>
> Isabella-Houchards-iMac:usr isabellahouchard$ ls
>
> bin lib local share
>
> include libexec sbin standalone
>
> Isabella-Houchards-iMac:usr isabellahouchard$ lib
>
> -bash: lib: command not found
>
> Isabella-Houchards-iMac:usr isabellahouchard$ cd /usr/lib
>
> Isabella-Houchards-iMac:lib isabellahouchard$ ls
>
> PN548_API.dylib libipsec.A.dylib
>
> PN548_HAL_OSX.dylib libipsec.dylib
>
> PN548_OSX.dylib libk5crypto.dylib
>
> bundle1.o libkmod.a
>
> charset.alias libkmodc++.a
>
> cron libkrb4.dylib
>
> crt1.10.5.o libkrb5.dylib
>
> crt1.10.6.o libkrb524.dylib
>
> crt1.o libkrb5support.dylib
>
> dtrace libktrace.dylib
>
> dyld libl.a
>
> dylib1.10.5.o liblangid.dylib
>
> dylib1.o liblapack.dylib
>
> gcrt1.o liblber.dylib
>
> groff libldap.dylib
>
> lazydylib1.o libldap_r.dylib
>
> libATCommandStudio.a liblzma.5.dylib
>
> libATCommandStudioDynamic.dylib liblzma.dylib
>
> libAccountPolicyTranslation.dylib libm.dylib
>
> libBSDPClient.A.dylib libmarisa.dylib
>
> libBSDPClient.dylib libmecab.1.0.0.dylib
>
> libCRFSuite.dylib libmecab.dylib
>
> libCRFSuite0.12.dylib libmecabra.dylib
>
> libChineseTokenizer.dylib libmenu.5.4.dylib
>
> libCoreStorage.dylib libmenu.dylib
>
> libDHCPServer.A.dylib libmx.A.dylib
>
> libDHCPServer.dylib libmx.dylib
>
> libDiagnosticMessagesClient.dylib libncurses.5.4.dylib
>
> libFDR_osx.dylib libncurses.5.dylib
>
> libFosl_dynamic.dylib libncurses.dylib
>
> libIASAuthReboot.dylib libnetsnmp.15.1.2.dylib
>
> libIASUnifiedProgress.dylib libnetsnmp.15.dylib
>
> libMatch.1.dylib libnetsnmp.25.dylib
>
> libMatch.dylib libnetsnmp.5.2.1.dylib
>
> libOpenScriptingUtil.dylib libnetsnmp.5.dylib
>
> libQMIParser.a libnetsnmp.dylib
>
> libQMIParserDynamic.dylib libnetsnmpagent.25.dylib
>
> libSMC.dylib libnetsnmpagent.dylib
>
> libScreenReader.dylib libnetsnmphelpers.25.dylib
>
> libSystem.B.dylib libnetsnmphelpers.dylib
>
> libSystem.dylib libnetsnmpmibs.25.dylib
>
> libTelephonyUtilDynamic.dylib libnetsnmpmibs.dylib
>
> libThaiTokenizer.dylib libnetsnmptrapd.25.dylib
>
> libUniversalAccess.dylib libnetsnmptrapd.dylib
>
> libXSEvent.dylib libnetwork.dylib
>
> libXplugin.1.dylib libnfrestore.dylib
>
> libXplugin.dylib libnfshared.dylib
>
> libalias.A.dylib libobjc.A.dylib
>
On Mon, Apr 10, 2017 at 9:55 AM, Eric ***@***.***> wrote:
Hey,
Do you still have node installed? NPM Comes with nodejs, and it looks like
you had it at one point based on your initial issue:
Isabella-Houchards-iMac:~ isabellahouchard$ npm install -g canvas-data-cli
/usr/local/bin/canvasDataCli -> /usr/local/lib/node_modules/canvas-data-cli/bin/canvasDataCli
/usr/local/lib
└── ***@***.***
If you didn't uninstall node then it sounds like it didn't get added to
your PATH. This should generally happen when you install node itself. Do
you mind if I ask how you installed Node?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZEKvkk9zLAdQEGFNT1QkKRA1itSO-S9ks5rukL7gaJpZM4MXXXL>
.
--
Heather Houchard, MPH
Mount Carmel College of Nursing
127 S Davis Ave • Columbus, OH 43222
614.234.3653 Office • 614.234.2875 Fax
[email protected]
|
Hey, So the canvas support agent you were talking to was me. Small world. If you can execute If you can't I'd do two things (since it looks like you have brew.)
After that close your terminal and open it again. You may need to reinstall the CLI Globally ( |
Lol. Ok, I'll give it a shot.
Heather
… On Apr 10, 2017, at 11:20 AM, Eric ***@***.***> wrote:
Hey,
So the canvas support agent you were talking to was me. Small world. If you can execute npm right now, and get some output then I'd say don't worry about uninstall/reinstalling node.
If you can't I'd do two things (since it looks like you have brew.)
run brew doctor in order to clean up anything that it can detect.
run brew install node in order to clean things up/add node to your path.
After that close your terminal and open it again. You may need to reinstall the CLI Globally (npm install -g canvas-data-cli), but it should be good.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I didn't know Eric and Notifier of All Things are synonymous. Now I do.
… On Apr 10, 2017, at 11:20 AM, Eric ***@***.***> wrote:
Hey,
So the canvas support agent you were talking to was me. Small world. If you can execute npm right now, and get some output then I'd say don't worry about uninstall/reinstalling node.
If you can't I'd do two things (since it looks like you have brew.)
run brew doctor in order to clean up anything that it can detect.
run brew install node in order to clean things up/add node to your path.
After that close your terminal and open it again. You may need to reinstall the CLI Globally (npm install -g canvas-data-cli), but it should be good.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Heh, I think I'm the only one who still uses that account (though we have multiple people using the queue) as a reply email. Everyone else has had their accounts associated to the correct email. |
That worked! Thanks
…On Mon, Apr 10, 2017 at 11:20 AM, Eric ***@***.***> wrote:
Hey,
So the canvas support agent you were talking to was me. Small world. If
you can execute npm right now, and get some output then I'd say don't
worry about uninstall/reinstalling node.
If you can't I'd do two things (since it looks like you have brew.)
- run brew doctor in order to clean up anything that it can detect.
- run brew install node in order to clean things up/add node to your
path.
After that close your terminal and open it again. You may need to
reinstall the CLI Globally (npm install -g canvas-data-cli), but it
should be good.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZEKvuN7hpdH0JFSlZOBHySuD819DPbjks5rulbjgaJpZM4MXXXL>
.
--
Heather Houchard, MPH
Mount Carmel College of Nursing
127 S Davis Ave • Columbus, OH 43222
614.234.3653 Office • 614.234.2875 Fax
[email protected]
|
Awesome, glad to hear! |
Hi Eric,
Can you tell me where I am going wrong here? Thanks. Heather
Isabella-Houchards-iMac:desktop isabellahouchard$ canvasDataCli fetch -c
/users/isabellahouchard/Desktop/config.js -t user_dim
/users/isabellahouchard/Desktop/config.js:3
saveLocation: ‘/users/isabellahouchard/Desktop/CDatafiles/data’,
^
SyntaxError: Invalid or unexpected token
at createScript (vm.js:53:10)
at Object.runInThisContext (vm.js:95:10)
at Module._compile (module.js:543:28)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.run
(/usr/local/lib/node_modules/canvas-data-cli/lib/cli.js:113:16
…On Mon, Apr 10, 2017 at 5:25 PM, Eric ***@***.***> wrote:
Awesome, glad to hear!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZEKvvrIicqqD8ak9C1hFL-3OrpKyziCks5ruqxWgaJpZM4MXXXL>
.
--
Heather Houchard, MPH
Mount Carmel College of Nursing
127 S Davis Ave • Columbus, OH 43222
614.234.3653 Office • 614.234.2875 Fax
[email protected]
|
@hhouchard it appears you have a syntax error in your configuration. Do you mind posting it here, and I'd be happy to shine light as to what it is. |
Oh, you are awewome.
Here it is:
module.exports = {
saveLocation: ‘/users/isabellahouchard/Desktop/CDatafiles/data’,
unpackLocation:
‘/users/isabella/houchard/Desktop/CDatafiles/unpackedFiles’,
apiUrl: 'https://api.inshosteddata.com/api',
key: ‘’0038527fdab78df691e3ce793e2b1064c054d814’’,
secret: ‘’57ea2c7a306c63178b4fbe63f6b13a88f5af202f’’,
}
…On Sun, Apr 23, 2017 at 3:27 PM, Eric ***@***.***> wrote:
@hhouchard <https://github.com/hhouchard> it appears you have a syntax
error in your configuration. Do you mind posting it here, and I'd be happy
to shine light as to what it is.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZEKvp9uXonpe14Bvl146bhbhKmb4JVsks5ry7RNgaJpZM4MXXXL>
.
--
Heather Houchard, MPH
Mount Carmel College of Nursing
127 S Davis Ave • Columbus, OH 43222
614.234.3653 Office • 614.234.2875 Fax
[email protected]
|
@hhouchard I'd rotate those credentials right away. (this can be done in the portal by regenerating credentials). Anyone with those would have complete access to your schools data. I should've mentioned that in my first comment. We will never need it from a support perspective. Second off it appears you're mac is performing what's known as "smart quotes". (You'll notice the quotes appear curly e.g.: Normal quote: ' There's a guide to turn it off globally HERE if you want to never deal with it again. If not you can copy the normal quote from my response here. |
Will do both. Thank you, again.
…On Sun, Apr 23, 2017 at 3:33 PM, Eric ***@***.***> wrote:
@hhouchard <https://github.com/hhouchard> I'd rotate those credentials
right away. (this can be done in the portal by regenerating credentials).
Anyone with those would have complete access to your schools data. I
should've mentioned that in my first comment. We will never need it from a
support perspective.
Second off it appears you're mac is performing what's known as "smart
quotes". (You'll notice the quotes appear curly e.g.:
Normal quote: '
Smart quote: ‘
Normal quote: "
Smart Quote: ‘’
).
There's a guide to turn it off globally HERE
<http://www.iclarified.com/38772/how-to-disable-curly-quotes-in-mac-os-x-mavericks>
if you want to never deal with it again. If not you can copy the normal
quote from my response here.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZEKvqahhdEI2MUpOFs0j1li509TeXC9ks5ry7V9gaJpZM4MXXXL>
.
--
Heather Houchard, MPH
Mount Carmel College of Nursing
127 S Davis Ave • Columbus, OH 43222
614.234.3653 Office • 614.234.2875 Fax
[email protected]
|
@securityinsanity |
Please help me understand why I am getting the following when I try to get the sample configuration. Thanks.
Isabella-Houchards-iMac:~ isabellahouchard$ npm install -g canvas-data-cli
/usr/local/bin/canvasDataCli -> /usr/local/lib/node_modules/canvas-data-cli/bin/canvasDataCli
/usr/local/lib
└── [email protected]
Isabella-Houchards-iMac:~ isabellahouchard$ canvasDataCli sampleConfig
module.js:471
throw err;
^
Error: Cannot find module './lib/Api'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/usr/local/lib/node_modules/canvas-data-cli/index.js:2:8)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
Isabella-Houchards-iMac:~ isabellahouchard$
The text was updated successfully, but these errors were encountered: