-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing a course with new plugins fails #1982
Comments
I had the same issue. I then attempted to import the course again, and it did import, but the plugins themselves did not, leading to a long list of errors when I attempted to preview: error: [06 Jun 2018 09:29:51 +01:00] Error: ENOENT: no such file or directory, open '/kcl_adapt/adapt_authoring/temp/59f08714bcc8a21e0388ed7b/adapt_framework/src/theme/adapt-theme-publicHealth/bower.json' |
@dancgray Thanks, it was clear, but my use of nvm not so good. Changed to node v8.4 and all is well with the world. Sorry for the false issue. |
BUG
Expected Behaviour
Import a course with new plugins. New plugins should be installed in the authoring tool and should be enabled for the imported course. Corresponding plugin attributes should be present for the imported course.
Actual Behaviour
Error is generated and the course is not imported although the new plugin is added to the AT plugin list.
Steps to Reproduce
Import a course with new plugins (tested separately with adapt-expose and adapt-hotgrid components).
Versions
Current Workaround
Additional Information
Terminal shows:
/home/ubuntu/workspace/adapt_authoring/plugins/content/bower/index.js:589
: currentUser.tenant._id.toString()
^
TypeError: Cannot read property '_id' of undefined
at /home/ubuntu/workspace/adapt_authoring/plugins/content/bower/index.js:589:37
at copyDirItems (/home/ubuntu/workspace/adapt_authoring/node_modules/fs-extra/lib/copy/copy.js:170:21)
at err (/home/ubuntu/workspace/adapt_authoring/node_modules/fs-extra/lib/copy/copy.js:181:14)
at fs.chmod.err (/home/ubuntu/workspace/adapt_authoring/node_modules/fs-extra/lib/copy/copy.js:122:12)
at /home/ubuntu/workspace/adapt_authoring/node_modules/graceful-fs/polyfills.js:239:18
at FSReqWrap.oncomplete (fs.js:123:15)
The text was updated successfully, but these errors were encountered: