I tested things myself, and I see no problems. My guess is that you are either not using
grunt create-sim, or you edited (and broke) something related to the title string.
(1) I created the sim using this command:
% cd perennial
% grunt create-sim --repo=Numerical-Differentiation --author="CM"
Then I immedidate tested it, and it builds fine:
% cd ../Numerical-Differentiation
% grunt build --brands=adapted-from-phet
Running "build" task
Building runnable repository (Numerical-Differentiation, brands: adapted-from-phet)
Building brand: adapted-from-phet
>> Webpack build complete: 1706ms
Did not find git information for Numerical-Differentiation
>> Production minification complete: 11508ms (1231033 bytes)
>> Debug minification complete: 0ms (4959446 bytes)
(2) Numerical-Differentiation-main.js is generated with code to access the title string. This is the relevant line:
const numericalDifferentiationTitleString = numericalDifferentiationStrings[ 'Numerical-Differentiation' ].title;
(3) Numerical-Differentiation-strings_en.json is generated a default title string. This is the complete contents of the file:
{
"Numerical-Differentiation.title": {
"value": "Numerical Differentiation"
}
}
Chris Malley
PixelZoom, Inc.