You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting an ENOENT error when trying to run the install command over an existing FW (I haven't encountered this error before because the AAT purged the existing FW folder prior to running the CLI API).
This is being caused by attempts to delete files that have already been removed after their parent dir has been removed.
Some possible solutions:
Just call fs.remove on cwd (fs-extra version is recursive by default)
Glob changed to only search the first level (i.e. *)
Add setting nodir to ignore directories in glob results
Remove recursive option from fs.rm call (will also likely need glob nodir option in this case)
Your environment
CLI v3.0.11
Additionally, the log messages are all related to 'course', I suspect this needs to be updated..?
The text was updated successfully, but these errors were encountered:
See https://github.com/adaptlearning/adapt-cli/blob/master/lib/integration/AdaptFramework/erase.js#L25-L33.
I'm getting an
ENOENT
error when trying to run the install command over an existing FW (I haven't encountered this error before because the AAT purged the existing FW folder prior to running the CLI API).This is being caused by attempts to delete files that have already been removed after their parent dir has been removed.
Some possible solutions:
fs.remove
oncwd
(fs-extra version is recursive by default)*
)nodir
to ignore directories in glob resultsrecursive
option fromfs.rm
call (will also likely need globnodir
option in this case)Your environment
Additionally, the log messages are all related to 'course', I suspect this needs to be updated..?
The text was updated successfully, but these errors were encountered: