bppwrite / bppwrite.github.io

https://newplays.org
0 stars 0 forks source link

wercker Build Failed #36

Closed mattbatman closed 6 years ago

mattbatman commented 6 years ago

I have not been able to reproduce this locally, but the jspm build failed for wercker.

export WERCKER_STEP_ROOT="/pipeline/script-194e49f6-3b0d-4fc0-89b2-2c8318beba5c"
export WERCKER_STEP_ID="script-194e49f6-3b0d-4fc0-89b2-2c8318beba5c"
export WERCKER_STEP_OWNER="wercker"
export WERCKER_STEP_NAME="script"
export WERCKER_REPORT_NUMBERS_FILE="/report/script-194e49f6-3b0d-4fc0-89b2-2c8318beba5c/numbers.ini"
export WERCKER_REPORT_MESSAGE_FILE="/report/script-194e49f6-3b0d-4fc0-89b2-2c8318beba5c/message.txt"
export WERCKER_REPORT_ARTIFACTS_DIR="/report/script-194e49f6-3b0d-4fc0-89b2-2c8318beba5c/artifacts"
source "/pipeline/script-194e49f6-3b0d-4fc0-89b2-2c8318beba5c/run.sh" < /dev/null
     Building the single-file sfx bundle for js/app...

err  Error on fetch for github:Mango/emitter@0.0.7.js at file:///pipeline/source/static/js/jspm_packages/github/Mango/emitter@0.0.7.js
    Loading npm:slideout@0.1.12/index.js
    Loading npm:slideout@0.1.12.js
    Loading js/app/slideout-menu.js
    Loading js/app.js
    Error: ENOENT: no such file or directory, open '/pipeline/source/static/js/jspm_packages/github/Mango/emitter@0.0.7.js'
         at Error (native)
mattbatman commented 6 years ago

Yes I can. jspm install isn't working.

mattbatman commented 6 years ago

The build is still failing. jspm install on wercker has warnings about github:Mango that I don't get locally.

export WERCKER_STEP_ROOT="/pipeline/jspm-install-1cfd3d37-d7d1-4a12-88ea-c51d4dfdc8a5"
export WERCKER_STEP_ID="jspm-install-1cfd3d37-d7d1-4a12-88ea-c51d4dfdc8a5"
export WERCKER_STEP_OWNER="nahody"
export WERCKER_STEP_NAME="jspm-install"
export WERCKER_REPORT_NUMBERS_FILE="/report/jspm-install-1cfd3d37-d7d1-4a12-88ea-c51d4dfdc8a5/numbers.ini"
export WERCKER_REPORT_MESSAGE_FILE="/report/jspm-install-1cfd3d37-d7d1-4a12-88ea-c51d4dfdc8a5/message.txt"
export WERCKER_REPORT_ARTIFACTS_DIR="/report/jspm-install-1cfd3d37-d7d1-4a12-88ea-c51d4dfdc8a5/artifacts"
source "/pipeline/jspm-install-1cfd3d37-d7d1-4a12-88ea-c51d4dfdc8a5/run.sh" < /dev/null
jspm global installation found
     Looking up npm:babel-core
     Looking up npm:babel-runtime
     Looking up npm:core-js
     Looking up npm:redux
     Looking up npm:rxjs
     Looking up npm:slideout
     Creating registry cache...
     Downloading npm:core-js@1.2.7
     Downloading npm:redux@3.7.2
     Looking up npm:lodash
     Looking up npm:lodash-es
     Looking up npm:loose-envify
     Looking up npm:symbol-observable
     Downloading npm:rxjs@5.5.6
     Downloading npm:slideout@1.0.1

warn npm dependency github:Mango/emitter@0.0.7 will likely only work if its GitHub repo has registry: npm in its package.json
     Looking up npm:decouple
     Downloading npm:babel-core@5.8.38
     Downloading npm:babel-runtime@5.8.38
     Downloading npm:loose-envify@1.3.1
     Looking up npm:js-tokens
     Downloading npm:decouple@0.0.2
     Downloading npm:symbol-observable@1.2.0
     Downloading npm:symbol-observable@1.0.1
     Downloading npm:lodash-es@4.17.7
     Downloading npm:lodash@4.17.5
     Downloading npm:js-tokens@3.0.2
     Looking up github:Mango/emitter
     Downloading github:Mango/emitter@0.0.7
ok   Installed npm:js-tokens@^3.0.0 (3.0.2)
ok   Installed npm:loose-envify@^1.1.0 (1.3.1)
ok   Installed npm:symbol-observable@1.0.1 (1.0.1)
ok   Installed npm:symbol-observable@^1.0.3 (1.2.0)
ok   Installed npm:decouple@0.0.2 (0.0.2)
     Looking up github:jspm/nodelibs-util
     Looking up github:jspm/nodelibs-fs
     Looking up github:jspm/nodelibs-process
     Looking up github:jspm/nodelibs-stream
     Looking up github:systemjs/plugin-json
     Downloading github:jspm/nodelibs-util@0.1.0
     Downloading github:jspm/nodelibs-fs@0.1.2
     Downloading github:jspm/nodelibs-process@0.1.2
     Downloading github:jspm/nodelibs-stream@0.1.0
     Looking up npm:util
     Downloading github:systemjs/plugin-json@0.1.2
     Looking up npm:process
     Looking up npm:stream-browserify
     Downloading npm:util@0.10.3
     Looking up npm:inherits
     Downloading npm:process@0.11.10
     Downloading npm:stream-browserify@1.0.0
     Looking up npm:readable-stream

warn GitHub rate limit reached.

Would you like to set up your GitHub credentials? [yes]:     Downloading npm:inherits@2.0.1
     Downloading npm:readable-stream@1.1.14
     Looking up npm:core-util-is
     Looking up npm:isarray
     Looking up npm:string_decoder
     Downloading npm:isarray@0.0.1
     Downloading npm:core-util-is@1.0.2
     Downloading npm:string_decoder@0.10.31
ok   Installed github:jspm/nodelibs-util@^0.1.0 (0.1.0)
ok   Installed github:jspm/nodelibs-process@^0.1.0 (0.1.2)
ok   Installed github:jspm/nodelibs-fs@^0.1.0 (0.1.2)
ok   Installed github:jspm/nodelibs-stream@^0.1.0 (0.1.0)
ok   Installed npm:process@^0.11.0 (0.11.10)
ok   Installed npm:inherits@2.0.1 (2.0.1)
ok   Installed npm:stream-browserify@^1.0.0 (1.0.0)
ok   Installed npm:string_decoder@~0.10.0 (0.10.31)
ok   Installed npm:isarray@0.0.1 (0.0.1)
ok   Installed npm:core-util-is@~1.0.0 (1.0.2)
ok   Installed npm:util@^0.10.3 (0.10.3)
ok   Installed npm:readable-stream@^1.0.27-1 (1.1.14)
ok   Installed babel as npm:babel-core@^5.8.24 (5.8.38)
ok   Installed npm:lodash-es@^4.2.1 (4.17.7)
ok   Installed npm:lodash@^4.2.1 (4.17.5)

warn It's taking a long time to process the dependencies of github:Mango/emitter@0.0.7.
     This package may need an ignore property to indicate test or example folders for jspm to skip.

warn Timed out on locate for github:jspm/nodelibs-assert, retrying (1).
     To increase the timeout run jspm config registries.github.timeouts.lookup 120

warn Timed out on locate for github:jspm/nodelibs-vm, retrying (1).
     To increase the timeout run jspm config registries.github.timeouts.lookup 120

warn Timed out on locate for github:jspm/nodelibs-buffer, retrying (1).
     To increase the timeout run jspm config registries.github.timeouts.lookup 120

warn Timed out on locate for github:jspm/nodelibs-path, retrying (1).
     To increase the timeout run jspm config registries.github.timeouts.lookup 120

warn Timed out on build
     To increase the timeout run jspm config registries.github.timeouts.build 240

warn Installation changes not saved.

err  Error building package github:Mango/emitter.
Finished jspm install
mattbatman commented 6 years ago

I wonder if adding something like rimraf to delete static/js/spm_packages before jspm install would solve this.

mattbatman commented 6 years ago

rimraf seemed to do the trick for now. I'm going to close this per #37, which will involve removing jspm, updating various readme files, and updating our CI steps.

marcguyer commented 6 years ago

Usually it's been a temp GitHub rate limit issue but doesn't look like it this time.

marcguyer commented 6 years ago

Actually, yeah, it is the github rate limit issue. It's always on jspm so maybe what you're doing will work around that. Otherwise, setting up github creds with the wercker setup would fix it.