0

I am trying to follow the beginning of this article here: https://docs.augur.net/#using-npm But run into errors when do the command "npm install". It says:

npm ERR! Cannot read property 'match' of undefined

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Poyo\AppData\Roaming\npm-cache_logs\2018-12-23T20_30_58_491Z-debug.log

I have had a previous old installation of node.js installed, and recently installed version 10 of it, fwiw. I already tried googling a few things but cannot figure out what to do here.. apparently i've got some folder under user directory with node_modules+package.json, etc, and also seem to have a folder in "C:\Program Files (x86)\nodejs\augur-ui" that also has the node_modules folder, and the augur-ui folder but no package.json

so, also, not sure which folder i should "set up" the augur stuff in of those two, so confused. can i just bring in package.json into the program files one, and run everything from there? should i check my paths?

here is the log for the error, fwiw:

0 info it worked if it ends with ok 1 verbose cli [ 'C:\Program Files (x86)\nodejs\node.exe', 1 verbose cli 'C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js', 1 verbose cli 'install' ] 2 info using npm@6.4.1 3 info using node@v10.14.2 4 verbose npm-session 6521e191c7e7797d 5 silly install runPreinstallTopLevelLifecycles 6 silly preinstall augur-ui@6.1.4 7 info lifecycle augur-ui@6.1.4~preinstall: augur-ui@6.1.4 8 silly install loadCurrentTree 9 silly install readLocalPackageData 10 timing stage:loadCurrentTree Completed in 22ms 11 silly install loadIdealTree 12 silly install cloneCurrentTreeToIdealTree 13 timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms 14 silly install loadShrinkwrap 15 timing stage:rollbackFailedOptional Completed in 1ms 16 timing stage:runTopLevelLifecycles Completed in 253ms 17 silly saveTree augur-ui@6.1.4 17 silly saveTree +-- @0xproject/order-utils@1.0.7 17 silly saveTree | +-- @0xproject/assert@1.0.13 17 silly saveTree | | +-- @0xproject/json-schemas@1.0.7 17 silly saveTree | | | +-- @0xproject/typescript-typings@3.0.2 17 silly saveTree | | | | +-- @types/bn.js@4.11.3 17 silly saveTree | | | | | -- @types/node@10.12.12 17 silly saveTree | | | | +-- @types/react@16.7.15 17 silly saveTree | | | | |-- @types/prop-types@15.5.8 17 silly saveTree | | | | -- bignumber.js@4.1.0 17 silly saveTree | | |-- @types/node@10.12.12 17 silly saveTree | | +-- @0xproject/typescript-typings@3.0.2 17 silly saveTree | | +-- @0xproject/utils@2.0.2 17 silly saveTree | | | +-- @0xproject/types@1.1.4 17 silly saveTree | | | | -- bignumber.js@4.1.0 17 silly saveTree | | | +-- abortcontroller-polyfill@1.2.1 17 silly saveTree | | | +-- bignumber.js@4.1.0 17 silly saveTree | | |-- lodash@4.17.11 17 silly saveTree | | -- lodash@4.17.11 17 silly saveTree | +-- @0xproject/base-contract@3.0.1 17 silly saveTree | | +-- @0xproject/web3-wrapper@3.0.3 17 silly saveTree | | |-- lodash@4.17.11 17 silly saveTree | | -- lodash@4.17.11 17 silly saveTree | +-- @0xproject/json-schemas@1.0.7 17 silly saveTree | +-- @0xproject/types@1.1.4 17 silly saveTree | +-- @0xproject/typescript-typings@3.0.2 17 silly saveTree | +-- @0xproject/utils@2.0.2 17 silly saveTree | +-- @0xproject/web3-wrapper@3.0.3 17 silly saveTree | +-- @types/node@10.12.12 17 silly saveTree | +-- bn.js@4.11.8 17 silly saveTree |-- lodash@4.17.11 17 silly saveTree +-- @0xproject/utils@2.0.2 17 silly saveTree +-- @babel/core@7.2.0 17 silly saveTree | +-- @babel/code-frame@7.0.0 17 silly saveTree | | -- @babel/highlight@7.0.0 17 silly saveTree | | +-- chalk@2.3.0 17 silly saveTree | | | +-- ansi-styles@3.2.1 17 silly saveTree | | | |-- color-convert@1.9.3 17 silly saveTree | | | | -- color-name@1.1.3 17 silly saveTree | | |-- supports-color@4.5.0 17 silly saveTree | | -- js-tokens@4.0.0 17 silly saveTree | +-- @babel/generator@7.2.0 17 silly saveTree | | +-- @babel/types@7.2.0 17 silly saveTree | | |-- lodash@4.17.11 17 silly saveTree | | +-- jsesc@2.5.2 17 silly saveTree | | -- lodash@4.17.11 17 silly saveTree | +-- @babel/helpers@7.2.0 17 silly saveTree | | +-- @babel/template@7.1.2 17 silly saveTree | | |-- @babel/parser@7.2.0 17 silly saveTree | | -- @babel/traverse@7.1.6 17 silly saveTree | | +-- @babel/generator@7.2.0 17 silly saveTree | | | +-- jsesc@2.5.2 17 silly saveTree | | |-- lodash@4.17.11 17 silly saveTree | | +-- @babel/helper-function-name@7.1.0 17 silly saveTree | | | -- @babel/helper-get-function-arity@7.0.0 17 silly saveTree | | +-- @babel/helper-split-export-declaration@7.0.0 17 silly saveTree | | +-- debug@4.1.0 17 silly saveTree | | |-- ms@2.1.1 17 silly saveTree | | -- lodash@4.17.11 17 silly saveTree | +-- @babel/parser@7.2.0 17 silly saveTree | +-- @babel/template@7.1.2 17 silly saveTree | +-- @babel/traverse@7.1.6 17 silly saveTree | +-- @babel/types@7.2.0 17 silly saveTree | +-- convert-source-map@1.6.0 17 silly saveTree | +-- debug@4.1.0 17 silly saveTree | |-- ms@2.1.1 17 silly saveTree | +-- json5@2.1.0 17 silly saveTree | -- lodash@4.17.11 17 silly saveTree +-- @babel/plugin-proposal-class-properties@7.2.1 17 silly saveTree | +-- @babel/helper-create-class-features-plugin@7.2.1 17 silly saveTree | | +-- @babel/helper-member-expression-to-functions@7.0.0 17 silly saveTree | | +-- @babel/helper-optimise-call-expression@7.0.0 17 silly saveTree | | +-- @babel/helper-plugin-utils@7.0.0 17 silly saveTree | |-- @babel/helper-replace-supers@7.1.0 17 silly saveTree | -- @babel/helper-plugin-utils@7.0.0 17 silly saveTree +-- @babel/plugin-syntax-dynamic-import@7.2.0 17 silly saveTree +-- @babel/plugin-transform-runtime@7.2.0 17 silly saveTree |-- @babel/helper-module-imports@7.0.0 17 silly saveTree +-- @babel/preset-env@7.2.0 17 silly saveTree | +-- @babel/plugin-proposal-async-generator-functions@7.2.0 17 silly saveTree | | +-- @babel/helper-remap-async-to-generator@7.1.0 17 silly saveTree | | | +-- @babel/helper-annotate-as-pure@7.0.0 17 silly saveTree | | | -- @babel/helper-wrap-function@7.2.0 17 silly saveTree | |-- @babel/plugin-syntax-async-generators@7.2.0 17 silly saveTree | +-- @babel/plugin-proposal-json-strings@7.2.0 17 silly saveTree | | -- @babel/plugin-syntax-json-strings@7.2.0 17 silly saveTree | +-- @babel/plugin-proposal-object-rest-spread@7.2.0 17 silly saveTree | |-- @babel/plugin-syntax-object-rest-spread@7.2.0 17 silly saveTree | +-- @babel/plugin-proposal-optional-catch-binding@7.2.0 17 silly saveTree | | -- @babel/plugin-syntax-optional-catch-binding@7.2.0 17 silly saveTree | +-- @babel/plugin-proposal-unicode-property-regex@7.2.0 17 silly saveTree | |-- @babel/helper-regex@7.0.0 17 silly saveTree | | -- lodash@4.17.11 17 silly saveTree | +-- @babel/plugin-syntax-async-generators@7.2.0 17 silly saveTree | +-- @babel/plugin-syntax-object-rest-spread@7.2.0 17 silly saveTree | +-- @babel/plugin-syntax-optional-catch-binding@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-arrow-functions@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-async-to-generator@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-block-scoped-functions@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-block-scoping@7.2.0 17 silly saveTree | |-- lodash@4.17.11 17 silly saveTree | +-- @babel/plugin-transform-classes@7.2.0 17 silly saveTree | | -- @babel/helper-define-map@7.1.0 17 silly saveTree | |-- lodash@4.17.11 17 silly saveTree | +-- @babel/plugin-transform-computed-properties@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-destructuring@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-dotall-regex@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-duplicate-keys@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-exponentiation-operator@7.2.0 17 silly saveTree | | -- @babel/helper-builder-binary-assignment-operator-visitor@7.1.0 17 silly saveTree | |-- @babel/helper-explode-assignable-expression@7.1.0 17 silly saveTree | +-- @babel/plugin-transform-for-of@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-function-name@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-literals@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-modules-amd@7.2.0 17 silly saveTree | | -- @babel/helper-module-transforms@7.1.0 17 silly saveTree | | +-- @babel/helper-simple-access@7.1.0 17 silly saveTree | |-- lodash@4.17.11 17 silly saveTree | +-- @babel/plugin-transform-modules-commonjs@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-modules-systemjs@7.2.0 17 silly saveTree | | -- @babel/helper-hoist-variables@7.0.0 17 silly saveTree | +-- @babel/plugin-transform-modules-umd@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-new-target@7.0.0 17 silly saveTree | +-- @babel/plugin-transform-object-super@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-parameters@7.2.0 17 silly saveTree | |-- @babel/helper-call-delegate@7.1.0 17 silly saveTree | +-- @babel/plugin-transform-regenerator@7.0.0 17 silly saveTree | +-- @babel/plugin-transform-shorthand-properties@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-spread@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-sticky-regex@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-template-literals@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-typeof-symbol@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-unicode-regex@7.2.0 17 silly saveTree | -- browserslist@4.3.5 17 silly saveTree |-- caniuse-lite@1.0.30000918 17 silly saveTree +-- @babel/preset-react@7.0.0 17 silly saveTree | +-- @babel/plugin-transform-react-display-name@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-react-jsx-self@7.2.0 17 silly saveTree | | -- @babel/plugin-syntax-jsx@7.2.0 17 silly saveTree | +-- @babel/plugin-transform-react-jsx-source@7.2.0 17 silly saveTree |-- @babel/plugin-transform-react-jsx@7.2.0 17 silly saveTree | -- @babel/helper-builder-react-jsx@7.0.0 17 silly saveTree +-- @babel/preset-stage-0@7.0.0 17 silly saveTree +-- @babel/register@7.0.0 17 silly saveTree | +-- core-js@2.6.0 17 silly saveTree |-- lodash@4.17.11 17 silly saveTree +-- @babel/runtime@7.2.0 17 silly saveTree +-- @ledgerhq/hw-app-eth@4.21.0 17 silly saveTree | -- @ledgerhq/hw-transport@4.32.0 17 silly saveTree |-- events@3.0.0 17 silly saveTree +-- @ledgerhq/hw-transport-u2f@4.32.0 17 silly saveTree +-- @types/expect-puppeteer@3.3.0 17 silly saveTree | +-- @types/jest@23.3.10 17 silly saveTree | -- @types/puppeteer@1.11.1 17 silly saveTree +-- @types/jest-environment-puppeteer@2.2.1 17 silly saveTree +-- @types/jest@23.3.10 17 silly saveTree +-- @types/puppeteer@1.11.1 17 silly saveTree +-- async@2.6.1 17 silly saveTree |-- lodash@4.17.11 17 silly saveTree +-- augur.js@6.1.4 17 silly saveTree | +-- async@1.5.2 17 silly saveTree | +-- augur-core@1.1.0 17 silly saveTree | | +-- @types/get-port@3.2.0 17 silly saveTree | | +-- @types/mkdirp@0.5.1 17 silly saveTree | | +-- @types/node@9.6.7 17 silly saveTree | | +-- @types/yargs@11.0.0 17 silly saveTree | | +-- async-file@2.0.2 17 silly saveTree | | +-- async-mkdirp@1.2.0 17 silly saveTree | | +-- async-parallel@1.2.3 17 silly saveTree | | +-- binascii@0.0.1 17 silly saveTree | | +-- copy-dir@0.3.0 17 silly saveTree | | -- yargs@11.0.0 17 silly saveTree | |-- cliui@4.1.0 17 silly saveTree | | -- strip-ansi@4.0.0 17 silly saveTree | |-- ansi-regex@3.0.0 17 silly saveTree | +-- bignumber.js@6.0.0 17 silly saveTree | +-- clone@2.1.1 17 silly saveTree | +-- columnify@1.5.4 17 silly saveTree | +-- ethrpc@6.1.1 17 silly saveTree | | +-- async@2.6.0 17 silly saveTree | | | -- lodash@4.17.10 17 silly saveTree | | +-- browser-request@0.3.3 17 silly saveTree | | +-- ethereumjs-blockstream@7.0.0 17 silly saveTree | | | +-- source-map-support@0.5.6 17 silly saveTree | | | | +-- buffer-from@1.1.1 17 silly saveTree | | | |-- source-map@0.6.1 17 silly saveTree | | | -- uuid@3.2.1 17 silly saveTree | | +-- ethereumjs-tx@1.3.1 17 silly saveTree | | +-- immutable-delete@1.0.1 17 silly saveTree | | +-- keccak@1.2.0 17 silly saveTree | | |-- bindings@1.3.1 17 silly saveTree | | +-- lodash@4.17.10 17 silly saveTree | | +-- redux@3.6.0 17 silly saveTree | | | -- symbol-observable@1.2.0 17 silly saveTree | | +-- request@2.85.0 17 silly saveTree | | | +-- aws-sign2@0.7.0 17 silly saveTree | | | +-- aws4@1.8.0 17 silly saveTree | | | +-- caseless@0.12.0 17 silly saveTree | | | +-- combined-stream@1.0.7 17 silly saveTree | | | +-- har-validator@5.0.3 17 silly saveTree | | | |-- ajv@5.5.2 17 silly saveTree | | | | +-- co@4.6.0 17 silly saveTree | | | | +-- fast-deep-equal@1.1.0 17 silly saveTree | | | | -- json-schema-traverse@0.3.1 17 silly saveTree | | | +-- oauth-sign@0.8.2 17 silly saveTree | | | +-- tough-cookie@2.3.4 17 silly saveTree | | |-- uuid@3.3.2 17 silly saveTree | | +-- speedomatic@2.1.5 17 silly saveTree | | -- uuid@3.0.1 17 silly saveTree | +-- keccak@1.2.0 17 silly saveTree | +-- lodash@4.17.10 17 silly saveTree | +-- secp256k1@3.5.0 17 silly saveTree | |-- bip66@1.1.5 17 silly saveTree | +-- speedomatic@2.1.5 17 silly saveTree | -- uuid@3.0.0 17 silly saveTree +-- autoprefixer@9.1.5 17 silly saveTree +-- babel-core@7.0.0-bridge.0 17 silly saveTree +-- babel-eslint@9.0.0 17 silly saveTree +-- babel-jest@23.6.0 17 silly saveTree | +-- babel-plugin-istanbul@4.1.6 17 silly saveTree | | +-- babel-plugin-syntax-object-rest-spread@6.13.0 17 silly saveTree | |-- test-exclude@4.2.3 17 silly saveTree | | -- arrify@1.0.1 17 silly saveTree |-- babel-preset-jest@23.2.0 17 silly saveTree | -- babel-plugin-jest-hoist@23.2.0 17 silly saveTree +-- babel-loader@8.0.4 17 silly saveTree +-- babel-polyfill@6.26.0 17 silly saveTree | +-- babel-runtime@6.26.0 17 silly saveTree | |-- regenerator-runtime@0.11.1 17 silly saveTree | -- regenerator-runtime@0.10.5 17 silly saveTree +-- bignumber.js@6.0.0 17 silly saveTree +-- bs58@4.0.1 17 silly saveTree |-- base-x@3.0.5 17 silly saveTree +-- chalk@2.3.0 17 silly saveTree +-- classnames@2.2.5 17 silly saveTree +-- clean-css@4.2.1 17 silly saveTree | -- source-map@0.6.1 17 silly saveTree +-- clipboard@1.7.1 17 silly saveTree-- copy-webpack-plugin@4.5.2 17 silly saveTree +-- cacache@10.0.4 17 silly saveTree | +-- bluebird@3.5.3 17 silly saveTree | +-- chownr@1.1.1 17 silly saveTree | -- y18n@4.0.0 17 silly saveTree-- is-glob@4.0.0 17 silly saveTree `-- is-extglob@2.1.1 18 verbose stack TypeError: Cannot read property 'match' of undefined 18 verbose stack at tarballToVersion (C:\Program Files (x86)\nodejs\node_modules\npm\lib\install\inflate-shrinkwrap.js:87:20) 18 verbose stack at inflatableChild (C:\Program Files (x86)\nodejs\node_modules\npm\lib\install\inflate-shrinkwrap.js:99:22) 18 verbose stack at BB.each (C:\Program Files (x86)\nodejs\node_modules\npm\lib\install\inflate-shrinkwrap.js:55:12) 18 verbose stack at tryCatcher (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\bluebird\js\release\util.js:16:23) 18 verbose stack at Object.gotValue (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\bluebird\js\release\reduce.js:155:18) 18 verbose stack at Object.gotAccum (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\bluebird\js\release\reduce.js:144:25) 18 verbose stack at Object.tryCatcher (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\bluebird\js\release\util.js:16:23) 18 verbose stack at Promise._settlePromiseFromHandler (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:512:31) 18 verbose stack at Promise._settlePromise (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:569:18) 18 verbose stack at Promise._settlePromiseCtx (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:606:10) 18 verbose stack at Async._drainQueue (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\bluebird\js\release\async.js:138:12) 18 verbose stack at Async._drainQueues (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\bluebird\js\release\async.js:143:10) 18 verbose stack at Immediate.Async.drainQueues [as _onImmediate] (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\bluebird\js\release\async.js:17:14) 18 verbose stack at runCallback (timers.js:705:18) 18 verbose stack at tryOnImmediate (timers.js:676:5) 18 verbose stack at processImmediate (timers.js:658:5) 19 verbose cwd C:\Program Files (x86)\nodejs\augur-ui 20 verbose Windows_NT 10.0.17134 21 verbose argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" 22 verbose node v10.14.2 23 verbose npm v6.4.1 24 error Cannot read property 'match' of undefined 25 verbose exit [ 1, true ]

Hmm... Any help would be appreciated..

bumped to the homepage by Community 2 days ago

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

  • nevermind, i did some more research and now i have gotten past that, i think. Now i am running "npm run build" and only getting "\nodejs\augur-ui\build was unexpected at this time." not sure if that means it didn't work. but then i run "npm start (still in the augur-ui dir) and it seems to go and keep doing the stuff. i am able to go to localhost:8080 in browser and it pulls up blank page with "Cannot GET /" in the corner. What should i do to get around this and get augur api working. (still following these directions: docs.augur.net/#using-npm) – Poyo Dec 23 '18 at 23:41
0

I encountered the exact same issue in your comment, i.e., my browser pulling up the blank page with "Cannot GET /" in the corner.

Did you find a solution?

  • nope, i gave up. my installation is so messed up already i guess, not sure how to start over i think next step included something to install or link python maybe, fwtw – Poyo Feb 16 at 20:59

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.