Unexpected end of JSON input while parsing near '...,"coffeescript":"^1.1'
Expected Behavior
Success
Actual Behavior
On 847f8fdf46aa04d3cf314fa3527d7b16e130349c, with an empty Docker cache and:
$ make info
.:: OPENEDX-DOCKER ::.
== Active configuration ==
* EDX_RELEASE : eucalyptus.3
* FLAVOR : bare
* FLAVORED_EDX_RELEASE_PATH : releases/eucalyptus/3/bare
* EDX_RELEASE_REF : open-release/eucalyptus.3
* EDX_ARCHIVE_URL : https://github.com/edx/edx-platform/archive/open-release/eucalyptus.3.tar.gz
* EDX_DEMO_RELEASE_REF : open-release/eucalyptus.3
* EDX_DEMO_ARCHIVE_URL : https://github.com/edx/edx-demo-course/archive/open-release/eucalyptus.3.tar.gz
* REDIS_SERVICE : redis
* EDXAPP_IMAGE_NAME : edxapp
* EDXAPP_IMAGE_TAG : eucalyptus.3-bare
* EDXAPP_NGINX_IMAGE_NAME : edxapp-nginx
$ docker --version ; docker-compose --version
Docker version 19.03.13, build 4484c46d9d
docker-compose version 1.27.3, build 4092ae5d
Step 43/80 : RUN npm install
---> Running in 9d9a12a108e9
npm WARN deprecated [email protected]: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm WARN deprecated [email protected]: This reporter is now deprecated and will no longer be supported by the Pa11y team. Please refer to the Pa11y migration guide or README to update your project.
npm WARN deprecated [email protected]: This module is no longer maintained, try this instead:
npm WARN deprecated npm i nyc
npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: This package is unmaintained. Use @sinonjs/formatio instead
npm WARN deprecated [email protected]: This package has been deprecated in favour of @sinonjs/samsam
npm WARN deprecated [email protected]: This package has been deprecated in favour of @sinonjs/samsam
npm ERR! Unexpected end of JSON input while parsing near '...,"coffeescript":"^1.1'
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-09-30T03_48_24_981Z-debug.log
ERROR: Service 'lms' failed to build : The command '/bin/sh -c npm install' returned a non-zero code: 1
Makefile:143: recipe for target 'build' failed
make: *** [build] Error 1
Hi @SamuelMarks :wave: Thanks for the report. As eucalyptus is rather old, it's hard to deal with front-end dependencies. Questions:
- Have you set your environment to build eucalyptus specifically or is it the default behavior on your system?
- Are you sure you need to build this release? Have you tried our latest official build [1]?
[1] https://hub.docker.com/layers/fundocker/edxapp/eucalyptus.3-1.2.0/images/sha256-f23fc4863af209b52c0916d4a51df72d275625b69dff0f274d77f741951a2568?context=explore
@jmaupetit - I'm not interested in running it at all [really]. My goal is to restore my old Eucalyptus backups, restore to the next version, and continue along this path all the way to Juniper.
I've got 4 backups from various Open edX versions; and want to upgrade everything to Juniper
Once this is done, I want to merge all versions of the course into one, and then I'll upgrade my Jupyter Notebook that does the post-hoc statistical analysis (I'll open-source this once it's generic enough 🤖)
Thanks for getting back to me so quickly
PS: No custom XBlocks or ORAs; just vanilla Open edX install.
I see. Unfortunately in this repo some release are missing along the path from eucalyptus to juniper...
@jmaupetit Yeah I was worried about that, so I rewrote it for a native install: https://github.com/offscale/offregister-openedx/blob/master/offregister_openedx/ubuntu/fun_bare.py …
Can you send through the settings file(s) it expects?
The last time I gave it a shot I got stuck with:
ImportError: No module named proj.settings