owncloud / updater

GNU Affero General Public License v3.0
27 stars 19 forks source link

Build script error #458

Open PVince81 opened 6 years ago

PVince81 commented 6 years ago
npm WARN saveError ENOENT: no such file or directory, open '/home/sign/administration-internal/release-scripts/temp-checkout992869/updater/build/package.json'`

@VicDeo from build script when running make dist

VicDeo commented 6 years ago

@PVince81

make dist works for the repo itself

deo@victor:~/public_html/updater> git checkout stable10
Branch stable10 set up to track remote branch stable10 from origin.
Switched to a new branch 'stable10'
deo@victor:~/public_html/updater> git pull --rebase
Already up-to-date.
deo@victor:~/public_html/updater> make clean
rm -f build/composer.phar
rm -Rf vendor/
rm -Rf pub/js/vendor/
rm -Rf build/dist
rm -Rf build
deo@victor:~/public_html/updater> make dist
mkdir build
cd build && curl -sS https://getcomposer.org/installer | php
All settings correct for using Composer
Downloading...

Composer (version 1.6.2) successfully installed to: /home/deo/public_html/updater/build/composer.phar
Use it: php composer.phar

php build/composer.phar install --no-dev
Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 11 installs, 0 updates, 0 removals
  - Installing react/promise (v2.4.1): Loading from cache
  - Installing guzzlehttp/streams (3.0.0): Loading from cache
  - Installing guzzlehttp/ringphp (1.1.0): Loading from cache
  - Installing guzzlehttp/guzzle (5.3.1): Loading from cache
  - Installing league/plates (3.1.1): Loading from cache
  - Installing paragonie/random_compat (v1.4.1): Loading from cache
  - Installing pimple/pimple (v3.0.2): Loading from cache
  - Installing psr/log (1.0.0): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.2.0): Loading from cache
  - Installing symfony/console (v2.8.11): Loading from cache
  - Installing symfony/process (v2.8.11): Loading from cache
Generating autoload files
/usr/bin/npm install --prefix build bower
npm WARN deprecated bower@1.8.2: ...psst! Your project can stop working at any moment because its dependencies can change. Prevent this by migrating to Yarn: https://bower.io/blog/2017/how-to-migrate-away-from-bower/
bower@1.8.2 build/node_modules/bower
touch build/node_modules/bower/bin/bower
build/node_modules/bower/bin/bower install
bower                     invalid-meta for:/home/deo/public_html/updater/bower.json
bower                     invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes
bower jquery#1.10.2             cached https://github.com/jquery/jquery-dist.git#1.10.2
bower jquery#1.10.2           validate 1.10.2 against https://github.com/jquery/jquery-dist.git#1.10.2
bower jquery#1.10.2            install jquery#1.10.2

jquery#1.10.2 pub/js/vendor/jquery
touch pub/js/vendor/
rm -Rf build/dist/updater; mkdir -p build/dist/updater
cp -R application.php index.php app pub src vendor COPYING-AGPL README.md build/dist/updater
find build/dist/updater/{vendor/,src/} -type d -iname Test? -print | xargs rm -Rf
find build/dist/updater/{vendor/,src/} -name travis -print | xargs rm -Rf
find build/dist/updater/{vendor/,src/} -name doc -print | xargs rm -Rf
find build/dist/updater/{vendor/,src/} -iname \*.sh -delete
find build/dist/updater/{vendor/,src/} -iname \*.exe -delete
find build/dist/updater/pub/js/vendor/jquery \! -name jquery.min.* -type f -exec rm -f {} +
find build/dist/updater/pub/js/vendor/jquery/* -type d -exec rm -rf {} +