René's URL Explorer Experiment


Title: Tns run android --env.uglify error · Issue #1153 · NativeScript/nativescript-dev-webpack · GitHub

Open Graph Title: Tns run android --env.uglify error · Issue #1153 · NativeScript/nativescript-dev-webpack

X Title: Tns run android --env.uglify error · Issue #1153 · NativeScript/nativescript-dev-webpack

Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 7 Cross-platform modules:7.1.0 Android Runt...

Open Graph Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 7 C...

X Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 7 C...

Opengraph URL: https://github.com/NativeScript/nativescript-dev-webpack/issues/1153

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tns run android --env.uglify error","articleBody":"**Environment**\r\nProvide version numbers for the following components (information can be retrieved by running `tns info` in your project folder or by inspecting the `package.json` of the project):\r\n - CLI: 7\r\n - Cross-platform modules:7.1.0\r\n - Android Runtime:7.0.1\r\n - iOS Runtime:\r\n - Plugin(s):\r\n - Node.js:14.15.0\r\n \r\n - [ ] Please, attach your package.json and webpack.config.js as these configurations are usually critical for investigating issues with webpack \r\n\r\n- Package.json `{\r\n  \"name\": \"@nativescript/template-drawer-navigation-ng\",\r\n  \"main\": \"main.js\",\r\n  \"displayName\": \"Navigation Drawer\",\r\n  \"templateType\": \"App template\",\r\n  \"version\": \"7.0.6\",\r\n  \"description\": \"NativeScript Application\",\r\n  \"author\": \"NativeScript Team \u003coss@nativescript.org\u003e\",\r\n  \"license\": \"SEE LICENSE IN \u003cyour-license-filename\u003e\",\r\n  \"publishConfig\": {\r\n    \"access\": \"public\"\r\n  },\r\n  \"keywords\": [\r\n    \"nstudio\",\r\n    \"nativescript\",\r\n    \"mobile\",\r\n    \"angular\",\r\n    \"{N}\",\r\n    \"tns\",\r\n    \"template\",\r\n    \"drawer\",\r\n    \"navigation\",\r\n    \"category-general\"\r\n  ],\r\n  \"repository\": \"\u003cfill-your-repository-here\u003e\",\r\n  \"homepage\": \"https://github.com/NativeScript/nativescript-app-templates\",\r\n  \"bugs\": {\r\n    \"url\": \"https://github.com/NativeScript/NativeScript/issues\"\r\n  },\r\n  \"scripts\": {\r\n    \"lint\": \"tslint \\\"src/**/*.ts\\\"\"\r\n  },\r\n  \"dependencies\": {\r\n    \"@angular/animations\": \"~11.0.0\",\r\n    \"@angular/common\": \"~11.0.0\",\r\n    \"@angular/compiler\": \"~11.0.0\",\r\n    \"@angular/core\": \"~11.0.0\",\r\n    \"@angular/forms\": \"~11.0.0\",\r\n    \"@angular/platform-browser\": \"~11.0.0\",\r\n    \"@angular/platform-browser-dynamic\": \"~11.0.0\",\r\n    \"@angular/router\": \"~11.0.0\",\r\n    \"@nativescript-community/ui-material-bottomsheet\": \"^5.2.7\",\r\n    \"@nativescript-community/ui-material-floatingactionbutton\": \"^5.2.8\",\r\n    \"@nativescript-community/ui-material-snackbar\": \"^5.2.5\",\r\n    \"@nativescript/angular\": \"~11.0.0\",\r\n    \"@nativescript/background-http\": \"^5.0.0\",\r\n    \"@nativescript/camera\": \"^5.0.8\",\r\n    \"@nativescript/core\": \"~7.1.0\",\r\n    \"@nativescript/datetimepicker\": \"^2.0.4\",\r\n    \"@nativescript/imagepicker\": \"^1.0.3\",\r\n    \"@nativescript/theme\": \"^2.3.4\",\r\n    \"@nativescript/types\": \"^7.2.0\",\r\n    \"@nstudio/nativescript-cardview\": \"^2.0.1\",\r\n    \"@nstudio/nativescript-loading-indicator\": \"^4.0.0\",\r\n    \"nativescript-geolocation\": \"^5.1.0\",\r\n    \"nativescript-google-maps-sdk\": \"^3.0.2\",\r\n    \"nativescript-ui-listview\": \"^9.1.0\",\r\n    \"nativescript-ui-sidedrawer\": \"~9.0.0\",\r\n    \"reflect-metadata\": \"~0.1.12\",\r\n    \"rxjs\": \"^6.6.0\",\r\n    \"zone.js\": \"~0.11.1\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"@angular/cli\": \"^10.2.0\",\r\n    \"@angular/compiler-cli\": \"~11.0.0\",\r\n    \"@nativescript/android\": \"7.0.1\",\r\n    \"@nativescript/schematics\": \"^11.0.0\",\r\n    \"@nativescript/webpack\": \"~4.0.0\",\r\n    \"@ngtools/webpack\": \"~11.0.0\",\r\n    \"codelyzer\": \"~6.0.0\",\r\n    \"node-sass\": \"^4.14.1\",\r\n    \"tslint\": \"~6.1.3\",\r\n    \"typescript\": \"~4.0.0\"\r\n  },\r\n  \"private\": \"true\",\r\n  \"readme\": \"NativeScript Application\"\r\n}\r\n`\r\n\r\n- webpack.config.js : `const { join, relative, resolve, sep, dirname } = require('path');\r\nconst fs = require('fs');\r\n\r\nconst webpack = require('webpack');\r\nconst nsWebpack = require('@nativescript/webpack');\r\nconst nativescriptTarget = require('@nativescript/webpack/nativescript-target');\r\nconst {\r\n  nsSupportHmrNg\r\n} = require('@nativescript/webpack/transformers/ns-support-hmr-ng');\r\nconst { nsTransformNativeClassesNg } = require(\"@nativescript/webpack/transformers/ns-transform-native-classes-ng\");\r\nconst {\r\n  parseWorkspaceConfig, hasConfigurations\r\n} = require('@nativescript/webpack/helpers/angular-config-parser');\r\nconst {\r\n  getMainModulePath\r\n} = require('@nativescript/webpack/utils/ast-utils');\r\nconst { getNoEmitOnErrorFromTSConfig, getCompilerOptionsFromTSConfig } = require(\"@nativescript/webpack/utils/tsconfig-utils\");\r\nconst { CleanWebpackPlugin } = require('clean-webpack-plugin');\r\nconst CopyWebpackPlugin = require('copy-webpack-plugin');\r\nconst { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');\r\nconst {\r\n  NativeScriptWorkerPlugin\r\n} = require('nativescript-worker-loader/NativeScriptWorkerPlugin');\r\nconst TerserPlugin = require('terser-webpack-plugin');\r\nconst {\r\n  getAngularCompilerPlugin\r\n} = require('@nativescript/webpack/plugins/NativeScriptAngularCompilerPlugin');\r\nconst hashSalt = Date.now().toString();\r\n\r\nmodule.exports = env =\u003e {\r\n  // Add your custom Activities, Services and other Android app components here.\r\n  const appComponents = [\r\n    \"@nativescript/core/ui/frame\", \"@nativescript/core/ui/frame/activity\"\r\n  ];\r\n\r\n  const platform = env \u0026\u0026 ((env.android \u0026\u0026 'android') || (env.ios \u0026\u0026 'ios'));\r\n  if (!platform) {\r\n    throw new Error('You need to provide a target platform!');\r\n  }\r\n\r\n  const AngularCompilerPlugin = getAngularCompilerPlugin(platform);\r\n  const projectRoot = __dirname;\r\n\r\n  // Default destination inside platforms/\u003cplatform\u003e/...\r\n  const dist = resolve(\r\n    projectRoot,\r\n    nsWebpack.getAppPath(platform, projectRoot)\r\n  );\r\n\r\n  const {\r\n    // The 'appPath' and 'appResourcesPath' values are fetched from\r\n    // the nsconfig.json configuration file\r\n    // when bundling with `tns run android|ios --bundle`.\r\n    appPath = 'src',\r\n    appResourcesPath = 'App_Resources',\r\n\r\n    // You can provide the following flags when running 'tns run android|ios'\r\n    snapshot, // --env.snapshot,\r\n    production, // --env.production\r\n    configuration, // --env.configuration (consistent with angular cli usage)\r\n    projectName, // --env.projectName (drive configuration through angular projects)\r\n    uglify, // --env.uglify\r\n    report, // --env.report\r\n    sourceMap, // --env.sourceMap\r\n    hiddenSourceMap, // --env.hiddenSourceMap\r\n    hmr, // --env.hmr,\r\n    unitTesting, // --env.unitTesting\r\n    testing, // --env.testing\r\n    verbose, // --env.verbose\r\n    ci, // --env.ci\r\n    snapshotInDocker, // --env.snapshotInDocker\r\n    skipSnapshotTools, // --env.skipSnapshotTools\r\n    compileSnapshot // --env.compileSnapshot\r\n  } = env;\r\n\r\n  const { fileReplacements, copyReplacements } = parseWorkspaceConfig(platform, configuration, projectName);\r\n\r\n  const useLibs = compileSnapshot;\r\n  const isAnySourceMapEnabled = !!sourceMap || !!hiddenSourceMap;\r\n  const externals = nsWebpack.getConvertedExternals(env.externals);\r\n  const appFullPath = resolve(projectRoot, appPath);\r\n  const appResourcesFullPath = resolve(projectRoot, appResourcesPath);\r\n  let tsConfigName = 'tsconfig.json';\r\n  let tsConfigPath = resolve(projectRoot, tsConfigName);\r\n  const tsConfigTnsName = 'tsconfig.tns.json';\r\n  const tsConfigTnsPath = resolve(projectRoot, tsConfigTnsName);\r\n  if (fs.existsSync(tsConfigTnsPath)) {\r\n    // support shared angular app configurations \r\n    tsConfigName = tsConfigTnsName;\r\n    tsConfigPath = tsConfigTnsPath;\r\n  }\r\n  const tsConfigEnvName = 'tsconfig.env.json';\r\n  const tsConfigEnvPath = resolve(projectRoot, tsConfigEnvName);\r\n  if (hasConfigurations(configuration) \u0026\u0026 fs.existsSync(tsConfigEnvPath)) {\r\n    // when configurations are used, switch to environments supported config\r\n    tsConfigName = tsConfigEnvName;\r\n    tsConfigPath = tsConfigEnvPath;\r\n  }\r\n  const entryModule = `${nsWebpack.getEntryModule(appFullPath, platform)}.ts`;\r\n  const entryPath = `.${sep}${entryModule}`;\r\n  const entries = { bundle: entryPath };\r\n  const areCoreModulesExternal =\r\n    Array.isArray(env.externals) \u0026\u0026\r\n    env.externals.some(e =\u003e e.indexOf('@nativescript') \u003e -1);\r\n  if (platform === 'ios' \u0026\u0026 !areCoreModulesExternal \u0026\u0026 !testing) {\r\n    entries['tns_modules/@nativescript/core/inspector_modules'] =\r\n      'inspector_modules';\r\n  }\r\n\r\n  const compilerOptions = getCompilerOptionsFromTSConfig(tsConfigPath);\r\n  nsWebpack.processTsPathsForScopedModules({ compilerOptions });\r\n  nsWebpack.processTsPathsForScopedAngular({ compilerOptions });\r\n\r\n  const ngCompilerTransformers = [nsTransformNativeClassesNg];\r\n  const additionalLazyModuleResources = [];\r\n\r\n  const copyIgnore = { ignore: [`${relative(appPath, appResourcesFullPath)}/**`] };\r\n  const copyTargets = [\r\n    { from: { glob: 'assets/**', dot: false } },\r\n    { from: { glob: 'fonts/**', dot: false } },\r\n    ...copyReplacements,\r\n  ];\r\n\r\n  if (!production) {\r\n    // for development purposes only\r\n    // for example, include mock json folder\r\n    // copyTargets.push({ from: 'tools/mockdata', to: 'assets/mockdata' });\r\n\r\n    if (hmr) {\r\n      ngCompilerTransformers.push(nsSupportHmrNg);\r\n    }\r\n  }\r\n\r\n  // when \"@angular/core\" is external, it's not included in the bundles. In this way, it will be used\r\n  // directly from node_modules and the Angular modules loader won't be able to resolve the lazy routes\r\n  // fixes https://github.com/NativeScript/nativescript-cli/issues/4024\r\n  if (env.externals \u0026\u0026 env.externals.indexOf('@angular/core') \u003e -1) {\r\n    const appModuleRelativePath = getMainModulePath(\r\n      resolve(appFullPath, entryModule),\r\n      tsConfigName\r\n    );\r\n    if (appModuleRelativePath) {\r\n      const appModuleFolderPath = dirname(\r\n        resolve(appFullPath, appModuleRelativePath)\r\n      );\r\n      // include the new lazy loader path in the allowed ones\r\n      additionalLazyModuleResources.push(appModuleFolderPath);\r\n    }\r\n  }\r\n\r\n  const ngCompilerPlugin = new AngularCompilerPlugin({\r\n    hostReplacementPaths: nsWebpack.getResolver([platform, 'tns']),\r\n    platformTransformers: ngCompilerTransformers.map(t =\u003e\r\n      t(() =\u003e ngCompilerPlugin, resolve(appFullPath, entryModule), projectRoot)\r\n    ),\r\n    mainPath: join(appFullPath, entryModule),\r\n    tsConfigPath,\r\n    skipCodeGeneration: false,\r\n    sourceMap: !!isAnySourceMapEnabled,\r\n    additionalLazyModuleResources: additionalLazyModuleResources,\r\n    compilerOptions: { paths: compilerOptions.paths }\r\n  });\r\n\r\n  let sourceMapFilename = nsWebpack.getSourceMapFilename(\r\n    hiddenSourceMap,\r\n    __dirname,\r\n    dist\r\n  );\r\n\r\n  const itemsToClean = [`${dist}/**/*`];\r\n  if (platform === 'android') {\r\n    itemsToClean.push(\r\n      `${join(\r\n        projectRoot,\r\n        'platforms',\r\n        'android',\r\n        'app',\r\n        'src',\r\n        'main',\r\n        'assets',\r\n        'snapshots'\r\n      )}`\r\n    );\r\n    itemsToClean.push(\r\n      `${join(\r\n        projectRoot,\r\n        'platforms',\r\n        'android',\r\n        'app',\r\n        'build',\r\n        'configurations',\r\n        'nativescript-android-snapshot'\r\n      )}`\r\n    );\r\n  }\r\n\r\n  const noEmitOnErrorFromTSConfig = getNoEmitOnErrorFromTSConfig(tsConfigName);\r\n\r\n  nsWebpack.processAppComponents(appComponents, platform);\r\n  const config = {\r\n    mode: production ? 'production' : 'development',\r\n    context: appFullPath,\r\n    externals,\r\n    watchOptions: {\r\n      ignored: [\r\n        appResourcesFullPath,\r\n        // Don't watch hidden files\r\n        '**/.*'\r\n      ]\r\n    },\r\n    target: nativescriptTarget,\r\n    entry: entries,\r\n    output: {\r\n      pathinfo: false,\r\n      path: dist,\r\n      sourceMapFilename,\r\n      libraryTarget: 'commonjs2',\r\n      filename: '[name].js',\r\n      globalObject: 'global',\r\n      hashSalt\r\n    },\r\n    resolve: {\r\n      extensions: ['.ts', '.js', '.scss', '.css'],\r\n      // Resolve {N} system modules from @nativescript/core\r\n      modules: [\r\n        resolve(__dirname, 'node_modules/@nativescript/core'),\r\n        resolve(__dirname, 'node_modules'),\r\n        'node_modules/@nativescript/core',\r\n        'node_modules'\r\n      ],\r\n      alias: {\r\n        '~/package.json': resolve(projectRoot, 'package.json'),\r\n        '~': appFullPath,\r\n        \"tns-core-modules\": \"@nativescript/core\",\r\n        \"nativescript-angular\": \"@nativescript/angular\",\r\n        ...fileReplacements\r\n      },\r\n      symlinks: true\r\n    },\r\n    resolveLoader: {\r\n      symlinks: false\r\n    },\r\n    node: {\r\n      // Disable node shims that conflict with NativeScript\r\n      http: false,\r\n      timers: false,\r\n      setImmediate: false,\r\n      fs: 'empty',\r\n      __dirname: false\r\n    },\r\n    devtool: hiddenSourceMap\r\n      ? 'hidden-source-map'\r\n      : sourceMap\r\n      ? 'inline-source-map'\r\n      : 'none',\r\n    optimization: {\r\n      runtimeChunk: 'single',\r\n      noEmitOnErrors: noEmitOnErrorFromTSConfig,\r\n      splitChunks: {\r\n        cacheGroups: {\r\n          vendor: {\r\n            name: 'vendor',\r\n            chunks: 'all',\r\n            test: (module, chunks) =\u003e {\r\n              const moduleName = module.nameForCondition\r\n                ? module.nameForCondition()\r\n                : '';\r\n              return (\r\n                /[\\\\/]node_modules[\\\\/]/.test(moduleName) ||\r\n                appComponents.some(comp =\u003e comp === moduleName)\r\n              );\r\n            },\r\n            enforce: true\r\n          }\r\n        }\r\n      },\r\n      minimize: !!uglify,\r\n      minimizer: [\r\n        new TerserPlugin({\r\n          parallel: true,\r\n          cache: !ci,\r\n          sourceMap: isAnySourceMapEnabled,\r\n          terserOptions: {\r\n            output: {\r\n              comments: false,\r\n              semicolons: !isAnySourceMapEnabled\r\n            },\r\n            compress: {\r\n              // The Android SBG has problems parsing the output\r\n              // when these options are enabled\r\n              collapse_vars: platform !== 'android',\r\n              sequences: platform !== 'android',\r\n              // custom\r\n              drop_console: true,\r\n              drop_debugger: true,\r\n              ecma: 6,\r\n              keep_infinity: platform === 'android', // for Chrome/V8\r\n              reduce_funcs: platform !== 'android', // for Chrome/V8\r\n              global_defs: {\r\n                __UGLIFIED__: true\r\n              }\r\n            },\r\n            // custom\r\n            ecma: 6,\r\n            safari10: platform !== 'android'\r\n          }\r\n        })\r\n      ]\r\n    },\r\n    module: {\r\n      rules: [\r\n        {\r\n          include: join(appFullPath, entryPath),\r\n          use: [\r\n            // Require all Android app components\r\n            platform === 'android' \u0026\u0026 {\r\n              loader: '@nativescript/webpack/helpers/android-app-components-loader',\r\n              options: { modules: appComponents }\r\n            },\r\n\r\n            {\r\n              loader: '@nativescript/webpack/bundle-config-loader',\r\n              options: {\r\n                angular: true,\r\n                loadCss: !snapshot, // load the application css if in debug mode\r\n                unitTesting,\r\n                appFullPath,\r\n                projectRoot,\r\n                ignoredFiles: nsWebpack.getUserDefinedEntries(entries, platform)\r\n              }\r\n            }\r\n          ].filter(loader =\u003e !!loader)\r\n        },\r\n\r\n        { test: /\\.html$|\\.xml$/, use: 'raw-loader' },\r\n\r\n        {\r\n          test: /[\\/|\\\\]app\\.css$/,\r\n          use: [\r\n              '@nativescript/webpack/helpers/style-hot-loader',\r\n              {\r\n                  loader: \"@nativescript/webpack/helpers/css2json-loader\",\r\n                  options: { useForImports: true }\r\n              },\r\n          ],\r\n        },\r\n        {\r\n          test: /[\\/|\\\\]app\\.scss$/,\r\n          use: [\r\n              '@nativescript/webpack/helpers/style-hot-loader',\r\n              {\r\n                  loader: \"@nativescript/webpack/helpers/css2json-loader\",\r\n                  options: { useForImports: true }\r\n              },\r\n              'sass-loader',\r\n          ],\r\n        },\r\n\r\n        // Angular components reference css files and their imports using raw-loader\r\n        { test: /\\.css$/, exclude: /[\\/|\\\\]app\\.css$/, use: 'raw-loader' },\r\n        {\r\n          test: /\\.scss$/,\r\n          exclude: /[\\/|\\\\]app\\.scss$/,\r\n          use: ['raw-loader', 'resolve-url-loader', 'sass-loader']\r\n        },\r\n\r\n        {\r\n          test: /(?:\\.ngfactory\\.js|\\.ngstyle\\.js|\\.ts)$/,\r\n          use: [\r\n            '@nativescript/webpack/helpers/moduleid-compat-loader',\r\n            '@nativescript/webpack/helpers/lazy-ngmodule-hot-loader',\r\n            '@ngtools/webpack'\r\n          ]\r\n        },\r\n\r\n        // Mark files inside `@angular/core` as using SystemJS style dynamic imports.\r\n        // Removing this will cause deprecation warnings to appear.\r\n        {\r\n          test: /[\\/\\\\]@angular[\\/\\\\]core[\\/\\\\].+\\.js$/,\r\n          parser: { system: true }\r\n        }\r\n      ]\r\n    },\r\n    plugins: [\r\n      // Define useful constants like TNS_WEBPACK\r\n      new webpack.DefinePlugin({\r\n        'global.TNS_WEBPACK': 'true',\r\n        'global.isAndroid': platform === 'android',\r\n        'global.isIOS': platform === 'ios',\r\n        process: 'global.process'\r\n      }),\r\n      // Remove all files from the out dir.\r\n      new CleanWebpackPlugin({ \r\n        cleanOnceBeforeBuildPatterns: itemsToClean,\r\n        verbose: !!verbose\r\n      }),\r\n      // Copy assets\r\n      new CopyWebpackPlugin([\r\n        ...copyTargets,\r\n        { from: { glob: '**/*.jpg', dot: false } },\r\n        { from: { glob: '**/*.png', dot: false } },\r\n      ], copyIgnore),\r\n      new nsWebpack.GenerateNativeScriptEntryPointsPlugin('bundle'),\r\n      // For instructions on how to set up workers with webpack\r\n      // check out https://github.com/nativescript/worker-loader\r\n      new NativeScriptWorkerPlugin(),\r\n      ngCompilerPlugin,\r\n      // Does IPC communication with the {N} CLI to notify events when running in watch mode.\r\n      new nsWebpack.WatchStateLoggerPlugin()\r\n    ]\r\n  };\r\n\r\n  if (report) {\r\n    // Generate report files for bundles content\r\n    config.plugins.push(\r\n      new BundleAnalyzerPlugin({\r\n        analyzerMode: 'static',\r\n        openAnalyzer: false,\r\n        generateStatsFile: true,\r\n        reportFilename: resolve(projectRoot, 'report', `report.html`),\r\n        statsFilename: resolve(projectRoot, 'report', `stats.json`)\r\n      })\r\n    );\r\n  }\r\n\r\n  if (snapshot) {\r\n    config.plugins.push(\r\n      new nsWebpack.NativeScriptSnapshotPlugin({\r\n        chunk: 'vendor',\r\n        angular: true,\r\n        requireModules: [\r\n          'reflect-metadata',\r\n          '@angular/platform-browser',\r\n          '@angular/core',\r\n          '@angular/common',\r\n          '@angular/router',\r\n          '@nativescript/angular'\r\n        ],\r\n        projectRoot,\r\n        webpackConfig: config,\r\n        snapshotInDocker,\r\n        skipSnapshotTools,\r\n        useLibs\r\n      })\r\n    );\r\n  }\r\n\r\n  if (!production \u0026\u0026 hmr) {\r\n    config.plugins.push(new webpack.HotModuleReplacementPlugin());\r\n  }\r\n\r\n  return config;\r\n};`\r\n\r\n \r\n\r\n**Describe the bug**\r\nWhen doing tns run android --env.uglify compiles correctly. When opening the app it generates this `error: System.err: An uncaught Exception occurred on \"main\" thread.\r\nSystem.err: Calling js method onAnimationEnd failed\r\nSystem.err: TypeError: Cannot read property '_executingContext' of undefined\r\nSystem.err: \r\nSystem.err: StackTrace:\r\nSystem.err: M(file: node_modules/@nativescript/core/ui/frame/fragment.transitions.android.js:537:40)\r\nSystem.err:     at n.onAnimationEnd(file: node_modules/@nativescript/core/ui/frame/fragment.transitions.android.js:177:8)\r\nSystem.err:     at com.tns.Runtime.callJSMethodNative(Native Method)\r\nSystem.err:     at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1302)\r\nSystem.err:     at com.tns.Runtime.callJSMethodImpl(Runtime.java:1188)\r\nSystem.err:     at com.tns.Runtime.callJSMethod(Runtime.java:1175)\r\nSystem.err:     at com.tns.Runtime.callJSMethod(Runtime.java:1153)\r\nSystem.err:     at com.tns.Runtime.callJSMethod(Runtime.java:1149)\r\nSystem.err:     at java.lang.Object_vendor_23473_22_n.onAnimationEnd(Unknown Source:10)\r\nSystem.err:     at android.animation.Animator$AnimatorListener.onAnimationEnd(Animator.java:552)\r\nSystem.err:     at android.animation.AnimatorSet.endAnimation(AnimatorSet.java:1294)\r\nSystem.err:     at android.animation.AnimatorSet.doAnimationFrame(AnimatorSet.java:1079)\r\nSystem.err:     at android.animation.AnimationHandler.doAnimationFrame(AnimationHandler.java:146)\r\nSystem.err:     at android.animation.AnimationHandler.access$100(AnimationHandler.java:37)\r\nSystem.err:     at android.animation.AnimationHandler$1.doFrame(AnimationHandler.java:54)\r\nSystem.err:     at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1090)\r\nSystem.err:     at android.view.Choreographer.doCallbacks(Choreographer.java:893)\r\nSystem.err:     at android.view.Choreographer.doFrame(Choreographer.java:809)\r\nSystem.err:     at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1078)\r\nSystem.err:     at android.os.Handler.handleCallback(Handler.java:907)\r\nSystem.err:     at android.os.Handler.dispatchMessage(Handler.java:105)\r\nSystem.err:     at android.os.Looper.loop(Looper.java:216)\r\nSystem.err:     at android.app.ActivityThread.main(ActivityThread.java:7625)\r\nSystem.err:     at java.lang.reflect.Method.invoke(Native Method)\r\nSystem.err:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)\r\nSystem.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)`\r\n\r\n**To Reproduce**\r\ntns run android --env.uglify. Open app\r\n","author":{"url":"https://github.com/wuilmerj24","@type":"Person","name":"wuilmerj24"},"datePublished":"2021-04-02T04:42:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1153/nativescript-dev-webpack/issues/1153"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d6a7bb24-a479-83e4-5e8e-49e2ce095713
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9FA6:18E94D:59A6E2D:7395371:69765F6D
html-safe-nonce1ca0ba71c86dd5da49c25900d5591bafbb248b23bb18bae84cb6ec5c49d9d2e2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkE2OjE4RTk0RDo1OUE2RTJEOjczOTUzNzE6Njk3NjVGNkQiLCJ2aXNpdG9yX2lkIjoiNzk3NTk4NjUyNTA5Mjg2Mzg1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac869311935a6ef4bcca4acdf65e89ae1ba5cbb5e56734db67493384a58a38717d
hovercard-subject-tagissue:848954021
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/nativescript-dev-webpack/1153/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f20d7dd80a88fac7545a8b33a239e235651ee8b86d345f4d7377c8978670a798/NativeScript/nativescript-dev-webpack/issues/1153
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f20d7dd80a88fac7545a8b33a239e235651ee8b86d345f4d7377c8978670a798/NativeScript/nativescript-dev-webpack/issues/1153
og:image:altEnvironment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 7 C...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewuilmerj24
hostnamegithub.com
expected-hostnamegithub.com
None032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411
turbo-cache-controlno-preview
go-importgithub.com/NativeScript/nativescript-dev-webpack git https://github.com/NativeScript/nativescript-dev-webpack.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id54984270
octolytics-dimension-repository_nwoNativeScript/nativescript-dev-webpack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id54984270
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-dev-webpack
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5b577f6be6482e336e3c30e8daefa30144947b17
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/NativeScript/nativescript-dev-webpack/issues/1153#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-dev-webpack%2Fissues%2F1153
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-dev-webpack%2Fissues%2F1153
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=NativeScript%2Fnativescript-dev-webpack
Reloadhttps://patch-diff.githubusercontent.com/NativeScript/nativescript-dev-webpack/issues/1153
Reloadhttps://patch-diff.githubusercontent.com/NativeScript/nativescript-dev-webpack/issues/1153
Reloadhttps://patch-diff.githubusercontent.com/NativeScript/nativescript-dev-webpack/issues/1153
NativeScript https://patch-diff.githubusercontent.com/NativeScript
nativescript-dev-webpackhttps://patch-diff.githubusercontent.com/NativeScript/nativescript-dev-webpack
Please reload this pagehttps://patch-diff.githubusercontent.com/NativeScript/nativescript-dev-webpack/issues/1153
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FNativeScript%2Fnativescript-dev-webpack
Fork 40 https://patch-diff.githubusercontent.com/login?return_to=%2FNativeScript%2Fnativescript-dev-webpack
Star 97 https://patch-diff.githubusercontent.com/login?return_to=%2FNativeScript%2Fnativescript-dev-webpack
Code https://patch-diff.githubusercontent.com/NativeScript/nativescript-dev-webpack
Issues 82 https://patch-diff.githubusercontent.com/NativeScript/nativescript-dev-webpack/issues
Pull requests 3 https://patch-diff.githubusercontent.com/NativeScript/nativescript-dev-webpack/pulls
Actions https://patch-diff.githubusercontent.com/NativeScript/nativescript-dev-webpack/actions
Security 0 https://patch-diff.githubusercontent.com/NativeScript/nativescript-dev-webpack/security
Insights https://patch-diff.githubusercontent.com/NativeScript/nativescript-dev-webpack/pulse
Code https://patch-diff.githubusercontent.com/NativeScript/nativescript-dev-webpack
Issues https://patch-diff.githubusercontent.com/NativeScript/nativescript-dev-webpack/issues
Pull requests https://patch-diff.githubusercontent.com/NativeScript/nativescript-dev-webpack/pulls
Actions https://patch-diff.githubusercontent.com/NativeScript/nativescript-dev-webpack/actions
Security https://patch-diff.githubusercontent.com/NativeScript/nativescript-dev-webpack/security
Insights https://patch-diff.githubusercontent.com/NativeScript/nativescript-dev-webpack/pulse
Tns run android --env.uglify errorhttps://patch-diff.githubusercontent.com/NativeScript/nativescript-dev-webpack/issues/1153#top
https://github.com/wuilmerj24
https://github.com/wuilmerj24
wuilmerj24https://github.com/wuilmerj24
on Apr 2, 2021https://github.com/NativeScript/nativescript-dev-webpack/issues/1153#issue-848954021
@NativeScripthttps://github.com/NativeScript
NativeScript/nativescript-cli#4024https://github.com/NativeScript/nativescript-cli/issues/4024
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.