Closed veeramarni closed 6 years ago
I see the problem was with the use
function. If I comment that line, I don't see this error.
https://github.com/sysgears/spinjs/blob/master/src/plugins/ReactNativePlugin.ts#L56
@veeramarni I don't see any problem. It doesn't reproduce for me with latest angularjs kit and latest spinjs@0.4.62. Can you run it via spin -v watch
and paste the generated webpack config here?
I think I was using the master
branch of spinjs
when testing with angular
and it throws when running with spin:watch
.
It is also failing in my project as well in mobile branch
I have to fix few typescript related to issues, after those fixes spin:build
don't throw these errors but I get other issues.
> @0.2.0 spin:watch /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro
> cross-env ENV_FILE=config/development/dev.env spin watch "-v"
spin debug iosDll = { name: 'iosDll',
devtool: '#cheap-module-source-map',
module:
{ rules:
[ { test: /\.tsx?$/,
use:
[ { loader: '/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/awesome-typescript-loader/dist/entry.js',
options: { configFileName: './servers/mobile/tsconfig.json' } } ] },
{ test: /\.js$/,
exclude: /node_modules\/(?!react-native.*|@expo|expo|lottie-react-native|haul|pretty-format|react-navigation)$/,
use: [Function] },
{ parser: { requireEnsure: false } },
{ test: /\.(bmp|gif|jpg|jpeg|png|psd|svg|webp|m4v|aac|aiff|caf|m4a|mp3|wav|html|pdf|ttf)$/,
use:
{ loader: '/Users/veeramarni/Documents/eclipse/workspace/phoneapps/third_party/node-package-custom/spinjs/lib/plugins/react-native/assetLoader.js',
query:
{ platform: 'ios',
root: '/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro',
bundle: false } } } ] },
resolve:
{ modules:
[ '/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules',
'node_modules' ],
extensions:
[ '.ios.tsx',
'.ios.ts',
'.ios.js',
'.native.tsx',
'.native.ts',
'.native.js',
'.tsx',
'.ts',
'.js' ],
plugins:
[ HasteResolver { apply: [Function] },
AssetResolver { apply: [Function: apply] } ],
mainFields: [ 'react-native', 'browser', 'main' ] },
watchOptions: { ignored: /build/ },
output:
{ devtoolModuleFilenameTemplate: [Function],
filename: 'vendor_ios_[hash]_dll.js',
path: '/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/.build/dll',
library: 'vendor_ios' },
bail: false,
plugins:
[ DefinePlugin {
definitions:
{ __DEV__: true,
__TEST__: false,
'process.env.NODE_ENV': '"development"' } },
DllPlugin {
options: { name: 'vendor_ios', path: '.build/dll/vendor_ios_dll.json' } } ],
node:
{ __dirname: true,
__filename: true,
fs: 'empty',
net: 'empty',
tls: 'empty' },
entry:
{ vendor:
[ '@expo/vector-icons',
'@cdm-logger/client',
'antd-mobile',
'apollo-client',
'apollo-link',
'apollo-logger',
'browser-bunyan',
'classnames',
'cors',
'dotenv',
'expo',
'fela',
'fela-beautifier',
'fela-dom',
'fela-font-renderer',
'fela-perf',
'fela-plugin-fallback-value',
'fela-plugin-logger',
'fela-plugin-lvha',
'fela-plugin-prefixer',
'fela-plugin-unit',
'fela-plugin-validator',
'graphql',
'native-base',
'react-fela',
'react-native',
'react-navigation',
'react-redux-typescript',
'react-router-redux',
'react-transition-group',
'recompose',
'redux-injectable-reducer',
'redux-injectable-store',
'redux-thunk',
'reselect',
'rxjs',
'subscriptions-transport-ws',
'/Users/veeramarni/Documents/eclipse/workspace/phoneapps/third_party/node-package-custom/spinjs/react-native-polyfills/react-native-polyfill-16.js' ] },
target: 'webworker' }
spin debug ios = { plugins:
[ SourceMapDevToolPlugin {
sourceMapFilename: '[file].map',
sourceMappingURLComment: '\n//# sourceMappingURL=[url]',
moduleFilenameTemplate: 'webpack:///[resourcePath]',
fallbackModuleFilenameTemplate: 'webpack:///[resourcePath]?[hash]',
options: { test: /\.bundle$/, filename: '[file].map' } },
NamedModulesPlugin { options: {} },
DefinePlugin {
definitions:
{ __CLIENT__: true,
__SERVER__: false,
__SSR__: false,
__DEV__: true,
__TEST__: false,
'process.env.NODE_ENV': '"development"',
__BACKEND_URL__: '"http://192.168.0.10:8080/graphql"',
__GRAPHQL_URL__: '\'http://localhost:8080/graphql\'' } } ],
entry: { 'index.mobile.bundle': [ './servers/mobile/src/index.ts' ] },
name: 'ios',
devtool: '#cheap-module-source-map',
module:
{ rules:
[ { test: /\.graphqls/,
use: '/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/raw-loader/index.js' },
{ test: /\.(graphql|gql)$/,
exclude: /node_modules/,
use:
[ '/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/graphql-tag/loader.js' ] },
{ test: /\.tsx?$/,
use:
[ { loader: '/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/awesome-typescript-loader/dist/entry.js',
options: { configFileName: './servers/mobile/tsconfig.json' } } ] },
{ test: /\.js$/,
exclude: /node_modules\/(?!react-native.*|@expo|expo|lottie-react-native|haul|pretty-format|react-navigation)$/,
use: [Function] },
{ parser: { requireEnsure: false } },
{ test: /\.(bmp|gif|jpg|jpeg|png|psd|svg|webp|m4v|aac|aiff|caf|m4a|mp3|wav|html|pdf|ttf)$/,
use:
{ loader: '/Users/veeramarni/Documents/eclipse/workspace/phoneapps/third_party/node-package-custom/spinjs/lib/plugins/react-native/assetLoader.js',
query:
{ platform: 'ios',
root: '/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro',
bundle: false } } } ],
unsafeCache: false },
resolve:
{ modules:
[ '/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules',
'node_modules' ],
unsafeCache: false,
extensions:
[ '.ios.tsx',
'.ios.ts',
'.ios.js',
'.native.tsx',
'.native.ts',
'.native.js',
'.tsx',
'.ts',
'.js' ],
plugins:
[ HasteResolver { apply: [Function] },
AssetResolver { apply: [Function: apply] } ],
mainFields: [ 'react-native', 'browser', 'main' ] },
watchOptions: { ignored: /build/ },
output:
{ devtoolModuleFilenameTemplate: [Function],
filename: 'index.mobile.bundle',
publicPath: '/',
path: '/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/servers/frontend-server/dist/ios' },
bail: false,
node:
{ __dirname: true,
__filename: true,
fs: 'empty',
net: 'empty',
tls: 'empty' },
devServer:
{ hot: false,
publicPath: '/',
headers: { 'Access-Control-Allow-Origin': '*' },
quiet: false,
noInfo: true,
historyApiFallback: true,
stats: { colors: true, chunkModules: false },
port: 3020 },
target: 'webworker' }
webpack-for-iosDll info Generating vendor_ios DLL bundle with modules:
["@expo/vector-icons","@cdm-logger/client","antd-mobile","apollo-client","apollo-link","apollo-logger","browser-bunyan","classnames","cors","dotenv","expo","fela","fela-beautifier","fela-dom","fela-font-renderer","fela-perf","fela-plugin-fallback-value","fela-plugin-logger","fela-plugin-lvha","fela-plugin-prefixer","fela-plugin-unit","fela-plugin-validator","graphql","native-base","react-fela","react-native","react-navigation","react-redux-typescript","react-router-redux","react-transition-group","recompose","redux-injectable-reducer","redux-injectable-store","redux-thunk","reselect","rxjs","subscriptions-transport-ws","/Users/veeramarni/Documents/eclipse/workspace/phoneapps/third_party/node-package-custom/spinjs/react-native-polyfills/react-native-polyfill-16.js"]
spin error TypeError: Cannot read property 'loader' of undefined
at asyncLib.map (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/webpack/lib/NormalModuleFactory.js:249:48)
at /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/webpack/node_modules/async/dist/async.js:1121:9
at eachOfArrayLike (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/webpack/node_modules/async/dist/async.js:1055:9)
at eachOf (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/webpack/node_modules/async/dist/async.js:1103:5)
at _asyncMap (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/webpack/node_modules/async/dist/async.js:1119:5)
at Object.map (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/webpack/node_modules/async/dist/async.js:1108:16)
at NormalModuleFactory.resolveRequestArray (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/webpack/lib/NormalModuleFactory.js:248:12)
at /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/webpack/node_modules/async/dist/async.js:3866:24
at eachOfArrayLike (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/webpack/node_modules/async/dist/async.js:1055:9)
at eachOf (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/webpack/node_modules/async/dist/async.js:1103:5)
spin:build
throws following errors. I could not figure out the issue.
ERROR in ./node_modules/@expo/vector-icons/createIconSet.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/@expo/vector-icons/createIconSet.js: Cannot read property 'add' ofundefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:48:17)
at NodePath.visit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:117:8)
at TraversalContext.visitQueue (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitSingle (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:108:19)
at TraversalContext.visit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:192:19)
at Function.traverse.node (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/index.js:114:17)
at traverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/index.js:79:12)
@ ./node_modules/@expo/vector-icons/index.js 1:680-706
@ ./node_modules/expo/src/Icon.js
@ ./node_modules/expo/src/Expo.js
@ ./servers/mobile/src/AwakeInDevApp.tsx
@ ./servers/mobile/src/index.ts
@ multi ./servers/mobile/src/index.ts
ERROR in ./node_modules/expo/node_modules/lottie-react-native/lib/js/Animation.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/expo/node_modules/lottie-react-native/lib/js/Animation.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:48:17)
at NodePath.visit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:117:8)
at TraversalContext.visitQueue (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitSingle (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:108:19)
at TraversalContext.visit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:192:19)
at Function.traverse.node (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/index.js:114:17)
at traverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/index.js:79:12)
@ ./node_modules/expo/node_modules/lottie-react-native/index.js 1:15-44
@ ./node_modules/expo/src/DangerZone.js
@ ./node_modules/expo/src/Expo.js
@ ./servers/mobile/src/AwakeInDevApp.tsx
@ ./servers/mobile/src/index.ts
@ multi ./servers/mobile/src/index.ts
ERROR in ./node_modules/expo/node_modules/react-native-gesture-handler/GestureHandler.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/expo/node_modules/react-native-gesture-handler/GestureHandler.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:48:17)
at NodePath.visit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:117:8)
at TraversalContext.visitQueue (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitSingle (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:108:19)
at TraversalContext.visit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:192:19)
at Function.traverse.node (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/index.js:114:17)
at traverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/index.js:79:12)
@ ./node_modules/expo/src/DangerZone.js 1:156-195
@ ./node_modules/expo/src/Expo.js
@ ./servers/mobile/src/AwakeInDevApp.tsx
@ ./servers/mobile/src/index.ts
@ multi ./servers/mobile/src/index.ts
ERROR in ./node_modules/expo/node_modules/react-native-maps/lib/components/AnimatedRegion.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/expo/node_modules/react-native-maps/lib/components/AnimatedRegion.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:48:17)
at NodePath.visit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:117:8)
at TraversalContext.visitQueue (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitSingle (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:108:19)
at TraversalContext.visit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:192:19)
at Function.traverse.node (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/index.js:114:17)
at traverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/index.js:79:12)
@ ./node_modules/expo/node_modules/react-native-maps/lib/components/MapView.js 1:1126-1153
@ ./node_modules/expo/node_modules/react-native-maps/index.js
@ ./node_modules/expo/src/Expo.js
@ ./servers/mobile/src/AwakeInDevApp.tsx
@ ./servers/mobile/src/index.ts
@ multi ./servers/mobile/src/index.ts
ERROR in ./node_modules/expo/node_modules/react-native-svg/lib/SvgTouchableMixin.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/expo/node_modules/react-native-svg/lib/SvgTouchableMixin.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:48:17)
at NodePath.visit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:117:8)
at TraversalContext.visitQueue (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitSingle (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:108:19)
at TraversalContext.visit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:192:19)
at Function.traverse.node (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/index.js:114:17)
at traverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/index.js:79:12)
@ ./node_modules/expo/node_modules/react-native-svg/elements/Shape.js 1:102-137
@ ./node_modules/expo/node_modules/react-native-svg/elements/Rect.js
@ ./node_modules/expo/node_modules/react-native-svg/index.js
@ ./node_modules/expo/src/Svg.js
@ ./node_modules/expo/src/Expo.js
@ ./servers/mobile/src/AwakeInDevApp.tsx
@ ./servers/mobile/src/index.ts
@ multi ./servers/mobile/src/index.ts
ERROR in ./node_modules/expo/src/AuthSession.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/expo/src/AuthSession.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:48:17)
at NodePath.visit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:117:8)
at TraversalContext.visitQueue (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitSingle (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:108:19)
at TraversalContext.visit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:192:19)
at Function.traverse.node (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/index.js:114:17)
at traverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/index.js:79:12)
@ ./node_modules/expo/src/Expo.js 1:1146-1170
@ ./servers/mobile/src/AwakeInDevApp.tsx
@ ./servers/mobile/src/index.ts
@ multi ./servers/mobile/src/index.ts
ERROR in ./node_modules/expo/src/Location.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/expo/src/Location.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:48:17)
at NodePath.visit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:117:8)
at TraversalContext.visitQueue (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitSingle (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:108:19)
at TraversalContext.visit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:192:19)
at Function.traverse.node (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/index.js:114:17)
at traverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/index.js:79:12)
@ ./node_modules/expo/src/Expo.js 1:239-260 1:3293-3314
@ ./servers/mobile/src/AwakeInDevApp.tsx
@ ./servers/mobile/src/index.ts
@ multi ./servers/mobile/src/index.ts
ERROR in ./node_modules/expo/src/Notifications.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/expo/src/Notifications.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:48:17)
at NodePath.visit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:117:8)
at TraversalContext.visitQueue (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitSingle (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:108:19)
at TraversalContext.visit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:192:19)
at Function.traverse.node (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/index.js:114:17)
at traverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/index.js:79:12)
@ ./node_modules/expo/src/Expo.js 1:1541-1567
@ ./servers/mobile/src/AwakeInDevApp.tsx
@ ./servers/mobile/src/index.ts
@ multi ./servers/mobile/src/index.ts
ERROR in ./node_modules/expo/src/Pedometer.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/expo/src/Pedometer.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:48:17)
at NodePath.visit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:117:8)
at TraversalContext.visitQueue (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitSingle (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:108:19)
at TraversalContext.visit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:192:19)
at Function.traverse.node (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/index.js:114:17)
at traverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/index.js:79:12)
@ ./node_modules/expo/src/Expo.js 1:3397-3419
@ ./servers/mobile/src/AwakeInDevApp.tsx
@ ./servers/mobile/src/index.ts
@ multi ./servers/mobile/src/index.ts
ERROR in ./node_modules/expo/src/av/Audio/Sound.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/expo/src/av/Audio/Sound.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:48:17)
at NodePath.visit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:117:8)
at TraversalContext.visitQueue (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitSingle (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:108:19)
at TraversalContext.visit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/context.js:192:19)
at Function.traverse.node (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/index.js:114:17)
at traverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/babel-core/node_modules/babel-traverse/lib/index.js:79:12)
@ ./node_modules/expo/src/av/Audio.js 1:506-530
@ ./node_modules/expo/src/Expo.js
@ ./servers/mobile/src/AwakeInDevApp.tsx
@ ./servers/mobile/src/index.ts
@ multi ./servers/mobile/src/index.ts
@veeramarni So why do you open issue? If you are using master branch and not a released version - you need to figure out things yourself. I'm closing this issue. Please open issue on a released version of spinjs.
@vlasenko
Actually, I see these errors in anuglarjs
branch. When I responded before it was too late so I could not test it again but it does fail with same errors as mentioned above in angularjs
branch.
I did notice angularjs
branch was not upto date with master
branch and missing react-native
dependencies. After adding all the dependencies and updating the packages, I still can reproduce the issue with spinjs version 0.4.62
Do you want me to open a new issue?
apollo-universal-starter-kit veeramarni$ yarn watch
yarn run v1.2.1
$ spin watch
webpack-for-iosDll info Generating vendor_ios DLL bundle with modules:
["@angular/animations","@angular/common","@angular/compiler","@angular/core","@angular/forms","@angular/http","@angular/platform-browser","@angular/platform-browser-dynamic","@angular/router","@angularclass/hmr","@ng-bootstrap/ng-bootstrap","@ngrx/store","angular2-cookie","apollo-angular","apollo-cache-inmemory","apollo-client","apollo-fetch","apollo-fetch-upload","apollo-link","apollo-link-batch-http","apollo-link-ws","apollo-logger","cors","dotenv","graphql","graphql-auth","graphql-iso-date","graphql-tag","immutability-helper","lodash","minilog","ng-zorro-antd","ngrx-forms","ngx-uploader","passport","passport-facebook","react","react-native","redux","rxjs","subscriptions-transport-ws","zone.js","/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/spinjs/react-native-polyfills/react-native-polyfill-16.js"]
[at-loader] Using typescript@2.6.2 from typescript and "tsconfig.json" from /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/tsconfig.json.
[at-loader] Checking started in a separate process...
[at-loader] Checking finished with 13 errors
webpack-for-server Time: 51698ms
ERROR in [at-loader] ./node_modules/apollo-angular/Apollo.d.ts:1:100
TS2305: Module ''apollo-client'' has no exported member 'ApolloClientOptions'.
ERROR in [at-loader] ./node_modules/apollo-angular/Apollo.d.ts:9:27
TS2315: Type 'ApolloClient' is not generic.
ERROR in [at-loader] ./node_modules/apollo-angular/Apollo.d.ts:14:18
TS2315: Type 'ApolloClient' is not generic.
ERROR in [at-loader] ./node_modules/apollo-angular/Apollo.d.ts:15:23
TS2315: Type 'ApolloClient' is not generic.
ERROR in [at-loader] ./src/client/index.ts:90:18
TS2339: Property 'withClient' does not exist on type 'typeof ApolloModule'.
ERROR in [at-loader] ./src/client/modules/counter/containers/Counter.ts:24:27
TS2345: Argument of type 'QueryRef<{}>' is not assignable to parameter of type 'Observable<any>'.
Property '_isScalar' is missing in type 'QueryRef<{}>'.
ERROR in [at-loader] ./src/client/modules/post/containers/Post.ts:2:18
TS2305: Module '"/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/apollo-angular/index"' has no exported member 'ApolloQueryObservable'.
ERROR in [at-loader] ./src/client/modules/post/containers/PostEdit.ts:19:27
TS2345: Argument of type 'QueryRef<{}>' is not assignable to parameter of type 'Observable<any>'.
ERROR in [at-loader] ./src/client/modules/post/reducers/index.ts:2:48
TS2305: Module '"/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/ngrx-forms/forms"' has no exported member 'groupUpdateReducer'.
ERROR in [at-loader] ./src/client/modules/user/containers/Profile.ts:16:27
TS2345: Argument of type 'QueryRef<{}>' is not assignable to parameter of type 'Observable<any>'.
ERROR in [at-loader] ./src/client/modules/user/containers/UserEdit.ts:19:20
TS2345: Argument of type 'QueryRef<{}>' is not assignable to parameter of type 'Observable<any>'.
ERROR in [at-loader] ./src/client/modules/user/containers/UsersList.ts:67:27
TS2345: Argument of type 'QueryRef<{}>' is not assignable to parameter of type 'Observable<any>'.
ERROR in [at-loader] ./src/client/modules/user/reducers/index.ts:6:3
TS2305: Module '"/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/ngrx-forms/forms"' has no exported member 'groupUpdateReducer'.
[at-loader] Checking started in a separate process...
[at-loader] Checking finished with 13 errors
webpack-for-server Time: 808ms
ERROR in [at-loader] ./node_modules/apollo-angular/Apollo.d.ts:1:100
TS2305: Module ''apollo-client'' has no exported member 'ApolloClientOptions'.
ERROR in [at-loader] ./node_modules/apollo-angular/Apollo.d.ts:9:27
TS2315: Type 'ApolloClient' is not generic.
ERROR in [at-loader] ./node_modules/apollo-angular/Apollo.d.ts:14:18
TS2315: Type 'ApolloClient' is not generic.
ERROR in [at-loader] ./node_modules/apollo-angular/Apollo.d.ts:15:23
TS2315: Type 'ApolloClient' is not generic.
ERROR in [at-loader] ./src/client/index.ts:90:18
TS2339: Property 'withClient' does not exist on type 'typeof ApolloModule'.
ERROR in [at-loader] ./src/client/modules/counter/containers/Counter.ts:24:27
TS2345: Argument of type 'QueryRef<{}>' is not assignable to parameter of type 'Observable<any>'.
Property '_isScalar' is missing in type 'QueryRef<{}>'.
ERROR in [at-loader] ./src/client/modules/post/containers/Post.ts:2:18
TS2305: Module '"/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/apollo-angular/index"' has no exported member 'ApolloQueryObservable'.
ERROR in [at-loader] ./src/client/modules/post/containers/PostEdit.ts:19:27
TS2345: Argument of type 'QueryRef<{}>' is not assignable to parameter of type 'Observable<any>'.
ERROR in [at-loader] ./src/client/modules/post/reducers/index.ts:2:48
TS2305: Module '"/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/ngrx-forms/forms"' has no exported member 'groupUpdateReducer'.
ERROR in [at-loader] ./src/client/modules/user/containers/Profile.ts:16:27
TS2345: Argument of type 'QueryRef<{}>' is not assignable to parameter of type 'Observable<any>'.
ERROR in [at-loader] ./src/client/modules/user/containers/UserEdit.ts:19:20
TS2345: Argument of type 'QueryRef<{}>' is not assignable to parameter of type 'Observable<any>'.
ERROR in [at-loader] ./src/client/modules/user/containers/UsersList.ts:67:27
TS2345: Argument of type 'QueryRef<{}>' is not assignable to parameter of type 'Observable<any>'.
ERROR in [at-loader] ./src/client/modules/user/reducers/index.ts:6:3
TS2305: Module '"/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/ngrx-forms/forms"' has no exported member 'groupUpdateReducer'.
webpack-for-iosDll Time: 87834ms
WARNING in ./node_modules/@angular/core/bundles/core.umd.js
3117:19-40 Critical dependency: the request of a dependency is an expression
at ImportLazyContextDependency.getWarnings (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/webpack/lib/dependencies/ContextDependency.js:39:18)
at Compilation.reportDependencyErrorsAndWarnings (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/webpack/lib/Compilation.js:703:24)
at Compilation.finish (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/webpack/lib/Compilation.js:561:9)
at applyPluginsParallel.err (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/webpack/lib/Compiler.js:502:17)
at /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/tapable/lib/Tapable.js:289:11
at _addModuleChain (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/webpack/lib/Compilation.js:507:11)
at processModuleDependencies.err (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/webpack/lib/Compilation.js:477:14)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
@ ./node_modules/@angular/core/bundles/core.umd.js
@ dll vendor
WARNING in ./node_modules/@angular/core/bundles/core.umd.js
3135:19-106 Critical dependency: the request of a dependency is an expression
at ImportLazyContextDependency.getWarnings (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/webpack/lib/dependencies/ContextDependency.js:39:18)
at Compilation.reportDependencyErrorsAndWarnings (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/webpack/lib/Compilation.js:703:24)
at Compilation.finish (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/webpack/lib/Compilation.js:561:9)
at applyPluginsParallel.err (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/webpack/lib/Compiler.js:502:17)
at /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/tapable/lib/Tapable.js:289:11
at _addModuleChain (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/webpack/lib/Compilation.js:507:11)
at processModuleDependencies.err (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/webpack/lib/Compilation.js:477:14)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
@ ./node_modules/@angular/core/bundles/core.umd.js
@ dll vendor
webpack-for-ios Webpack ios dev server listening on http://localhost:3020
spin error TypeError: Cannot read property 'loader' of undefined
at asyncLib.map (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/webpack/lib/NormalModuleFactory.js:249:48)
at /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/async/dist/async.js:1121:9
at eachOfArrayLike (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/async/dist/async.js:1055:9)
at eachOf (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/async/dist/async.js:1103:5)
at _asyncMap (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/async/dist/async.js:1119:5)
at Object.map (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/async/dist/async.js:1108:16)
at NormalModuleFactory.resolveRequestArray (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/webpack/lib/NormalModuleFactory.js:248:12)
at /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/async/dist/async.js:3866:24
at eachOfArrayLike (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/async/dist/async.js:1055:9)
at eachOf (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/apollo-universal-starter-kit/node_modules/async/dist/async.js:1103:5)
Also, this was tested in master
branch of apollo-universal-starter-kit
. Let me know if you want me to create issue here or in apollo-universal-starter-kit
. I can take a deeper look tomorrow.
$ spin build
webpack-for-ios Time: 104864ms
ERROR in ./node_modules/@expo/vector-icons/createIconSet.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/@expo/vector-icons/createIconSet.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:48:17)
@ ./node_modules/@expo/vector-icons/index.js 1:680-706
@ ./src/client/modules/contact/index.jsx
@ ./src/client/modules/index.js
@ ./src/mobile/App.js
@ ./src/mobile/AwakeInDevApp.js
@ ./src/mobile/index.js
@ multi ./node_modules/spinjs/react-native-polyfills/react-native-polyfill-16.js raf/polyfill ./src/mobile/index.js
ERROR in ./node_modules/expo/src/AuthSession.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/expo/src/AuthSession.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:48:17)
@ ./node_modules/expo/src/Expo.js 1:1146-1170
@ ./src/mobile/AwakeInDevApp.js
@ ./src/mobile/index.js
@ multi ./node_modules/spinjs/react-native-polyfills/react-native-polyfill-16.js raf/polyfill ./src/mobile/index.js
ERROR in ./node_modules/expo/src/Location.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/expo/src/Location.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:48:17)
@ ./node_modules/expo/src/Expo.js 1:239-260 1:3293-3314
@ ./src/mobile/AwakeInDevApp.js
@ ./src/mobile/index.js
@ multi ./node_modules/spinjs/react-native-polyfills/react-native-polyfill-16.js raf/polyfill ./src/mobile/index.js
ERROR in ./node_modules/expo/src/Notifications.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/expo/src/Notifications.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:48:17)
@ ./node_modules/expo/src/Expo.js 1:1541-1567
@ ./src/mobile/AwakeInDevApp.js
@ ./src/mobile/index.js
@ multi ./node_modules/spinjs/react-native-polyfills/react-native-polyfill-16.js raf/polyfill ./src/mobile/index.js
ERROR in ./node_modules/expo/src/Pedometer.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/expo/src/Pedometer.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:48:17)
@ ./node_modules/expo/src/Expo.js 1:3397-3419
@ ./src/mobile/AwakeInDevApp.js
@ ./src/mobile/index.js
@ multi ./node_modules/spinjs/react-native-polyfills/react-native-polyfill-16.js raf/polyfill ./src/mobile/index.js
ERROR in ./node_modules/expo/src/av/Audio/Sound.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/expo/src/av/Audio/Sound.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:48:17)
@ ./node_modules/expo/src/av/Audio.js 1:506-530
@ ./node_modules/expo/src/Expo.js
@ ./src/mobile/AwakeInDevApp.js
@ ./src/mobile/index.js
@ multi ./node_modules/spinjs/react-native-polyfills/react-native-polyfill-16.js raf/polyfill ./src/mobile/index.js
ERROR in ./node_modules/lottie-react-native/lib/js/Animation.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/lottie-react-native/lib/js/Animation.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:48:17)
@ ./node_modules/lottie-react-native/index.js 1:15-44
@ ./node_modules/expo/src/DangerZone.js
@ ./node_modules/expo/src/Expo.js
@ ./src/mobile/AwakeInDevApp.js
@ ./src/mobile/index.js
@ multi ./node_modules/spinjs/react-native-polyfills/react-native-polyfill-16.js raf/polyfill ./src/mobile/index.js
ERROR in ./node_modules/react-native-gesture-handler/GestureHandler.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/react-native-gesture-handler/GestureHandler.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:48:17)
@ ./node_modules/expo/src/DangerZone.js 1:156-195
@ ./node_modules/expo/src/Expo.js
@ ./src/mobile/AwakeInDevApp.js
@ ./src/mobile/index.js
@ multi ./node_modules/spinjs/react-native-polyfills/react-native-polyfill-16.js raf/polyfill ./src/mobile/index.js
ERROR in ./node_modules/react-native-maps/lib/components/AnimatedRegion.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/react-native-maps/lib/components/AnimatedRegion.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:48:17)
@ ./node_modules/react-native-maps/lib/components/MapView.js 1:1287-1314
@ ./node_modules/react-native-maps/index.js
@ ./node_modules/expo/src/Expo.js
@ ./src/mobile/AwakeInDevApp.js
@ ./src/mobile/index.js
@ multi ./node_modules/spinjs/react-native-polyfills/react-native-polyfill-16.js raf/polyfill ./src/mobile/index.js
ERROR in ./node_modules/react-native-svg/lib/SvgTouchableMixin.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/react-native-svg/lib/SvgTouchableMixin.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:48:17)
@ ./node_modules/react-native-svg/elements/Shape.js 1:102-137
@ ./node_modules/react-native-svg/elements/Use.js
@ ./node_modules/react-native-svg/index.js
@ ./node_modules/expo/src/Svg.js
@ ./node_modules/expo/src/Expo.js
@ ./src/mobile/AwakeInDevApp.js
@ ./src/mobile/index.js
@ multi ./node_modules/spinjs/react-native-polyfills/react-native-polyfill-16.js raf/polyfill ./src/mobile/index.js
ERROR in ./node_modules/react-native-tab-view/src/TabBar.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/react-native-tab-view/src/TabBar.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:48:17)
@ ./node_modules/react-native-tab-view/src/index.js 1:318-337
@ ./node_modules/react-navigation/src/views/TabView/TabBarTop.js
@ ./node_modules/react-navigation/src/react-navigation.js
@ ./src/client/app/Routes.jsx
@ ./src/mobile/App.js
@ ./src/mobile/AwakeInDevApp.js
@ ./src/mobile/index.js
@ multi ./node_modules/spinjs/react-native-polyfills/react-native-polyfill-16.js raf/polyfill ./src/mobile/index.js
ERROR in ./node_modules/react-native-tab-view/src/TabViewPagerPan.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/react-native-tab-view/src/TabViewPagerPan.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:48:17)
@ ./node_modules/react-native-tab-view/src/index.js 1:112-140
@ ./node_modules/react-navigation/src/views/TabView/TabBarTop.js
@ ./node_modules/react-navigation/src/react-navigation.js
@ ./src/client/app/Routes.jsx
@ ./src/mobile/App.js
@ ./src/mobile/AwakeInDevApp.js
@ ./src/mobile/index.js
@ multi ./node_modules/spinjs/react-native-polyfills/react-native-polyfill-16.js raf/polyfill ./src/mobile/index.js
ERROR in ./node_modules/react-navigation/src/createNavigationContainer.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/react-navigation/src/createNavigationContainer.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:48:17)
@ ./node_modules/react-navigation/src/react-navigation.js 1:55-93
@ ./src/client/app/Routes.jsx
@ ./src/mobile/App.js
@ ./src/mobile/AwakeInDevApp.js
@ ./src/mobile/index.js
@ multi ./node_modules/spinjs/react-native-polyfills/react-native-polyfill-16.js raf/polyfill ./src/mobile/index.js
ERROR in ./node_modules/react-navigation/src/routers/TabRouter.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/react-navigation/src/routers/TabRouter.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:48:17)
@ ./node_modules/react-navigation/src/react-navigation.js 1:702-732
@ ./src/client/app/Routes.jsx
@ ./src/mobile/App.js
@ ./src/mobile/AwakeInDevApp.js
@ ./src/mobile/index.js
@ multi ./node_modules/spinjs/react-native-polyfills/react-native-polyfill-16.js raf/polyfill ./src/mobile/index.js
ERROR in ./node_modules/react-navigation/src/views/Drawer/DrawerNavigatorItems.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/react-navigation/src/views/Drawer/DrawerNavigatorItems.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:48:17)
@ ./node_modules/react-navigation/src/react-navigation.js 1:1414-1460
@ ./src/client/app/Routes.jsx
@ ./src/mobile/App.js
@ ./src/mobile/AwakeInDevApp.js
@ ./src/mobile/index.js
@ multi ./node_modules/spinjs/react-native-polyfills/react-native-polyfill-16.js raf/polyfill ./src/mobile/index.js
ERROR in ./node_modules/react-navigation/src/views/SafeAreaView.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/react-navigation/src/views/SafeAreaView.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:48:17)
@ ./node_modules/react-navigation/src/views/TabView/TabView.js 1:998-1024
@ ./node_modules/react-navigation/src/react-navigation.js
@ ./src/client/app/Routes.jsx
@ ./src/mobile/App.js
@ ./src/mobile/AwakeInDevApp.js
@ ./src/mobile/index.js
@ multi ./node_modules/spinjs/react-native-polyfills/react-native-polyfill-16.js raf/polyfill ./src/mobile/index.js
ERROR in ./node_modules/react-navigation/src/views/TabView/TabBarBottom.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/react-navigation/src/views/TabView/TabBarBottom.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:48:17)
@ ./node_modules/react-navigation/src/react-navigation.js 1:1630-1669
@ ./src/client/app/Routes.jsx
@ ./src/mobile/App.js
@ ./src/mobile/AwakeInDevApp.js
@ ./src/mobile/index.js
@ multi ./node_modules/spinjs/react-native-polyfills/react-native-polyfill-16.js raf/polyfill ./src/mobile/index.js
ERROR in ./node_modules/react-navigation/src/views/Transitioner.js
Module build failed: TypeError: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/react-navigation/src/views/Transitioner.js: Cannot read property 'add' of undefined
at ScopeTracker.addReference (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:55:36)
at ReferencedIdentifier (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:190:28)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:318:17)
at bfsTraverse (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:34:43)
at Mangler.collect (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:269:9)
at Mangler.run (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:70:14)
at PluginPass.exit (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-plugin-minify-mangle-names/lib/index.js:589:19)
at newFn (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/examples/starter-kit/node_modules/babel-traverse/lib/path/context.js:48:17)
@ ./node_modules/react-navigation/src/react-navigation.js 1:768-799
@ ./src/client/app/Routes.jsx
@ ./src/mobile/App.js
@ ./src/mobile/AwakeInDevApp.js
@ ./src/mobile/index.js
@ multi ./node_modules/spinjs/react-native-polyfills/react-native-polyfill-16.js raf/polyfill ./src/mobile/index.js
✨ Done in 109.21s.
Veeras-MacBook-Pro:starter-kit veeramarni$ git rev-parse HEAD
370a8b35d01286f031ad6cd1a4d8cb75d31347fa
Veeras-MacBook-Pro:starter-kit veeramarni$ git rev-parse --short HEAD
370a8b3
cat .spinrc.json
{
"builders": {
"server": {
"stack": ["react-native-web", "server"],
"enabled":false
},
"web": {
"stack": ["react-native-web", "web"],
"openBrowser": true,
"enabled": false
},
"android": {
"stack": ["react-native", "android"],
"enabled": false
},
"ios": {
"stack": ["react-native", "ios"],
"enabled": true
},
"test": {
"stack": ["react-native-web", "server"],
"roles": ["test"]
}
},
"options": {
"backendBuildDir": "build/server",
"frontendBuildDir": "build/client",
"dllBuildDir": "build/dll",
"overridesConfig": "tools/webpackAppConfig.js",
"stack": ["apollo", "react", "styled-components", "css", "sass", "less", "es6", "webpack"],
"backendUrl": "http://localhost:8080/graphql",
"ssr": true,
"webpackDll": true,
"devProxy": true,
"reactHotLoader": false,
"persistGraphQL": false,
"frontendRefreshOnBackendChange": true
}
}
@veeramarni I don't understand why you try to use angularjs
branch of the kit for mobile builds. Mobile builds support is not yet done for that branch. Because of that I consider this issue as invalid in any case.
@veeramarni I have still commited the fix for the issue you report in title:
Cannot read property 'loader' of undefined
https://github.com/sysgears/spinjs/commit/95c292bd85602291414ad0b535f92d60adf11e6d
This fix is included into spinjs@0.4.64
spin build failing with the latest version of spinjs. The issue can be reproduced with
https://github.com/sysgears/apollo-universal-starter-kit
onangularjs
branch.ran with
ios.enabled = true