Oops, somehow we ended up with package.json in the wrong directory! It should be under web. Here is a patch to fix it. I also updated the readme yarn/karma instructions.
Tira
On Wed, Mar 15, 2017 at 9:18 AM, Atira Odhner <aodhner@pivotal.io> wrote:
On Tue, Mar 14, 2017 at 8:16 PM, Atira Odhner <aodhner@pivotal.io> wrote:
Dave, try doing the yarn install and karma run from the web directory. karma cli expects karma to be under node_modules where it is run from. (which is where yarn will install it if you use yarn from the web directory). Karma also needs to be run from the directory where karma.conf is.
Still no joy:
piranha:pgadmin4 dpage$ cd web
piranha:web dpage$ yarn
yarn install v0.21.3
info No lockfile found.
[1/4] 🔍 Resolving packages...
success Nothing to install.
success Saved lockfile.
✨ Done in 0.28s.
piranha:web dpage$ npm install -g karma-cli
npm WARN checkPermissions Missing write access to /opt/local/lib/node_modules/karma-cli
npm WARN checkPermissions Missing write access to /opt/local/lib/node_modules