I am attempting to move my development code to our test server (which is setup as a ‘prod’ environment).
Last time I did this (2.1.8) with your help I created a wheel file and then pip installed it into the test server and all was fine.
We are currently running 2.1.9 (with an upgrade to 2.1.11 planned) and I wish to again deploy to the test server.
I will be deploying over a 2.1.8 installation.
When I run build-wheel.py on my dev machine I get the following, and my dist folder is empty, and I cannot seem to find any wheel file - but it has aborted!!!
Can you offer any guidance / tell me where I have gone wrong / where the wheel file is please?
P.S. I do notice when looking via eclipse workbench at src level I have a package-lock.json file with a question make beside it (i.e. not checked in anywhere) – may be red herring?? Or do I need to do something with this?
(env) [indico@dev-events02 src]$ ./bin/maintenance//build-wheel.py indico
Error: setup_deps failed
npm WARN saveError ENOENT: no such file or directory, open ‘/opt/indico/dev/indico/src/package.json’
npm WARN enoent ENOENT: no such file or directory, open ‘/opt/indico/dev/indico/src/package.json’
npm WARN src No description
npm WARN src No repository field.
npm WARN src No README data
npm WARN src No license field.
updated 1 package and audited 5440 packages in 1.689s
found 0 vulnerabilities
/bin/sh: line 0: cd: /opt/indico/dev/indico/src/ext_modules/dropzone: No such file or directory
Fatal error: local() encountered an error (return code 1) while executing ‘mkdir -p /opt/indico/dev/indico/src/indico/htdocs/js/lib/dropzone.js/ /opt/indico/dev/indico/src/indico/htdocs/css/lib/dropzone.js/’
[localhost] local: pwd
[localhost] local: git submodule init
[localhost] local: git submodule sync
[localhost] local: git submodule update --init --recursive
[localhost] local: which curl > /dev/null && echo ? [localhost] local: npm install grunt-cli --prefix (pwd)
Installing asset dependencies…
[localhost] local: mkdir -p /opt/indico/dev/indico/src/indico/htdocs/js/lib/dropzone.js/ /opt/indico/dev/indico/src/indico/htdocs/css/lib/dropzone.js/
(env) [indico@dev-events02 src]$