Ran into this bug when creating theme through terminal
Drupal: 8.2.3
DrupalGap: 8.x-1.0-alpha1

./dg create theme mythemename
./dg: line 211: ${THEME_NAME^}: bad substitution

just reporting ;)

Comments

siggi_hrafn created an issue. See original summary.

tyler.frankenstein’s picture

Status: Active » Postponed (maintainer needs more info)

Hello @siggi_hrafn, thank you for braving the waters with DrupalGap 8. I've only had a chance to test the DrupalGap 8 CLI in Ubuntu. What operating system(s) are you using?

Also double check that the CLI is executable: chmod +x dg

Then if ./dg create theme mythemename doesn't work, bash dg create theme mythemename may work instead. Thoughts?

siggi_hrafn’s picture

Hi @tyler.frankenstein, thanks for the quick reply :)

I'm running Terminal on OS X 10.11.3

Had no problem creating module with CLI:

./dg create module myapp

Created module in modules/custom/myapp, next include it in the index.html file:

<script src="modules/custom/myapp/myapp.js"></script>

Only got this err on creating theme - Get same err when using bash:

bash dg create theme myapp
dg: line 211: ${THEME_NAME^}: bad substitution

Created it manually ;) - But any thoughts on this? No err on creating theme in Ubuntu?