Skip to content
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

Build script error #458

Open
PVince81 opened this issue Jan 25, 2018 · 1 comment
Open

Build script error #458

PVince81 opened this issue Jan 25, 2018 · 1 comment

Comments

@PVince81
Copy link
Contributor

PVince81 commented Jan 25, 2018

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
Copy link
Member

VicDeo commented Jan 25, 2018

@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 [email protected]: ...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/
[email protected] 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 {} +

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants