Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Basic beginner 'getting started' broken #697

Closed
dcsouthwick opened this issue Jul 12, 2020 · 3 comments
Closed

Basic beginner 'getting started' broken #697

dcsouthwick opened this issue Jul 12, 2020 · 3 comments
Labels
ARCHIVED CLOSED at time of archiving

Comments

@dcsouthwick
Copy link

Hello,

I'm not sure if this project is maintained anymore, but it seems simplest 'getting started' example is broken.

Steps to reproduce:

  1. Follow directions from https://dxr.readthedocs.io/en/latest/getting-started.html for linux machine
  2. $ git clone https://github.com/mozilla/dxr.git
  3. $ make shell
dxr@fec8e655b61a:~/dxr$ make test
cd tooling/node && npm install
npm WARN deprecated nunjucks@2.0.0: potential XSS vulnerability in autoescape mode, and with escape filter was fixed in v2.4.3
npm WARN deprecated chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN checkPermissions Missing write access to /home/dxr/dxr/tooling/node/node_modules
DXR@2.0.0 /home/dxr/dxr/tooling/node
`-- nunjucks@2.0.0
  +-- asap@2.0.6
  +-- chokidar@1.7.0
  | +-- anymatch@1.3.2
  | | +-- micromatch@2.3.11
  | | | +-- arr-diff@2.0.0
  | | | | `-- arr-flatten@1.1.0
  | | | +-- array-unique@0.2.1
  | | | +-- braces@1.8.5
  | | | | +-- expand-range@1.8.2
  | | | | | `-- fill-range@2.2.4
  | | | | |   +-- is-number@2.1.0
  | | | | |   +-- isobject@2.1.0
  | | | | |   `-- randomatic@3.1.1
  | | | | |     +-- is-number@4.0.0
  | | | | |     +-- kind-of@6.0.3
  | | | | |     `-- math-random@1.0.4
  | | | | +-- preserve@0.2.0
  | | | | `-- repeat-element@1.1.3
  | | | +-- expand-brackets@0.1.5
  | | | | `-- is-posix-bracket@0.1.1
  | | | +-- extglob@0.3.2
  | | | +-- filename-regex@2.0.1
  | | | +-- kind-of@3.2.2
  | | | | `-- is-buffer@1.1.6
  | | | +-- object.omit@2.0.1
  | | | | +-- for-own@0.1.5
  | | | | | `-- for-in@1.0.2
  | | | | `-- is-extendable@0.1.1
  | | | +-- parse-glob@3.0.4
  | | | | +-- glob-base@0.3.0
  | | | | `-- is-dotfile@1.0.3
  | | | `-- regex-cache@0.4.4
  | | |   `-- is-equal-shallow@0.1.3
  | | |     `-- is-primitive@2.0.0
  | | `-- normalize-path@2.1.1
  | |   `-- remove-trailing-separator@1.1.0
  | +-- async-each@1.0.3
  | +-- glob-parent@2.0.0
  | +-- inherits@2.0.4
  | +-- is-binary-path@1.0.1
  | | `-- binary-extensions@1.13.1
  | +-- is-glob@2.0.1
  | | `-- is-extglob@1.0.0
  | +-- path-is-absolute@1.0.1
  | `-- readdirp@2.2.1
  |   +-- graceful-fs@4.2.4
  |   +-- micromatch@3.1.10
  |   | +-- arr-diff@4.0.0
  |   | +-- array-unique@0.3.2
  |   | +-- braces@2.3.2
  |   | | +-- extend-shallow@2.0.1
  |   | | +-- fill-range@4.0.0
  |   | | | +-- extend-shallow@2.0.1
  |   | | | +-- is-number@3.0.0
  |   | | | | `-- kind-of@3.2.2
  |   | | | +-- repeat-string@1.6.1
  |   | | | `-- to-regex-range@2.1.1
  |   | | |   `-- is-number@3.0.0
  |   | | +-- isobject@3.0.1
  |   | | +-- snapdragon-node@2.1.1
  |   | | | +-- define-property@1.0.0
  |   | | | | `-- is-descriptor@1.0.2
  |   | | | |   +-- is-accessor-descriptor@1.0.0
  |   | | | |   +-- is-data-descriptor@1.0.0
  |   | | | |   `-- kind-of@6.0.3
  |   | | | +-- isobject@3.0.1
  |   | | | `-- snapdragon-util@3.0.1
  |   | | `-- split-string@3.1.0
  |   | +-- define-property@2.0.2
  |   | | +-- is-descriptor@1.0.2
  |   | | | +-- is-accessor-descriptor@1.0.0
  |   | | | +-- is-data-descriptor@1.0.0
  |   | | | `-- kind-of@6.0.3
  |   | | `-- isobject@3.0.1
  |   | +-- extend-shallow@3.0.2
  |   | | +-- assign-symbols@1.0.0
  |   | | `-- is-extendable@1.0.1
  |   | |   `-- is-plain-object@2.0.4
  |   | |     `-- isobject@3.0.1
  |   | +-- extglob@2.0.4
  |   | | +-- define-property@1.0.0
  |   | | | `-- is-descriptor@1.0.2
  |   | | |   +-- is-accessor-descriptor@1.0.0
  |   | | |   `-- is-data-descriptor@1.0.0
  |   | | +-- expand-brackets@2.1.4
  |   | | | +-- define-property@0.2.5
  |   | | | | `-- is-descriptor@0.1.6
  |   | | | |   +-- is-accessor-descriptor@0.1.6
  |   | | | |   | `-- kind-of@3.2.2
  |   | | | |   +-- is-data-descriptor@0.1.4
  |   | | | |   | `-- kind-of@3.2.2
  |   | | | |   `-- kind-of@5.1.0
  |   | | | +-- extend-shallow@2.0.1
  |   | | | `-- posix-character-classes@0.1.1
  |   | | `-- extend-shallow@2.0.1
  |   | +-- fragment-cache@0.2.1
  |   | | `-- map-cache@0.2.2
  |   | +-- kind-of@6.0.3
  |   | +-- nanomatch@1.2.13
  |   | | +-- arr-diff@4.0.0
  |   | | +-- array-unique@0.3.2
  |   | | +-- is-windows@1.0.2
  |   | | `-- kind-of@6.0.3
  |   | +-- object.pick@1.3.0
  |   | | `-- isobject@3.0.1
  |   | +-- regex-not@1.0.2
  |   | | `-- safe-regex@1.1.0
  |   | |   `-- ret@0.1.15
  |   | +-- snapdragon@0.8.2
  |   | | +-- base@0.11.2
  |   | | | +-- cache-base@1.0.1
  |   | | | | +-- collection-visit@1.0.0
  |   | | | | | +-- map-visit@1.0.0
  |   | | | | | `-- object-visit@1.0.1
  |   | | | | |   `-- isobject@3.0.1
  |   | | | | +-- get-value@2.0.6
  |   | | | | +-- has-value@1.0.0
  |   | | | | | +-- has-values@1.0.0
  |   | | | | | | +-- is-number@3.0.0
  |   | | | | | | | `-- kind-of@3.2.2
  |   | | | | | | `-- kind-of@4.0.0
  |   | | | | | `-- isobject@3.0.1
  |   | | | | +-- isobject@3.0.1
  |   | | | | +-- set-value@2.0.1
  |   | | | | | `-- extend-shallow@2.0.1
  |   | | | | +-- to-object-path@0.3.0
  |   | | | | +-- union-value@1.0.1
  |   | | | | `-- unset-value@1.0.0
  |   | | | |   +-- has-value@0.3.1
  |   | | | |   | +-- has-values@0.1.4
  |   | | | |   | `-- isobject@2.1.0
  |   | | | |   `-- isobject@3.0.1
  |   | | | +-- class-utils@0.3.6
  |   | | | | +-- arr-union@3.1.0
  |   | | | | +-- define-property@0.2.5
  |   | | | | +-- isobject@3.0.1
  |   | | | | `-- static-extend@0.1.2
  |   | | | |   +-- define-property@0.2.5
  |   | | | |   `-- object-copy@0.1.0
  |   | | | |     +-- copy-descriptor@0.1.1
  |   | | | |     `-- define-property@0.2.5
  |   | | | +-- component-emitter@1.3.0
  |   | | | +-- define-property@1.0.0
  |   | | | | `-- is-descriptor@1.0.2
  |   | | | |   +-- is-accessor-descriptor@1.0.0
  |   | | | |   +-- is-data-descriptor@1.0.0
  |   | | | |   `-- kind-of@6.0.3
  |   | | | +-- isobject@3.0.1
  |   | | | +-- mixin-deep@1.3.2
  |   | | | | `-- is-extendable@1.0.1
  |   | | | `-- pascalcase@0.1.1
  |   | | +-- debug@2.6.9
  |   | | | `-- ms@2.0.0
  |   | | +-- define-property@0.2.5
  |   | | | `-- is-descriptor@0.1.6
  |   | | |   +-- is-accessor-descriptor@0.1.6
  |   | | |   +-- is-data-descriptor@0.1.4
  |   | | |   `-- kind-of@5.1.0
  |   | | +-- extend-shallow@2.0.1
  |   | | +-- source-map@0.5.7
  |   | | +-- source-map-resolve@0.5.3
  |   | | | +-- atob@2.1.2
  |   | | | +-- decode-uri-component@0.2.0
  |   | | | +-- resolve-url@0.2.1
  |   | | | +-- source-map-url@0.4.0
  |   | | | `-- urix@0.1.0
  |   | | `-- use@3.1.1
  |   | `-- to-regex@3.0.2
  |   `-- readable-stream@2.3.7
  |     +-- core-util-is@1.0.2
  |     +-- isarray@1.0.0
  |     +-- process-nextick-args@2.0.1
  |     +-- safe-buffer@5.1.2
  |     +-- string_decoder@1.1.1
  |     `-- util-deprecate@1.0.2
  `-- optimist@0.6.1
    +-- minimist@0.0.10
    `-- wordwrap@0.0.3

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN DXR@2.0.0 No license field.
npm ERR! Linux 3.10.0-1127.8.2.el7.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v6.17.1
npm ERR! npm  v3.10.10
npm ERR! path /home/dxr/dxr/tooling/node/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access

npm ERR! Error: EACCES: permission denied, access '/home/dxr/dxr/tooling/node/node_modules'
npm ERR!     at Error (native)
npm ERR!  { Error: EACCES: permission denied, access '/home/dxr/dxr/tooling/node/node_modules'
npm ERR!     at Error (native)
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/home/dxr/dxr/tooling/node/node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Linux 3.10.0-1127.8.2.el7.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v6.17.1
npm ERR! npm  v3.10.10
npm ERR! path npm-debug.log.1965056366
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall open

npm ERR! Error: EACCES: permission denied, open 'npm-debug.log.1965056366'
npm ERR!     at Error (native)
npm ERR!  { Error: EACCES: permission denied, open 'npm-debug.log.1965056366'
npm ERR!     at Error (native)
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'open',
npm ERR!   path: 'npm-debug.log.1965056366' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/dxr/dxr/tooling/node/npm-debug.log
make: *** [.npm_installed] Error 243
dxr@fec8e655b61a:~/dxr$

Docker version 19.03.12, build 48a66213fe
docker-compose version 1.18.0, build 8dd22a9

@erikrose
Copy link
Contributor

It's not actively maintained anymore, but thank you for the report nonetheless!

@dcsouthwick
Copy link
Author

Oh :(

If you don't mind my asking, what are people using now? Did everyone revert to LXR?

@erikrose
Copy link
Contributor

erikrose commented Jul 28, 2020 via email

@donno donno mentioned this issue Apr 27, 2021
@cknowles-admin cknowles-admin added the ARCHIVED CLOSED at time of archiving label Oct 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ARCHIVED CLOSED at time of archiving
Projects
None yet
Development

No branches or pull requests

3 participants