Closed mattpen closed 1 year ago
I did a git pull, npm prune, and npm update in perennial on phet-server2 and then restarted the build-server. I attempted to rebuild balloons-and-static-electricity, but encountered an error on my development machine:
[~/phet/git/perennial]$ grunt production --branch=1.5 --repo=balloons-and-static-electricity --brands=phet
...
Fatal error: Perennial task failed:
Error: grunt --brands=phet --locales=en --allHTML --debugHTML in ../balloons-and-static-electricity failed with exit code 1
stdout:
Running "lint-all" task
Running "report-media" task
Running "clean" task
Running "build" task
Building runnable repository (balloons-and-static-electricity, brands: phet)
Building brand: phet
>> Webpack build complete: 3210ms
Fatal error: Perennial task failed:
AssertionError [ERR_ASSERTION]: repo .. missing from package.json's phetLibs for ../../package.json
at /Users/matt/phet/git/chipper/js/grunt/buildRunnable.js:130:5
at Array.forEach (<anonymous>)
at module.exports (/Users/matt/phet/git/chipper/js/grunt/buildRunnable.js:124:29)
at async /Users/matt/phet/git/chipper/js/grunt/Gruntfile.js:287:11
at async wrap (/Users/matt/phet/git/chipper/js/grunt/Gruntfile.js:73:7)
Full Error details:
AssertionError [ERR_ASSERTION]: repo .. missing from package.json's phetLibs for ../../package.json
at ChildProcess.<anonymous> (/Users/matt/phet/git/perennial/js/common/execute.js:89:21)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1091:16)
at Socket.<anonymous> (node:internal/child_process:449:11)
at Socket.emit (node:events:513:28)
at Pipe.<anonymous> (node:net:313:12)
Full Error details:
Error: grunt --brands=phet --locales=en --allHTML --debugHTML in ../balloons-and-static-electricity failed with exit code 1
stdout:
Running "lint-all" task
Running "report-media" task
Running "clean" task
Running "build" task
Building runnable repository (balloons-and-static-electricity, brands: phet)
Building brand: phet
>> Webpack build complete: 3210ms
Fatal error: Perennial task failed:
AssertionError [ERR_ASSERTION]: repo .. missing from package.json's phetLibs for ../../package.json
at /Users/matt/phet/git/chipper/js/grunt/buildRunnable.js:130:5
at Array.forEach (<anonymous>)
at module.exports (/Users/matt/phet/git/chipper/js/grunt/buildRunnable.js:124:29)
at async /Users/matt/phet/git/chipper/js/grunt/Gruntfile.js:287:11
at async wrap (/Users/matt/phet/git/chipper/js/grunt/Gruntfile.js:73:7)
Full Error details:
AssertionError [ERR_ASSERTION]: repo .. missing from package.json's phetLibs for ../../package.json
It looks like the things that failed are:
@jonathanolson @mattpen and I determined that this would be solved if we apply the changes from https://github.com/phetsims/chipper/issues/114 over to every release branch. We will report back!
Looks like it is working well. Closing
This problem caused 13 failures last night:
Affected sims: graphing-quadratics geometric-optics density fourier-making-waves forces-and-motion-basics equality-explorer color-vision collision-lab circuit-construction-kit-dc-virtual-lab circuit-construction-kit-dc circuit-construction-kit-ac-virtual-lab circuit-construction-kit-ac balloons-and-static-electricity
Looks like this also affected faradays-law, but the build-server did not send an email.
@jonathanolson @zepumph - any ideas what went wrong here?