Code Monkey home page Code Monkey logo

Comments (3)

phil-davis avatar phil-davis commented on August 12, 2024

Locally make appstore works for me:

phil@phil-Inspiron-5468:~/git/owncloud/core/apps-external/calendar$ make clean
rm -rf ./build
rm -rf css/public
rm -rf js/public
phil@phil-Inspiron-5468:~/git/owncloud/core/apps-external/calendar$ make appstore
make yarn
make[1]: Entering directory '/home/phil/git/owncloud/core/apps-external/calendar'
/home/phil/.yarn/bin/yarn run build
yarn run v1.22.18
$ yarn
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
$ node node_modules/gulp-cli/bin/gulp.js
[10:06:18] Using gulpfile ~/git/owncloud/core/apps-external/calendar/gulpfile.js
[10:06:18] Starting 'jslint'...
[10:06:18] Starting 'sync group0:0'...
[10:06:18] Starting '_buildCSSSources'...
[10:06:18] Starting 'sync group1:0'...
[10:06:18] Starting '_buildJavaScriptSources'...
[10:06:18] Starting 'sync group2:0'...
[10:06:18] Starting '_buildCSSVendor'...
[10:06:18] Starting 'sync group3:0'...
[10:06:18] Starting '_buildJavaScriptVendor'...
[10:06:18] Starting 'sync group4:0'...
[10:06:18] Starting '_buildIEJavaScriptVendor'...
[10:06:18] Finished '_buildCSSVendor' after 519 ms
[10:06:18] Finished 'sync group2:0' after 519 ms
[10:06:18] Starting 'sync group2:1'...
[10:06:18] Starting '_minifyCSSVendor'...
[10:06:19] Finished '_buildCSSSources' after 792 ms
[10:06:19] Finished 'sync group0:0' after 792 ms
[10:06:19] Starting 'sync group0:1'...
[10:06:19] Starting '_minifyCSSSources'...
[10:06:19] Finished '_minifyCSSVendor' after 295 ms
[10:06:19] Finished 'sync group2:1' after 296 ms
[10:06:19] Starting '_buildAndMinifyCSSVendor'...
[10:06:19] Finished '_buildAndMinifyCSSVendor' after 43 μs
[10:06:19] Finished '_minifyCSSSources' after 184 ms
[10:06:19] Finished 'sync group0:1' after 184 ms
[10:06:19] Starting '_buildAndMinifyCSSSources'...
[10:06:19] Finished '_buildAndMinifyCSSSources' after 2.96 μs
[10:06:20] Finished '_buildJavaScriptSources' after 2.16 s
[10:06:20] Finished 'sync group1:0' after 2.16 s
[10:06:20] Starting 'sync group1:1'...
[10:06:20] Starting '_minifyJavaScriptSources'...
[10:06:22] Finished '_minifyJavaScriptSources' after 2.26 s
[10:06:22] Finished 'sync group1:1' after 2.26 s
[10:06:22] Starting '_buildAndMinifyJavaScriptSources'...
[10:06:22] Finished '_buildAndMinifyJavaScriptSources' after 1.86 μs
[10:06:22] Starting '_buildSource'...
[10:06:22] Finished '_buildSource' after 1.73 μs
[10:06:23] Finished '_buildJavaScriptVendor' after 4.72 s
[10:06:23] Finished 'sync group3:0' after 4.72 s
[10:06:23] Starting 'sync group3:1'...
[10:06:23] Starting '_minifyJavaScriptVendor'...
[10:06:23] Finished 'jslint' after 4.79 s
[10:06:23] Starting 'lint'...
[10:06:23] Finished 'lint' after 3.82 μs
[10:06:23] Finished '_buildIEJavaScriptVendor' after 4.79 s
[10:06:23] Finished 'sync group4:0' after 4.8 s
[10:06:23] Starting 'sync group4:1'...
[10:06:23] Starting '_minifyIEJavaScriptVendor'...
[10:06:34] Finished '_minifyJavaScriptVendor' after 11 s
[10:06:34] Finished 'sync group3:1' after 11 s
[10:06:34] Starting '_buildAndMinifyJavaScriptVendor'...
[10:06:34] Finished '_buildAndMinifyJavaScriptVendor' after 2.73 μs
[10:06:46] Finished '_minifyIEJavaScriptVendor' after 24 s
[10:06:46] Finished 'sync group4:1' after 24 s
[10:06:46] Starting '_buildAndMinifyIEJavaScriptVendor'...
[10:06:46] Finished '_buildAndMinifyIEJavaScriptVendor' after 2.55 μs
[10:06:46] Starting '_buildVendor'...
[10:06:46] Finished '_buildVendor' after 1.09 μs
[10:06:46] Starting 'default'...
[10:06:46] Finished 'default' after 1.04 μs
Done in 30.56s.
make[1]: Leaving directory '/home/phil/git/owncloud/core/apps-external/calendar'
rm -rf /home/phil/git/owncloud/core/apps-external/calendar/build/appstore/calendar /home/phil/git/owncloud/core/apps-external/calendar/build/artifacts/appstore
mkdir -p /home/phil/git/owncloud/core/apps-external/calendar/build/appstore/calendar /home/phil/git/owncloud/core/apps-external/calendar/build/artifacts/appstore
cp --parents -r \
"appinfo" \
"controller" \
"http" \
"img" \
"l10n" \
"templates" \
"css/public" \
"js/public" \
"COPYING" \
"CHANGELOG.md" \
/home/phil/git/owncloud/core/apps-external/calendar/build/appstore/calendar
Skipping signing, either no key and certificate found in /home/phil/.owncloud/certificates/calendar.key and /home/phil/.owncloud/certificates/calendar.crt or occ can not be found at /home/phil/git/owncloud/core/apps-external/calendar/../../occ
tar -czf /home/phil/git/owncloud/core/apps-external/calendar/build/artifacts/appstore/calendar.tar.gz -C /home/phil/git/owncloud/core/apps-external/calendar/build/appstore/calendar/../ calendar

And make source also works, and make dist does:

# Builds the source and appstore package
.PHONY: dist
dist:
	make source
	make appstore

I don't know if the problem is related to yarn 1.22.5 on that signing system, or some other difference??

And I don't know which of the Makefile targets is really supposed to be used - Makefile has various "make" targets in it, and I guess there is some history of evolution of this app.

@jnweiger I am not sure what I can do to help.

from calendar.

jnweiger avatar jnweiger commented on August 12, 2024

Will try the appstore target. thanks.I believe the buildApp script uses make dist by default.

from calendar.

jnweiger avatar jnweiger commented on August 12, 2024

New node and old gulp seems to be a problem:
https://stackoverflow.com/questions/55921442/how-to-fix-referenceerror-primordials-is-not-defined-in-node-js#55926692

This workaround suggested there works for me:
Add to package.json

  "resolutions": { "graceful-fs": "^4.2.9" }

from calendar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.