Hi,
I have been using, ficus.2 release and enabled custom theme on it which was
working perfectly fine, but suddenly a error started coming up every time i
do :
paver update_assets lms --settings=aws
stack trace of the error is:
Successful compilations:
--- "common" sass files.
--- lms sass for <my custom theme dir>.
--- lms sass for system.
python manage.py lms --settings=aws collectstatic --noinput > /dev/null
2017-07-24 04:17:02,266 INFO 13598 [dd.dogapi] dog_stats_api.py:66 -
Initializing dog api to use statsd: localhost, 8125
2017-07-24 04:17:05,057 WARNING 13598 [py.warnings] base.py:116 -
/edx/app/edxapp/edx-platform/cms/djangoapps/course_creators/models.py:22:
RemovedInDjango19Warning: Model class course_creators.models.CourseCreator
doesn't declare an explicit app_label and either isn't in an application in
INSTALLED_APPS or else was imported before its application was loaded. This
will no longer be supported in Django 1.9.
class CourseCreator(models.Model):
pipeline.exceptions.CompressorError: /bin/sh: 1:
node_modules/.bin/uglifyjs: not found
Captured Task Output:
---------------------
---> pavelib.assets.update_assets
---> pavelib.prereqs.install_node_prereqs
xmodule_assets common/static/xmodule
mkdir_p path('common/static/common/js/vendor')
/bin/cp -rf
node_modules/backbone-validation/dist/backbone-validation-min.js
common/static/common/js/vendor
/bin/cp -rf node_modules/backbone/backbone.js common/static/common/js/vendor
/bin/cp -rf node_modules/backbone.paginator/lib/backbone.paginator.js
common/static/common/js/vendor
/bin/cp -rf
node_modules/moment-timezone/builds/moment-timezone-with-data.js
common/static/common/js/vendor
/bin/cp -rf node_modules/moment/min/moment-with-locales.js
common/static/common/js/vendor
/bin/cp -rf node_modules/jquery-migrate/dist/jquery-migrate.js
common/static/common/js/vendor
/bin/cp -rf node_modules/jquery.scrollto/jquery.scrollTo.js
common/static/common/js/vendor
/bin/cp -rf node_modules/jquery/dist/jquery.js
common/static/common/js/vendor
/bin/cp -rf node_modules/picturefill/dist/picturefill.js
common/static/common/js/vendor
/bin/cp -rf node_modules/requirejs/require.js common/static/common/js/vendor
/bin/cp -rf node_modules/underscore.string/dist/underscore.string.js
common/static/common/js/vendor
/bin/cp -rf node_modules/underscore/underscore.js
common/static/common/js/vendor
/bin/cp -rf node_modules/sinon/pkg/sinon.js common/static/common/js/vendor
---> pavelib.assets.compile_coffeescript
node_modules/.bin/coffee --compile `find /edx/app/edxapp/edx-platform/lms
/edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type
f -name "*.coffee"`
python manage.py lms --settings=aws compile_sass lms
python manage.py lms --settings=aws collectstatic --noinput > /dev/null
Build failed running pavelib.assets.update_assets: Subprocess return code: 1
What i understand by this is that ' *node_modules/.bin/uglifyjs: not found*',
so i checked the node_modules/.bin/ i could locate uglifyjs in it so , i
really dont know what was causing it.
The paver is working fine once i go and comment the line
P*IPELINE_UGLIFYJS_BINARY
= 'node_modules/.bin/uglifyjs*' in lms/envs/common.py file
So can anyone help me out to figure what i could be reason for this.
Thanks in Advance
Anand
--
You received this message because you are subscribed to the Google Groups
"General Open edX discussion" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/edx-code/c3861f2d-029d-401a-bd75-5c1957b3715f%40googlegroups.com.