adapt-security / adapt-authoring

A server-based user interface for authoring eLearning courses using the Adapt framework.
http://adaptlearning.org
10 stars 5 forks source link

npx at-confgen doesn't work #490

Closed simondate closed 1 year ago

simondate commented 2 years ago

I've tried running this command to generate a AAT configuration file but nothing appears.

Nothing appears in the registry, so I'm not sure if it's not set up yet or if I need to have some other script to run it as part of?

taylortom commented 2 years ago

Were you running this from the root of an existing install? Otherwise npx will try to pull it from GitHub (it's not a standalone tool atm, so that 404 type error is expected).

On a side-note: the script itself hadn't been updated to work with some recent changes, so have pushed a (hopefully) fixed version.

simondate commented 2 years ago

It's weird as the command works when you aren't in the repo.

I've not been able to get the installation working at the moment - I keep on getting npm errors for both headless and non-headless install.

image

Node version 16.13.1.

I'm assuming the script not working is as a result of this? Let me know if you need help testing! 😃

taylortom commented 1 year ago

Can't replicate this one.

For anyone attempting to test, you need to clone this repo, install deps (npm ci) and run:

NODE_ENV=testing npx at-confgen