Uploaded image for project: 'PUBLIC - Liferay Alloy UI'
  1. PUBLIC - Liferay Alloy UI
  2. AUI-1445

A Developer is unable to create a new module using gulp

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: master, master-deprecated
    • Fix Version/s: master, master-deprecated, 3.0.x, 3.1.x
    • Component/s: Other
    • Labels:
      None

      Description

      ➜ alloy-ui-master-deprecated git:(master-deprecated) gulp create --name "aui-token-input"
      [09:38:48] Using gulpfile ~/ALLOY/alloy-ui-master-deprecated/gulpfile.js
      [09:38:48] Starting 'create-name'...
      [?] Provide a name to your module: aui-token-input
      /Users/marc/ALLOY/alloy-ui-master-deprecated/tasks/create.js:8
      if (name.indexOf('aui-') !== 0) {
      ^
      ReferenceError: name is not defined
      at setName (/Users/marc/ALLOY/alloy-ui-master-deprecated/tasks/create.js:8:9)
      at /Users/marc/ALLOY/alloy-ui-master-deprecated/node_modules/gulp-prompt/index.js:19:5
      at Object.<anonymous> (/Users/marc/ALLOY/alloy-ui-master-deprecated/node_modules/gulp-prompt/node_modules/inquirer/lib/inquirer.js:81:7)
      at /Users/marc/ALLOY/alloy-ui-master-deprecated/node_modules/async/lib/async.js:229:13
      at /Users/marc/ALLOY/alloy-ui-master-deprecated/node_modules/async/lib/async.js:139:25
      at /Users/marc/ALLOY/alloy-ui-master-deprecated/node_modules/async/lib/async.js:226:17
      at Object.<anonymous> (/Users/marc/ALLOY/alloy-ui-master-deprecated/node_modules/gulp-prompt/node_modules/inquirer/lib/inquirer.js:89:7)
      at Object.utils.runAsync (/Users/marc/ALLOY/alloy-ui-master-deprecated/node_modules/gulp-prompt/node_modules/inquirer/lib/utils/utils.js:44:5)
      at Prompt.filter (/Users/marc/ALLOY/alloy-ui-master-deprecated/node_modules/gulp-prompt/node_modules/inquirer/lib/prompts/base.js:198:9)
      at Prompt.done (/Users/marc/ALLOY/alloy-ui-master-deprecated/node_modules/gulp-prompt/node_modules/inquirer/lib/prompts/base.js:68:10)
      ➜ alloy-ui-master-deprecated git:(master-deprecated)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 19 weeks, 6 days ago

                Packages

                Version Package
                master
                master-deprecated
                3.0.x
                3.1.x