Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-9222

When using web pack the node modules folder is flagged as showing errors

    Details

    • Type: Bug
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: Release 6.0.0
    • Fix Version/s: None
    • Component/s: Editor
    • Labels:
      None
    • Environment:

      Description

      When adding a webpack project to studio, the editor flags some of the JS files within the node modules as errors. This may be due to the editor not fully supporting newer JS standards like ES6. It may be a better idea to stop Studio from looking in the node_modules directory.

      Test Steps:

      1. Create a Titanium application
      2. Make sure you build and use the SDK from this PR (https://github.com/appcelerator/titanium_mobile/pull/11346)
      3. Migrate it to use webpack (https://github.com/appcelerator/appcd-plugin-webpack/blob/develop/migration.md#code-migration)
      4. Press Save and run application

      Note: If you do not wish to migrate an application you can run a webpack version of the KitchenSink-v2 app (https://github.com/janvennemann/kitchensink-v2/tree/webpack)

      Actual result
      Editor shows multiple errors in JS files within the node modules directory.

      Expected result
      Project should display no errors.

        Attachments

          Activity

            People

            • Assignee:
              cwilliams Christopher Williams
              Reporter:
              smohammed Samir Mohammed
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: