Fail at building standalone simulations

Skip to first unread message


Sep 6, 2022, 9:49:54 AM9/6/22
to Developing Interactive Simulations in HTML5
Hi, I just start learning this wonderful tool.
I watch PhET Development Overview to build the project
while I trying to build standalone files I encountered this error:

Running "build" task
Fatal error: Perennial task failed:
Error: ENOENT: no such file or directory, open '../chipper/dist/js/phet-io-wrappers/common/js/Client.js'
    at Object.openSync (node:fs:585:3)
    at Object.readFileSync (node:fs:453:35)
    at Object.<anonymous> (C:\Users\Kaz\Documents\GitHub\demo-phet\chipper\js\grunt\copySupplementalPhetioFiles.js:85:12)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (C:\Users\Kaz\Documents\GitHub\demo-phet\chipper\js\grunt\buildRunnable.js:17:37)
Full Error details:
Error: ENOENT: no such file or directory, open '../chipper/dist/js/phet-io-wrappers/common/js/Client.js'

Any advice is much appreciated. 
Thanks & Regards,


Sep 7, 2022, 10:24:51 AM9/7/22
to Developing Interactive Simulations in HTML5
Greetings, thanks for the error report.  I believe we have solved the problem in and and  Can you please pull the changes and try again? Also, it was unclear if you were using `grunt --brands=adapted-from-phet` but specifying that brand will likely help.

Best Regards,

Dhirendra Tiwari

Sep 7, 2022, 11:31:54 AM9/7/22
to samrreid, Developing Interactive Simulations in HTML5
Can we have some examples on youtube?   E.g., I find the PHET refraction of light simulation very interesting. Is there an easy way to change colours, font sizes and backgrounds?
A veteran PHET programmer can make a series of simple youtube videos to modify a few things at first. At first view, it seems like a not-so-open community.

You received this message because you are subscribed to the Google Groups "Developing Interactive Simulations in HTML5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Kathy Perkins

Sep 8, 2022, 10:36:51 AM9/8/22
to Developing Interactive Simulations in HTML5
Hi there, 

As Director of the PhET project, I want to take a moment to reply to your comment about a "not-so-open community". Our project is dedicated to providing openly licensed simulations, and you can find those on our website - used 250 million times per year globally. The PhET simulation code is necessarily complex, but powerful. We use an open license with the code so that others can leverage our libraries, but we are largely grant-funded and are a small team, so our focus is necessarily on moving our grant work forward, producing simulations, and making those available for the world. We do our best to address reported problems in using our code, but at the moment, we have very limited resources to provide additional support.

This week we received a new grant to begin to evaluate the prospects of fostering an active open development community around the code base itself. So your interest in the code is well timed. Please email to introduce yourself and where your interests lie in participating in an open community around the PhET codebase, and we will pass it onto the grant team. 

Best, Kathy Perkins 
Director, PhET Interactive Simulations
Reply all
Reply to author
0 new messages