Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-1736

aloy new fails if dev dependencies do not exist in package.Json

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: CLI Release 8.1.0
    • Component/s: Runtime
    • Labels:
      None
    • Environment:

      Description

      If dev dependencies are missing or do not exist in the package.json the following error is seen:

      [INFO]  Project created successfully in 19s 632ms
      [ERROR] An unknown error occurred
      [ERROR] Cannot read property '@titanium-sdk/webpack-plugin-classic' of undefined
       
       
       
      2020-08-07T12:53:40.708Z | ERROR  | Command failed: "C:\Program Files\nodejs\node.exe" "C:\Users\APPC\.appcelerator\install\8.1.0-master.9\package\node_modules\alloy\bin\alloy" new --force . webpack-default
      [ERROR] An unknown error occurred
      [ERROR] Cannot read property '@titanium-sdk/webpack-plugin-classic' of undefined
      

        Attachments

          Activity

            People

            • Assignee:
              eharris Ewan Harris
              Reporter:
              smohammed Samir Mohammed
              Tester:
              Samir Mohammed
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration