Closed rardoz closed 6 years ago
Hi @rardoz, Could you please add this to your launch.json "Debug iOS" configuration:
"trace": "verbose"
And provide some additional logs.
Thanks!
Output of the "React Native: Run Ios" output channel (View -> Toggle Output -> Select "React Native: Run Ios" in ListBox).
[Info] Starting React Native Packager.
[Debug] Executing command: react-native run-ios --simulator iPhone 5s --no-packager
Scanning folders for symlinks in /Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2/node_modules (7ms)
Found Xcode project Spellcaster.xcodeproj
CoreData: annotation: Failed to load optimized model at path '/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/Frameworks/InstrumentsPackaging.framework/Versions/A/Resources/XRPackageModel.momd/XRPackageModel 9.0.omo'
Launching iPhone 5s (iOS 11.1)...
Building using "xcodebuild -project Spellcaster.xcodeproj -configuration Debug -scheme Spellcaster -destination id=B94BC63B-1FEC-4F42-8DF9-87E9AD5FDF2B -derivedDataPath build"
2017-11-08 07:13:22.566 xcodebuild[2109:144188] warning: The file reference for "libReact-tvOS.a" is a member of multiple groups ("Products" and "Products"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path.
> Building React/yoga [Debug]
> Check Dependencies
> Building React/privatedata [Debug]
> Check Dependencies
> Building React/double-conversion [Debug]
> Check Dependencies
> Running script 'Install Third Party'
> Building React/third-party [Debug]
> Check Dependencies
> Building React/jschelpers [Debug]
> Check Dependencies
> Building React/cxxreact [Debug]
> Check Dependencies
> Building React/React [Debug]
> Check Dependencies
> Running script 'Start Packager'
> Running script 'Include RCTJSCProfiler'
> Building RCTText/RCTText [Debug]
> Check Dependencies
> Building RCTBlob/RCTBlob [Debug]
> Check Dependencies
> Building RCTActionSheet/RCTActionSheet [Debug]
> Check Dependencies
> Building RCTWebSocket/fishhook [Debug]
> Check Dependencies
> Building RCTWebSocket/RCTWebSocket [Debug]
> Check Dependencies
> Building RNVectorIcons/RNVectorIcons [Debug]
> Check Dependencies
> Building RCTNetwork/RCTNetwork [Debug]
> Check Dependencies
> Building RCTVibration/RCTVibration [Debug]
> Check Dependencies
> Building RCTImage/RCTImage [Debug]
> Check Dependencies
> Building RCTSettings/RCTSettings [Debug]
> Check Dependencies
> Building RCTAnimation/RCTAnimation [Debug]
> Check Dependencies
> Building RCTLinking/RCTLinking [Debug]
> Check Dependencies
> Building RCTGeolocation/RCTGeolocation [Debug]
> Check Dependencies
> Building Spellcaster/Spellcaster [Debug]
> Check Dependencies
> Processing Info.plist
> Running script 'Bundle React Native code and images'
> Touching Spellcaster.app
> Signing build/Build/Products/Debug-iphonesimulator/Spellcaster.app
> Building Spellcaster/SpellcasterTests [Debug]
> Check Dependencies
> Processing Info.plist
> Linking SpellcasterTests
> Touching SpellcasterTests.xctest
> Signing build/Build/Products/Debug-iphonesimulator/Spellcaster.app/PlugIns/SpellcasterTests.xctest
> Build Succeeded
Installing build/Build/Products/Debug-iphonesimulator/Spellcaster.app
Launching org.reactjs.native.example.Spellcaster
org.reactjs.native.example.Spellcaster: 2188
[Debug] Finished executing: react-native run-ios --simulator iPhone 5s --no-packager
Output of the Debug Console (View -> Toggle Debug Console)
OS: darwin x64
Adapter node: v7.9.0 x64
vscode-chrome-debug-core: 3.18.4
From client: initialize({"clientID":"vscode","adapterID":"reactnative","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en-us"})
To client: {"seq":0,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"exceptionBreakpointFilters":[{"label":"All Exceptions","filter":"all","default":false},{"label":"Uncaught Exceptions","filter":"uncaught","default":true}],"supportsConfigurationDoneRequest":true,"supportsSetVariable":true,"supportsConditionalBreakpoints":true,"supportsCompletionsRequest":true,"supportsHitConditionalBreakpoints":true,"supportsRestartFrame":true,"supportsExceptionInfoRequest":true,"supportsDelayedStackTraceLoading":true,"supportsValueFormattingOptions":true}}
Could not debug. Unknown error
To client: {"seq":0,"type":"event","event":"terminated"}
From client: disconnect({"restart":false})
Output of the React-Native output channel (View -> Toggle Output -> Select React-Native in ListBox)
[Debug] Extension messaging server started at /tmp/vscode-reactnative-31e804f41d7dfdc1a7569ee9dca1c8804b6ed3b9fd0d4ba95da3ca6dea0710d7.sock.
[Info] Starting Packager
[Debug] Executing command: react-native start --port 8081
Scanning folders for symlinks in /Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2/node_modules (6ms)
┌────────────────────────────────────────────────────────────────────────────┐
│ Running Metro Bundler on port 8081. │
│ │
│ Keep Metro Bundler running while developing on any JS projects. Feel │
│ free to close this tab and run your own Metro Bundler instance if you │
│ prefer. │
│ │
│ https://github.com/facebook/react-native │
│ │
└────────────────────────────────────────────────────────────────────────────┘
Looking for JS files in
/Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2
Metro Bundler ready.
[Info] Packager started.
[Info] Prewarming bundle cache. This may take a while ...
[Info] Entry point at /Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2/index.ios.js doesn'tLog. exist. Skipping prewarming...
[Info] Building and running application.
Loading dependency graph, done.
[Error] Error: Unknown error
Starting custom debugger by executing: echo A debugger is not needed: "/Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2"
Bundling `index.js` [development, non-minified] 100.0% (2585/2585), done.
@rardoz
Please send your Debug iOS
configuration
{
"name": "Debug iOS",
"program": "${workspaceRoot}/.vscode/launchReactNative.js",
"type": "reactnative",
"request": "launch",
"platform": "ios",
"target": "iPhone 5s",
"sourceMaps": true,
"outDir": "${workspaceRoot}/.vscode/.react",
"trace": "verbose"
},
@rardoz could you please make test project so that I can repro
Will take a look, thanks!
All works good! Just run:
> npm install
> react-native eject
And after that run Debug iOS
configuration
react-native tools: 0.5.2 code: 1.18.0 node: 8.6.0 yarn: 0.15.1
OS: darwin x64
Adapter node: v7.9.0 x64
vscode-chrome-debug-core: 3.18.4
Starting debugger app worker.
Established a connection with the Proxy (Packager) to the React Native application
Debugger worker loaded runtime on port 21134
Running application Spellcaster ({
RCTLog.js:48
initialProps = {
};
rootTag = 1;
})
Running application "Spellcaster" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF
infoLog.js:17
[PERF ASSETS] Loading image at size {750, 1500}, which is larger than the screen size {750, 1334}
RCTLog.js:48
Still not working. I wonder if it is a homebrew package thats messing things up. How do I get more info on the unkown error? There are no details.
You can change that file:
$HOME/.vscode/extensions/vsmobile.vscode-react-native-0.5.2/src/debugger/nodeDebugWrapper.js
at line 61 and 137:
Use whole error
to log.
I also noticed the same problem on react-native 0.50.x, and it works find on 0.49.x - may be something changed in a way it works on 0.50.
@atkit
Could you please change nodeDebugWrapper.js
as mentioned above and paste output here?
@iTOYS for some reason I'm not getting any logs from there, do I need to reload extension somehow after change?
Yes please
@iTOYS I think I figure out, here is an output of error:
{"code":-32603,"message":"InternalError: Internal Error when calling 'Extension.launch'","data":"Unknown error"}
Happens on line 60. P.S. I just created new app with react-native init and tried to run it.
Environment:
OS: macOS High Sierra 10.13.1
Node: 8.6.0
Yarn: 1.2.1
npm: 5.4.2
Watchman: 4.9.0
Xcode: Xcode 9.1 Build version 9B55
Android Studio: 3.0 AI-171.4408382
Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: 0.50.3 => 0.50.3
That exactly what I do!
Do you have the same issue with "Debug Android" configuration?
@iTOYS issue on iOS still exist, on Android I never run it from VSCode honestly. (but I will try tomorrow)
Debugging with inspector protocol because Node.js v8.9.0 was detected.
node --inspect-brk=4796 --harmony src/debugger/reactNativeDebugEntryPoint.js --server=4712
Debugger listening on ws://127.0.0.1:4796/f3db2859-b660-4cec-a9c1-08f1dd397da5
Debugger attached.
Error processing "setBreakpoints": TypeError: Cannot read property 'mappedPath' of undefined
at EagerSourceMapTransformer.setBreakpoints (/Users/rardoz/.vscode-insiders/extensions/ms-vscode.node-debug2-1.18.4/node_modules/vscode-chrome-debug-core/out/src/transformers/baseSourceMapTransformer.js:63:23)
at validateBreakpointsPath.then (/Users/rardoz/.vscode-insiders/extensions/ms-vscode.node-debug2-1.18.4/node_modules/vscode-chrome-debug-core/out/src/chrome/chromeDebugAdapter.js:827:40)
at <anonymous>
Error processing "setBreakpoints": TypeError: Cannot read property 'mappedPath' of undefined
at EagerSourceMapTransformer.setBreakpoints (/Users/rardoz/.vscode-insiders/extensions/ms-vscode.node-debug2-1.18.4/node_modules/vscode-chrome-debug-core/out/src/transformers/baseSourceMapTransformer.js:63:23)
at validateBreakpointsPath.then (/Users/rardoz/.vscode-insiders/extensions/ms-vscode.node-debug2-1.18.4/node_modules/vscode-chrome-debug-core/out/src/chrome/chromeDebugAdapter.js:827:40)
at <anonymous>
Error processing "setBreakpoints": TypeError: Cannot read property 'mappedPath' of undefined
at EagerSourceMapTransformer.setBreakpoints (/Users/rardoz/.vscode-insiders/extensions/ms-vscode.node-debug2-1.18.4/node_modules/vscode-chrome-debug-core/out/src/transformers/baseSourceMapTransformer.js:63:23)
at validateBreakpointsPath.then (/Users/rardoz/.vscode-insiders/extensions/ms-vscode.node-debug2-1.18.4/node_modules/vscode-chrome-debug-core/out/src/chrome/chromeDebugAdapter.js:827:40)
at <anonymous>
Error processing "setBreakpoints": Could not resolve breakpoint
waiting for debug protocol on port 4712
/Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Electron --debugBrkPluginHost=19574 --debugId=6943ca20-3455-48f3-9f43-eeda291f26ba --extensionDevelopmentPath=/Users/rardoz/Documents/ZARDOZ/forks/vscode-react-native
Error processing "setBreakpoints": TypeError: Cannot read property 'mappedPath' of undefined
at EagerSourceMapTransformer.setBreakpoints (/Users/rardoz/.vscode-insiders/extensions/ms-vscode.node-debug2-1.18.4/node_modules/vscode-chrome-debug-core/out/src/transformers/baseSourceMapTransformer.js:63:23)
at validateBreakpointsPath.then (/Users/rardoz/.vscode-insiders/extensions/ms-vscode.node-debug2-1.18.4/node_modules/vscode-chrome-debug-core/out/src/chrome/chromeDebugAdapter.js:827:40)
at <anonymous>
Error processing "setBreakpoints": TypeError: Cannot read property 'mappedPath' of undefined
at EagerSourceMapTransformer.setBreakpoints (/Users/rardoz/.vscode-insiders/extensions/ms-vscode.node-debug2-1.18.4/node_modules/vscode-chrome-debug-core/out/src/transformers/baseSourceMapTransformer.js:63:23)
at validateBreakpointsPath.then (/Users/rardoz/.vscode-insiders/extensions/ms-vscode.node-debug2-1.18.4/node_modules/vscode-chrome-debug-core/out/src/chrome/chromeDebugAdapter.js:827:40)
at <anonymous>
Error processing "setBreakpoints": TypeError: Cannot read property 'mappedPath' of undefined
at EagerSourceMapTransformer.setBreakpoints (/Users/rardoz/.vscode-insiders/extensions/ms-vscode.node-debug2-1.18.4/node_modules/vscode-chrome-debug-core/out/src/transformers/baseSourceMapTransformer.js:63:23)
at validateBreakpointsPath.then (/Users/rardoz/.vscode-insiders/extensions/ms-vscode.node-debug2-1.18.4/node_modules/vscode-chrome-debug-core/out/src/chrome/chromeDebugAdapter.js:827:40)
at <anonymous>
[EditorConfig.EditorConfig] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'editor.detectIndentation', provide the URI of a resource or 'null' for any resource.
Looking for parseable documents...
[chenxsan.vscode-standardjs] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'standard.semistandard', provide the URI of a resource or 'null' for any resource.
[chenxsan.vscode-standardjs] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'standard.semistandard', provide the URI of a resource or 'null' for any resource.
vscode-icons is active!
Congratulations, your extension "webpack-progress" is now active!
[2017-11-17T08:07:45.684Z] [INFO] nuclide - Path to Flow: flow
[chenxsan.vscode-standardjs] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'standard._legacyModuleResolve', provide the URI of a resource or 'null' for any resource.
[chenxsan.vscode-standardjs] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'standard.nodePath', provide the URI of a resource or 'null' for any resource.
[dbaeumer.vscode-eslint] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'eslint._legacyModuleResolve', provide the URI of a resource or 'null' for any resource.
[dbaeumer.vscode-eslint] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'eslint.nodePath', provide the URI of a resource or 'null' for any resource.
Found all parseable documents.
Parsing documents and looking for CSS class definitions...
[chenxsan.vscode-standardjs] Accessing a window scoped configuration for a resource is not expected. To associate 'standard.usePackageJson' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.
Summary:
57 parseable documents found
620 CSS class definitions found
190 unique CSS class definitions found
5 failed attempts to parse. List of the documents:
This part is interesting. There was a point when the debugger was writing out files to the .react folder. The odd thing was there was some raw html floating right before the final call in debuggerWorker.js:
<!doctype><html>...</html>
// Notify debugger that we're done with loading
// and started listening for IPC messages
postMessage({workerLoaded:true});
I believe this was happening on the previous version. I since updated and now the file does not generate. The error was the syntax. I think this might be related to the failed attempts to parse error.
5 failed attempts to parse. List of the documents:
/Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2/node_modules/errorhandler/public/error.html: {"reason":"selector missing","line":1,"column":1,"source":"{style}"}
/Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2/node_modules/serve-index/public/directory.html: {"reason":"selector missing","line":1,"column":1,"source":"{style}"}
/Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2/node_modules/convert-source-map/test/fixtures/map-file-comment-double-slash.css: {"reason":"missing '{'","line":15,"column":1,"source":""}
/Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2/node_modules/react-native/third-party/folly-2016.09.26.00/folly/docs/style.css: {"reason":"missing '{'","line":8,"column":1,"source":""}
/Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2/node_modules/react-native/third-party/glog-0.3.4/doc/glog.html: {"reason":"missing '{'","line":15,"column":1,"source":""}
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
>> accepted connection from client
OS: darwin x64
Adapter node: v8.9.0 x64
vscode-chrome-debug-core: 3.18.4
From client: initialize({"clientID":"vscode","adapterID":"reactnative","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en-us"})
To client: {"seq":0,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"exceptionBreakpointFilters":[{"label":"All Exceptions","filter":"all","default":false},{"label":"Uncaught Exceptions","filter":"uncaught","default":true}],"supportsConfigurationDoneRequest":true,"supportsSetVariable":true,"supportsConditionalBreakpoints":true,"supportsCompletionsRequest":true,"supportsHitConditionalBreakpoints":true,"supportsRestartFrame":true,"supportsExceptionInfoRequest":true,"supportsDelayedStackTraceLoading":true,"supportsValueFormattingOptions":true}}
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
ApplicationInsights:Sender
Array[1]
(node:42349) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
Could not debug. ROBERT 1: {"code":-32603,"message":"InternalError: Internal Error when calling 'Extension.launch'","data":"Unknown error"}
To client: {"seq":0,"type":"event","event":"terminated"}
From client: disconnect({"restart":false})
shutdown ignored in server mode
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"debugStopped","data":{"reason":"Got disconnect request"}}}
To client: {"seq":0,"type":"response","request_seq":3,"command":"disconnect","success":true}
>> client connection closed
shutdown ignored in server mode
>> accepted connection from client
shutdown ignored in server mode
OS: darwin x64
shutdown ignored in server mode
shutdown ignored in server mode
shutdown ignored in server mode
Adapter node: v8.9.0 x64
vscode-chrome-debug-core: 3.18.4
shutdown ignored in server mode
shutdown ignored in server mode
From client: initialize({"clientID":"vscode","adapterID":"reactnative","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en-us"})
To client: {"seq":0,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"exceptionBreakpointFilters":[{"label":"All Exceptions","filter":"all","default":false},{"label":"Uncaught Exceptions","filter":"uncaught","default":true}],"supportsConfigurationDoneRequest":true,"supportsSetVariable":true,"supportsConditionalBreakpoints":true,"supportsCompletionsRequest":true,"supportsHitConditionalBreakpoints":true,"supportsRestartFrame":true,"supportsExceptionInfoRequest":true,"supportsDelayedStackTraceLoading":true,"supportsValueFormattingOptions":true}}
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
[vsmobile.vscode-react-native] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'react-native-tools.logLevel', provide the URI of a resource or 'null' for any resource.
Could not debug. ROBERT 1: {"code":-32603,"message":"InternalError: Internal Error when calling 'Extension.launch'","data":"Unknown error"}
To client: {"seq":0,"type":"event","event":"terminated"}
From client: disconnect({"restart":false})
shutdown ignored in server mode
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"debugStopped","data":{"reason":"Got disconnect request"}}}
To client: {"seq":0,"type":"response","request_seq":3,"command":"disconnect","success":true}
>> client connection closed
shutdown ignored in server mode
I will look into this more tomorrow. But I think the error is between these functions in parse-engine-gateway.js
function createSimpleTextDocument(uri) {
return __awaiter(this, void 0, void 0, function* () {
let text = yield readFile(uri.fsPath);
let simpleDocument = {
languageId: uri.fsPath.split('.').pop(),
getText() {
return text;
}
};
return simpleDocument;
});
}
class ParseEngineGateway {
static callParser(uri) {
return __awaiter(this, void 0, void 0, function* () {
let textDocument = yield createSimpleTextDocument(uri);
let parseEngine = parse_engine_registry_1.default.getParseEngine(textDocument.languageId);
let cssClassDefinitions = yield parseEngine.parse(textDocument);
return cssClassDefinitions;
});
}
}
I'm not sure. That is another extension https://marketplace.visualstudio.com/items?itemName=Zignd.html-css-class-completion
However you can try to disable its and check
Guys, looks like I've found problem!
Its working again. Thanks for your help guys!
Glad to hear that!
Works for me as well, thank you
I am still getting the following when I try to debug on iOS:
OS: darwin x64
Adapter node: v7.9.0 x64
vscode-chrome-debug-core: 3.18.5
Could not debug. Unknown error: not all success patterns were matched
I am using 0.5.7
of React Native Tools extension and react-native-cli: 2.0.1
, react-native: 0.47.2
. Please help!
Hi @ishiestar Please paste your Output of the "React Native: Run Ios" output channel (View -> Toggle Output -> Select "React Native: Run Ios" in ListBox) here
Hello @iTOYS Here is the complete output of React Native: Run Ios:
[Info] Starting Packager
Scanning 609 folders for symlinks in /Users/dummy/projects/app_name/node_modules (6ms)
┌────────────────────────────────────────────────────────────────────────────┐
│ Running packager on port 8081. │
│ │
│ Keep this packager running while developing on any JS projects. Feel │
│ free to close this tab and run your own packager instance if you │
│ prefer. │
│ │
│ https://github.com/facebook/react-native │
│ │
└────────────────────────────────────────────────────────────────────────────┘
Looking for JS files in
/Users/dummy/projects/app_name
React packager ready.
Loading dependency graph, done.
[Info] Packager started.
[Info] Prewarming bundle cache. This may take a while ...
[Info] About to get: http://localhost:8081/index.ios.bundle?platform=ios
Bundling `index.ios.js` [development, non-minified, hmr disabled] 100.0% (745/745), done.
[Warning] The Bundle Cache was prewarmed.
[Info] Building and running application.
Bundling `index.ios.js` [development, non-minified, hmr disabled] 100.0% (745/745), done.
[Error] Error: Unknown error: not all success patterns were matched
@ishiestar Looks like this is output from the React-Native output channel, not React Native: Run Ios
Yes, @iTOYS really sorry. Here is the correct output:
[Info] Starting React Native Packager.
[Info] Attaching to running React Native packager
Scanning 609 folders for symlinks in /Users/dummy/projects/app_name/node_modules (6ms)
Found Xcode workspace AppName.xcworkspace
CoreData: annotation: Failed to load optimized model at path '/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/Frameworks/InstrumentsPackaging.framework/Versions/A/Resources/XRPackageModel.momd/8.3 v2.omo'
We couldn't boot your defined simulator due to an already booted simulator. We are limited to one simulator launched at a time.
Launching iPhone 5s (iOS 10.3)...
Building using "xcodebuild -workspace AppName.xcworkspace -configuration Debug -scheme AppName -destination id=ECCE2E54-8C88-4298-8240-ABDE96287E1E -derivedDataPath build"
User defaults from command line:
IDEDerivedDataPathOverride = /Users/dummy/projects/app_name/ios/build
=== BUILD TARGET yoga OF PROJECT React WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET double-conversion OF PROJECT React WITH CONFIGURATION Debug ===
Check dependencies
PhaseScriptExecution Install\ Third\ Party /Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh
cd /Users/dummy/projects/app_name/node_modules/react-native/React
export ACTION=build
export AD_HOC_CODE_SIGNING_ALLOWED=YES
export ALTERNATE_GROUP=staff
export ALTERNATE_MODE=u+w,go-w,a+rX
export ALTERNATE_OWNER=dummy
export ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO
export ALWAYS_SEARCH_USER_PATHS=NO
export ALWAYS_USE_SEPARATE_HEADERMAPS=NO
export APPLE_INTERNAL_DEVELOPER_DIR=/AppleInternal/Developer
export APPLE_INTERNAL_DIR=/AppleInternal
export APPLE_INTERNAL_DOCUMENTATION_DIR=/AppleInternal/Documentation
export APPLE_INTERNAL_LIBRARY_DIR=/AppleInternal/Library
export APPLE_INTERNAL_TOOLS=/AppleInternal/Developer/Tools
export APPLICATION_EXTENSION_API_ONLY=NO
export APPLY_RULES_IN_COPY_FILES=NO
export ARCHS=x86_64
export ARCHS_STANDARD="i386 x86_64"
export ARCHS_STANDARD_32_64_BIT="i386 x86_64"
export ARCHS_STANDARD_32_BIT=i386
export ARCHS_STANDARD_64_BIT=x86_64
export ARCHS_STANDARD_INCLUDING_64_BIT="i386 x86_64"
export ARCHS_UNIVERSAL_IPHONE_OS="i386 x86_64"
export AVAILABLE_PLATFORMS="appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator"
export BITCODE_GENERATION_MODE=marker
export BUILD_ACTIVE_RESOURCES_ONLY=YES
export BUILD_COMPONENTS="headers build"
export BUILD_DIR=/Users/dummy/projects/app_name/ios/build/Build/Products
export BUILD_ROOT=/Users/dummy/projects/app_name/ios/build/Build/Products
export BUILD_STYLE=
export BUILD_VARIANTS=normal
export BUILT_PRODUCTS_DIR=/Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator
export CACHE_ROOT=/var/folders/gw/wxwr344n4gj3phyt48pzhth80000gn/C/com.apple.DeveloperTools/8.3.3-8E3004b/Xcode
export CCHROOT=/var/folders/gw/wxwr344n4gj3phyt48pzhth80000gn/C/com.apple.DeveloperTools/8.3.3-8E3004b/Xcode
export CHMOD=/bin/chmod
export CHOWN=/usr/sbin/chown
export CLANG_ANALYZER_NONNULL=YES
export CLANG_CXX_LANGUAGE_STANDARD=gnu++0x
export CLANG_CXX_LIBRARY=libc++
export CLANG_ENABLE_MODULES=YES
export CLANG_ENABLE_MODULE_DEBUGGING=NO
export CLANG_ENABLE_OBJC_ARC=YES
export CLANG_MODULES_BUILD_SESSION_FILE=/Users/dummy/projects/app_name/ios/build/ModuleCache/Session.modulevalidation
export CLANG_WARN_BOOL_CONVERSION=YES
export CLANG_WARN_CONSTANT_CONVERSION=YES
export CLANG_WARN_DIRECT_OBJC_ISA_USAGE=YES_ERROR
export CLANG_WARN_DOCUMENTATION_COMMENTS=YES
export CLANG_WARN_EMPTY_BODY=YES
export CLANG_WARN_ENUM_CONVERSION=YES
export CLANG_WARN_INFINITE_RECURSION=YES
export CLANG_WARN_INT_CONVERSION=YES
export CLANG_WARN_OBJC_ROOT_CLASS=YES_ERROR
export CLANG_WARN_SUSPICIOUS_MOVE=YES
export CLANG_WARN_SUSPICIOUS_MOVES=YES
export CLANG_WARN_UNREACHABLE_CODE=YES
export CLANG_WARN__DUPLICATE_METHOD_MATCH=YES
export CLASS_FILE_DIR=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/JavaClasses
export CLEAN_PRECOMPS=YES
export CLONE_HEADERS=NO
export CODESIGNING_FOLDER_PATH=/Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator/libdouble-conversion.a
export CODE_SIGNING_ALLOWED=NO
export CODE_SIGNING_REQUIRED=YES
export CODE_SIGN_CONTEXT_CLASS=XCiPhoneSimulatorCodeSignContext
export CODE_SIGN_IDENTITY=-
export COLOR_DIAGNOSTICS=NO
export COMBINE_HIDPI_IMAGES=NO
export COMMAND_MODE=legacy
export COMPOSITE_SDK_DIRS=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/CompositeSDKs
export COMPRESS_PNG_FILES=YES
export CONFIGURATION=Debug
export CONFIGURATION_BUILD_DIR=/Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator
export CONFIGURATION_TEMP_DIR=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator
export COPYING_PRESERVES_HFS_DATA=NO
export COPY_HEADERS_RUN_UNIFDEF=NO
export COPY_PHASE_STRIP=NO
export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS=YES
export CORRESPONDING_DEVICE_PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
export CORRESPONDING_DEVICE_PLATFORM_NAME=iphoneos
export CORRESPONDING_DEVICE_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk
export CORRESPONDING_DEVICE_SDK_NAME=iphoneos10.3
export CP=/bin/cp
export CREATE_INFOPLIST_SECTION_IN_BINARY=NO
export CURRENT_ARCH=x86_64
export CURRENT_VARIANT=normal
export DEAD_CODE_STRIPPING=YES
export DEBUGGING_SYMBOLS=YES
export DEBUG_INFORMATION_FORMAT=dwarf
export DEFAULT_COMPILER=com.apple.compilers.llvm.clang.1_0
export DEFAULT_KEXT_INSTALL_PATH=/System/Library/Extensions
export DEFINES_MODULE=NO
export DEPLOYMENT_LOCATION=NO
export DEPLOYMENT_POSTPROCESSING=NO
export DEPLOYMENT_TARGET_CLANG_ENV_NAME=IPHONEOS_DEPLOYMENT_TARGET
export DEPLOYMENT_TARGET_CLANG_FLAG_NAME=mios-simulator-version-min
export DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX=-mios-simulator-version-min=
export DEPLOYMENT_TARGET_SETTING_NAME=IPHONEOS_DEPLOYMENT_TARGET
export DEPLOYMENT_TARGET_SUGGESTED_VALUES="8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3"
export DERIVED_FILES_DIR=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/DerivedSources
export DERIVED_FILE_DIR=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/DerivedSources
export DERIVED_SOURCES_DIR=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/DerivedSources
export DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
export DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export DEVELOPER_FRAMEWORKS_DIR=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
export DEVELOPER_FRAMEWORKS_DIR_QUOTED=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
export DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Library
export DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
export DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Tools
export DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
export DEVELOPMENT_LANGUAGE=English
export DEVELOPMENT_TEAM=V9WTTPBFK9
export DO_HEADER_SCANNING_IN_JAM=NO
export DSTROOT=/tmp/React.dst
export DT_TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
export DWARF_DSYM_FILE_NAME=libdouble-conversion.a.dSYM
export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT=NO
export DWARF_DSYM_FOLDER_PATH=/Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator
export EFFECTIVE_PLATFORM_NAME=-iphonesimulator
export EMBEDDED_CONTENT_CONTAINS_SWIFT=NO
export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE=NO
export ENABLE_BITCODE=NO
export ENABLE_DEFAULT_HEADER_SEARCH_PATHS=YES
export ENABLE_HEADER_DEPENDENCIES=YES
export ENABLE_ON_DEMAND_RESOURCES=NO
export ENABLE_STRICT_OBJC_MSGSEND=YES
export ENABLE_TESTABILITY=YES
export ENTITLEMENTS_REQUIRED=YES
export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS=".DS_Store .svn .git .hg CVS"
export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES="*.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj"
export EXECUTABLE_EXTENSION=a
export EXECUTABLE_NAME=libdouble-conversion.a
export EXECUTABLE_PATH=libdouble-conv
ersion.a
export EXECUTABLE_PREFIX=lib
export EXECUTABLE_SUFFIX=.a
export EXPANDED_CODE_SIGN_IDENTITY=
export EXPANDED_CODE_SIGN_IDENTITY_NAME=
export EXPANDED_PROVISIONING_PROFILE=
export FILE_LIST=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/Objects/LinkFileList
export FIXED_FILES_DIR=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/FixedFiles
export FRAMEWORK_FLAG_PREFIX=-framework
export FRAMEWORK_SEARCH_PATHS="/Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator "
export FRAMEWORK_VERSION=A
export FULL_PRODUCT_NAME=libdouble-conversion.a
export GCC3_VERSION=3.3
export GCC_C_LANGUAGE_STANDARD=gnu99
export GCC_DYNAMIC_NO_PIC=NO
export GCC_NO_COMMON_BLOCKS=YES
export GCC_OBJC_LEGACY_DISPATCH=YES
export GCC_OPTIMIZATION_LEVEL=0
export GCC_PFE_FILE_C_DIALECTS="c objective-c c++ objective-c++"
export GCC_PREPROCESSOR_DEFINITIONS="DEBUG=1 RCT_DEBUG=1 RCT_DEV=1 RCT_NSASSERT=1"
export GCC_SYMBOLS_PRIVATE_EXTERN=NO
export GCC_TREAT_WARNINGS_AS_ERRORS=NO
export GCC_VERSION=com.apple.compilers.llvm.clang.1_0
export GCC_VERSION_IDENTIFIER=com_apple_compilers_llvm_clang_1_0
export GCC_WARN_64_TO_32_BIT_CONVERSION=YES
export GCC_WARN_ABOUT_MISSING_PROTOTYPES=YES
export GCC_WARN_ABOUT_RETURN_TYPE=YES_ERROR
export GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED=YES
export GCC_WARN_SHADOW=YES
export GCC_WARN_UNDECLARED_SELECTOR=YES
export GCC_WARN_UNINITIALIZED_AUTOS=YES_AGGRESSIVE
export GCC_WARN_UNUSED_FUNCTION=YES
export GCC_WARN_UNUSED_VARIABLE=YES
export GENERATE_MASTER_OBJECT_FILE=NO
export GENERATE_PKGINFO_FILE=NO
export GENERATE_PROFILING_CODE=NO
export GENERATE_TEXT_BASED_STUBS=NO
export GID=20
export GROUP=staff
export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT=YES
export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES=YES
export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS=YES
export HEADERMAP_INCLUDES_PROJECT_HEADERS=YES
export HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES=YES
export HEADERMAP_USES_VFS=NO
export HEADER_SEARCH_PATHS="/Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator/include "
export HIDE_BITCODE_SYMBOLS=YES
export HOME=/Users/dummy
export ICONV=/usr/bin/iconv
export INFOPLIST_EXPAND_BUILD_SETTINGS=YES
export INFOPLIST_OUTPUT_FORMAT=binary
export INFOPLIST_PREPROCESS=NO
export INLINE_PRIVATE_FRAMEWORKS=NO
export INSTALLHDRS_COPY_PHASE=NO
export INSTALLHDRS_SCRIPT_PHASE=NO
export INSTALL_DIR=/tmp/React.dst/usr/local/lib
export INSTALL_GROUP=staff
export INSTALL_MODE_FLAG=u+w,go-w,a+rX
export INSTALL_OWNER=dummy
export INSTALL_PATH=/usr/local/lib
export INSTALL_ROOT=/tmp/React.dst
export IPHONEOS_DEPLOYMENT_TARGET=8.0
export JAVAC_DEFAULT_FLAGS="-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8"
export JAVA_APP_STUB=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
export JAVA_ARCHIVE_CLASSES=YES
export JAVA_ARCHIVE_TYPE=JAR
export JAVA_COMPILER=/usr/bin/javac
export JAVA_FRAMEWORK_RESOURCES_DIRS=Resources
export JAVA_JAR_FLAGS=cv
export JAVA_SOURCE_SUBDIR=.
export JAVA_USE_DEPENDENCIES=YES
export JAVA_ZIP_FLAGS=-urg
export JIKES_DEFAULT_FLAGS="+E +OLDCSO"
export KEEP_PRIVATE_EXTERNS=NO
export LD_DEPENDENCY_INFO_FILE=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/double-conversion_dependency_info.dat
export LD_GENERATE_MAP_FILE=NO
export LD_MAP_FILE_PATH=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/double-conversion-LinkMap-normal-x86_64.txt
export LD_NO_PIE=NO
export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER=YES
export LEGACY_DEVELOPER_DIR=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
export LEX=lex
export LIBRARY_FLAG_NOSPACE=YES
export LIBRARY_FLAG_PREFIX=-l
export LIBRARY_KEXT_INSTALL_PATH=/Library/Extensions
export LIBRARY_SEARCH_PATHS="/Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator "
export LINKER_DISPLAYS_MANGLED_NAMES=NO
export LINK_FILE_LIST_normal_x86_64=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/double-conversion.LinkFileList
export LINK_WITH_STANDARD_LIBRARIES=YES
export LOCALIZABLE_CONTENT_DIR=
export LOCAL_ADMIN_APPS_DIR=/Applications/Utilities
export LOCAL_APPS_DIR=/Applications
export LOCAL_DEVELOPER_DIR=/Library/Developer
export LOCAL_LIBRARY_DIR=/Library
export LOCROOT=
export LOCSYMROOT=
export MACH_O_TYPE=staticlib
export MAC_OS_X_PRODUCT_BUILD_VERSION=17B1003
export MAC_OS_X_VERSION_ACTUAL=101301
export MAC_OS_X_VERSION_MAJOR=101300
export MAC_OS_X_VERSION_MINOR=1301
export METAL_LIBRARY_FILE_BASE=default
export METAL_LIBRARY_OUTPUT_DIR=/Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator/
export MODULE_CACHE_DIR=/Users/dummy/projects/app_name/ios/build/ModuleCache
export MTL_ENABLE_DEBUG_INFO=YES
export NATIVE_ARCH=i386
export NATIVE_ARCH_32_BIT=i386
export NATIVE_ARCH_64_BIT=x86_64
export NATIVE_ARCH_ACTUAL=x86_64
export NO_COMMON=YES
export OBJC_ABI_VERSION=2
export OBJECT_FILE_DIR=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/Objects
export OBJECT_FILE_DIR_normal=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal
export OBJROOT=/Users/dummy/projects/app_name/ios/build/Build/Intermediates
export ONLY_ACTIVE_ARCH=YES
export OS=MACOS
export OSAC=/usr/bin/osacompile
export OTHER_LDFLAGS=-ObjC
export PACKAGE_TYPE=com.apple.package-type.static-library
export PASCAL_STRINGS=YES
export PATH="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Tools:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/dummy/Library/Android/sdk/tools:/Users/dummy/Library/Android/sdk/platform-tools"
export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES="/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms"
export PFE_FILE_C_DIALECTS=c++
export PKGINFO_FILE_PATH=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/PkgInfo
export PLATFORM_DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications
export PLATFORM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platf
orm/Developer/usr/bin
export PLATFORM_DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
export PLATFORM_DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
export PLATFORM_DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools
export PLATFORM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr
export PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
export PLATFORM_DISPLAY_NAME="iOS Simulator"
export PLATFORM_NAME=iphonesimulator
export PLATFORM_PREFERRED_ARCH=x86_64
export PLIST_FILE_OUTPUT_FORMAT=binary
export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES
export PRECOMP_DESTINATION_DIR=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/PrefixHeaders
export PRESERVE_DEAD_CODE_INITS_AND_TERMS=NO
export PRIVATE_HEADERS_FOLDER_PATH=/usr/local/include/double-conversion
export PRODUCT_MODULE_NAME=double_conversion
export PRODUCT_NAME=double-conversion
export PRODUCT_SETTINGS_PATH=
export PRODUCT_TYPE=com.apple.product-type.library.static
export PROFILING_CODE=NO
export PROJECT=React
export PROJECT_DERIVED_FILE_DIR=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/DerivedSources
export PROJECT_DIR=/Users/dummy/projects/app_name/node_modules/react-native/React
export PROJECT_FILE_PATH=/Users/dummy/projects/app_name/node_modules/react-native/React/React.xcodeproj
export PROJECT_NAME=React
export PROJECT_TEMP_DIR=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build
export PROJECT_TEMP_ROOT=/Users/dummy/projects/app_name/ios/build/Build/Intermediates
export PUBLIC_HEADERS_FOLDER_PATH=/usr/local/include
export RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS=YES
export REMOVE_CVS_FROM_RESOURCES=YES
export REMOVE_GIT_FROM_RESOURCES=YES
export REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES=YES
export REMOVE_HG_FROM_RESOURCES=YES
export REMOVE_SVN_FROM_RESOURCES=YES
export REZ_COLLECTOR_DIR=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/ResourceManagerResources
export REZ_EXECUTABLE=YES
export REZ_OBJECTS_DIR=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/ResourceManagerResources/Objects
export REZ_SEARCH_PATHS="/Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator "
export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO
export SCRIPT_INPUT_FILE_COUNT=0
export SCRIPT_OUTPUT_FILE_COUNT=0
export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk
export SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk
export SDK_DIR_iphonesimulator10_3=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk
export SDK_NAME=iphonesimulator10.3
export SDK_NAMES=iphonesimulator10.3
export SDK_PRODUCT_BUILD_VERSION=14E8301
export SDK_VERSION=10.3
export SDK_VERSION_ACTUAL=100300
export SDK_VERSION_MAJOR=100000
export SDK_VERSION_MINOR=300
export SED=/usr/bin/sed
export SEPARATE_STRIP=YES
export SEPARATE_SYMBOL_EDIT=NO
export SET_DIR_MODE_OWNER_GROUP=YES
export SET_FILE_MODE_OWNER_GROUP=NO
export SHALLOW_BUNDLE=NO
export SHARED_DERIVED_FILE_DIR=/Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator/DerivedSources
export SHARED_PRECOMPS_DIR=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/PrecompiledHeaders
export SKIP_INSTALL=YES
export SOURCE_ROOT=/Users/dummy/projects/app_name/node_modules/react-native/React
export SRCROOT=/Users/dummy/projects/app_name/node_modules/react-native/React
export STRINGS_FILE_OUTPUT_ENCODING=binary
export STRIP_BITCODE_FROM_COPIED_FILES=NO
export STRIP_INSTALLED_PRODUCT=YES
export STRIP_STYLE=debugging
export SUPPORTED_DEVICE_FAMILIES=1,2
export SUPPORTED_PLATFORMS="iphonesimulator iphoneos"
export SUPPORTS_TEXT_BASED_API=NO
export SWIFT_PLATFORM_TARGET_PREFIX=ios
export SYMROOT=/Users/dummy/projects/app_name/ios/build/Build/Products
export SYSTEM_ADMIN_APPS_DIR=/Applications/Utilities
export SYSTEM_APPS_DIR=/Applications
export SYSTEM_CORE_SERVICES_DIR=/System/Library/CoreServices
export SYSTEM_DEMOS_DIR=/Applications/Extras
export SYSTEM_DEVELOPER_APPS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
export SYSTEM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
export SYSTEM_DEVELOPER_DEMOS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples"
export SYSTEM_DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export SYSTEM_DEVELOPER_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library"
export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools"
export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Java Tools"
export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Performance Tools"
export SYSTEM_DEVELOPER_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes"
export SYSTEM_DEVELOPER_TOOLS=/Applications/Xcode.app/Contents/Developer/Tools
export SYSTEM_DEVELOPER_TOOLS_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools"
export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools"
export SYSTEM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
export SYSTEM_DEVELOPER_UTILITIES_DIR=/Applications/Xcode.app/Contents/Developer/Applications/Utilities
export SYSTEM_DOCUMENTATION_DIR=/Library/Documentation
export SYSTEM_KEXT_INSTALL_PATH=/System/Library/Extensions
export SYSTEM_LIBRARY_DIR=/System/Library
export TAPI_VERIFY_MODE=ErrorsOnly
export TARGETED_DEVICE_FAMILY=1
export TARGETNAME=double-conversion
export TARGET_BUILD_DIR=/Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator
export TARGET_DEVICE_IDENTIFIER=ECCE2E54-8C88-4298-8240-ABDE96287E1E
export TARGET_DEVICE_MODEL=iPhone6,1
export TARGET_DEVICE_OS_VERSION=10.3.1
export TARGET_NAME=double-conversion
export TARGET_TEMP_DIR=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build
export TEMP_DIR=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build
export TEMP_FILES_DIR=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build
export TEMP_FILE_DIR=/Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build
export TEMP_ROOT=/Users/dummy/projects/app_name/ios/build/Build/Intermediates
export TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault
export TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
export TREAT_MISSING_BASELINES_AS_TEST_FAILURES=NO
export UID=501
export UNSTRIPPED_PRODUCT=NO
export USER=dummy
export USER_APPS_DIR=/Users/dummy/Applications
export USER_LIBRARY_DIR=/Users/ishit
asinha/Library
export USE_DYNAMIC_NO_PIC=YES
export USE_HEADERMAP=YES
export USE_HEADER_SYMLINKS=NO
export VALIDATE_PRODUCT=NO
export VALID_ARCHS="i386 x86_64"
export VERBOSE_PBXCP=NO
export VERSION_INFO_BUILDER=dummy
export VERSION_INFO_FILE=double-conversion_vers.c
export VERSION_INFO_STRING="\"@(#)PROGRAM:double-conversion PROJECT:React-\""
export WARNING_CFLAGS="-Wextra -Wall -Wno-semicolon-before-method-body"
export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES=NO
export XCODE_APP_SUPPORT_DIR=/Applications/Xcode.app/Contents/Developer/Library/Xcode
export XCODE_PRODUCT_BUILD_VERSION=8E3004b
export XCODE_VERSION_ACTUAL=0833
export XCODE_VERSION_MAJOR=0800
export XCODE_VERSION_MINOR=0830
export XPCSERVICES_FOLDER_PATH=/XPCServices
export YACC=yacc
export arch=x86_64
export variant=normal
/bin/sh -c /Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh
=== BUILD TARGET third-party OF PROJECT React WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET jschelpers OF PROJECT React WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET cxxreact OF PROJECT React WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET React OF PROJECT React WITH CONFIGURATION Debug ===
Check dependencies
PhaseScriptExecution Start\ Packager /Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Script-006B79A01A781F38006873D1.sh
cd /Users/dummy/projects/app_name/node_modules/react-native/React
/bin/sh -c /Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Script-006B79A01A781F38006873D1.sh
PhaseScriptExecution Include\ RCTJSCProfiler /Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Script-142C4F7F1B582EA6001F0B58.sh
cd /Users/dummy/projects/app_name/node_modules/react-native/React
/bin/sh -c /Users/dummy/projects/app_name/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Script-142C4F7F1B582EA6001F0B58.sh
=== BUILD TARGET RCTCameraRoll OF PROJECT RCTCameraRoll WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET RCTActionSheet OF PROJECT RCTActionSheet WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET AutoGrowTextInput OF PROJECT AutoGrowTextInput WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET RCTLinking OF PROJECT RCTLinking WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET RCTSettings OF PROJECT RCTSettings WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET RCTText OF PROJECT RCTText WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET RCTGeolocation OF PROJECT RCTGeolocation WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET RNVectorIcons OF PROJECT RNVectorIcons WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET Pods-AppName OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET RCTImage OF PROJECT RCTImage WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET RCTAnimation OF PROJECT RCTAnimation WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET RCTNetwork OF PROJECT RCTNetwork WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET RCTVibration OF PROJECT RCTVibration WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET RCTWebSocket OF PROJECT RCTWebSocket WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET AppName OF PROJECT AppName WITH CONFIGURATION Debug ===
Check dependencies
Warning: Multiple build commands for output file /Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator/AppName.app/Entypo.ttf
Warning: Multiple build commands for output file /Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator/AppName.app/EvilIcons.ttf
Warning: Multiple build commands for output file /Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator/AppName.app/FontAwesome.ttf
Warning: Multiple build commands for output file /Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator/AppName.app/Foundation.ttf
Warning: Multiple build commands for output file /Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator/AppName.app/Ionicons.ttf
Warning: Multiple build commands for output file /Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator/AppName.app/MaterialCommunityIcons.ttf
Warning: Multiple build commands for output file /Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator/AppName.app/MaterialIcons.ttf
Warning: Multiple build commands for output file /Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator/AppName.app/Octicons.ttf
Warning: Multiple build commands for output file /Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator/AppName.app/SimpleLineIcons.ttf
Warning: Multiple build commands for output file /Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator/AppName.app/Zocial.ttf
CpResource /Users/dummy/projects/app_name/node_modules/react-native-vector-icons/Fonts/Feather.ttf build/Build/Products/Debug-iphonesimulator/AppName.app/Feather.ttf
cd /Users/dummy/projects/app_name/ios
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/dummy/Library/Android/sdk/tools:/Users/dummy/Library/Android/sdk/platform-tools"
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/dummy/projects/app_name/node_modules/react-native-vector-icons/Fonts/Feather.ttf /Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator/AppName.app
error: /Users/dummy/projects/app_name/node_modules/react-native-vector-icons/Fonts/Feather.ttf: No such file or directory
CompileXIB AppName/Base.lproj/LaunchScreen.xib
cd /Users/dummy/projects/app_name/ios
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/dummy/Library/Android/sdk/tools:/Users/dummy/Library/Android/sdk/platform-tools"
export XCODE_DEVELOPER_USR_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin/..
/Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module AppName --output-partial-info-plist /Users/dummy/projects/app_name/ios/build/Build/Intermediates/AppName.build/Debug-iphonesimulator/AppName.build/LaunchScreen-PartialInfo.plist --auto-activate-custom-fonts --target-device iphone --minimum-deployment-target 8.0 --output-format human-readable-text --compile /Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator/AppName.app/Base.lproj/LaunchScreen.nib /Users/dummy/projects/app_name/ios/AppName/Base.lproj/LaunchScreen.xib
CompileAssetCatalog build/Build/Products/Debug-iphonesimulator/AppName.app AppName/Images.xcassets
cd /Users/dummy/projects/app_name/ios
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/dummy/Library/Android/sdk/tools:/Users/dummy/Library/Android/sdk/platform-tools"
/Applications/Xcode.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --notices --warnings --export-dependency-info /Users/dummy/projects/app_name/ios/build/Build/Intermediates/AppName.build/Debug-iphonesimulator/AppName.build/assetcatalog_dependencies --output-partial-info-plist /Users/dummy/projects/app_name/ios/build/Build/Intermediates/AppName.build/Debug-iphonesimulator/AppName.build/assetcatalog_generated_info.plist --app-icon AppIcon --launch-image LaunchImage --compress-pngs --enable-on-demand-resources YES --filter-for-device-model iPhone6,1 --filter-for-device-os-version 10.3.1 --sticker-pack-identifier-prefix com.package.appname.sticker-pack. --target-device iphone --minimum-deployment-target 8.0 --platform iphonesimulator --product-type com.apple.product-type.application --compile /Users/dummy/projects/app_name/ios/build/Build/Products/Debug-iphonesimulator/AppName.app /Users/dummy/projects/app_name/ios/AppName/Images.xcassets
** BUILD FAILED **
The following build commands failed:
CpResource /Users/dummy/projects/app_name/node_modules/react-native-vector-icons/Fonts/Feather.ttf build/Build/Products/Debug-iphonesimulator/AppName.app/Feather.ttf
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/AppName.app
Launching com.package.appname
com.package.appname: 5769
@iTOYS thanks for the debugging help. Removing react-native-vector-icons
from package.json worked. I will be looking at the output from the Run Ios configuration from now on. 🙂
You are welcome!
@iTOYS I run debug android and error: [Error] Error: Unknown error: not all success patterns were matched Pls help!
Hi @Donhv Please paste output of the "React Native: Run Android" output channel (View -> Toggle Output -> Select "React Native: Run Android" in ListBox) here.
Thanks!
@iTOYS The problem is on Run Android, I think. @Donhv Paste the output from the channel you're having the issue in. You'll probably fix it yourself if you see the output from that channel. :)
@ishiestar sure) thanks!
@ishiestar
@iTOYS
Thanks for yours help. I fix error by add:
export PATH=$PATH:$ANDROID_HOME
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools to 'bash_profile'.
Actual Behavior
I have tested the app with other debuggers and it works fine. I can validate that localhost:8081 returns 200. After going into a deep debugging rabbit hole, I discovered that the debuggerWorker.js file, the source maps, and the bundle code is not in the .react folder. The .react folder has nothing in it. However, when I select "Attach Debugger" the folder is no longer empty, debuggerWorker.js exists, and all the files are generated as expected. I can debug from there, but its kind of janky.
Expected Behavior
Software versions
Outputs (Include if relevant)
[Info] Starting Packager
[Debug] Executing command: react-native start --port 8081
Scanning folders for symlinks in /Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2/node_modules (7ms) ┌────────────────────────────────────────────────────────────────────────────┐ │ Running Metro Bundler on port 8081. │ │ │ │ Keep Metro Bundler running while developing on any JS projects. Feel │ │ free to close this tab and run your own Metro Bundler instance if you │ │ prefer. │ │ │ │ https://github.com/facebook/react-native │ │ │ └────────────────────────────────────────────────────────────────────────────┘ Looking for JS files in /Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2
Metro Bundler ready.
Loading dependency graph, done. [Info] Packager started.
[Info] Prewarming bundle cache. This may take a while ...
[Info] Entry point at /Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2/index.ios.js doesn'tLog. exist. Skipping prewarming...
[Info] Building and running application.
[Error] Error: Unknown error
Starting custom debugger by executing: echo A debugger is not needed: "/Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2" Bundling
index.js
[development, non-minified] 100.0% (2585/2585), done. Starting custom debugger by executing: echo A debugger is not needed: "/Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2" [Info] Packager is already running.[Info] Prewarming bundle cache. This may take a while ...
[Info] Entry point at /Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2/index.ios.js doesn'tLog. exist. Skipping prewarming...
[Info] Building and running application.
[Error] Error: Unknown error
Starting custom debugger by executing: echo A debugger is not needed: "/Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2" Starting custom debugger by executing: echo A debugger is not needed: "/Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2" [Info] Packager is already running.
[Info] Prewarming bundle cache. This may take a while ...
[Info] Entry point at /Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2/index.ios.js doesn'tLog. exist. Skipping prewarming...
[Info] Building and running application.
[Error] Error: Unknown error
Starting custom debugger by executing: echo A debugger is not needed: "/Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2" Starting custom debugger by executing: echo A debugger is not needed: "/Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2" Starting custom debugger by executing: echo A debugger is not needed: "/Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2" [Info] Packager is already running.
[Info] Prewarming bundle cache. This may take a while ...
[Info] Entry point at /Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2/index.ios.js doesn'tLog. exist. Skipping prewarming...
[Info] Building and running application.
[Error] Error: Unknown error
Starting custom debugger by executing: echo A debugger is not needed: "/Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2"
extensionService.ts:439 Overwriting extension /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/ms-vscode.node-debug2 with /Users/rardoz/.vscode-insiders/extensions/ms-vscode.node-debug2-1.18.4. mime.ts:59 Overwriting extension <<.jsx>> to now point to mime <<text/javascript>> (anonymous) @ mime.ts:59 mime.ts:59 Overwriting extension <<.jsx>> to now point to mime <<text/x-javascriptreact>> (anonymous) @ mime.ts:59 console.ts:123 [Extension Host] Looking for parseable documents... (at /Users/rardoz/.vscode-insiders/extensions/Zignd.html-css-class-completion-1.13.0/out/src/extension.js:25:21) console.ts:123 [Extension Host] vscode-icons is active! (at activate (/Users/rardoz/.vscode-insiders/extensions/robertohuertasm.vscode-icons-7.17.0/out/src/index.js:40:13)) console.ts:123 [Extension Host] Congratulations, your extension "webpack-progress" is now active! (at activate (/Users/rardoz/.vscode-insiders/extensions/wk-j.webpack-progress-0.0.8/out/src/extension.js:4:13)) console.ts:123 [Extension Host] Found all parseable documents. (at /Users/rardoz/.vscode-insiders/extensions/Zignd.html-css-class-completion-1.13.0/out/src/extension.js:32:21) console.ts:123 [Extension Host] Parsing documents and looking for CSS class definitions... (at /Users/rardoz/.vscode-insiders/extensions/Zignd.html-css-class-completion-1.13.0/out/src/extension.js:37:21) console.ts:123 [Extension Host] Summary: (at /Users/rardoz/.vscode-insiders/extensions/Zignd.html-css-class-completion-1.13.0/out/src/extension.js:57:21) console.ts:123 [Extension Host]% 57 parseable documents found (at /Users/rardoz/.vscode-insiders/extensions/Zignd.html-css-class-completion-1.13.0/out/src/extension.js:58:21) console.ts:123 [Extension Host]% 620 CSS class definitions found (at /Users/rardoz/.vscode-insiders/extensions/Zignd.html-css-class-completion-1.13.0/out/src/extension.js:59:21) console.ts:123 [Extension Host]% 190 unique CSS class definitions found (at /Users/rardoz/.vscode-insiders/extensions/Zignd.html-css-class-completion-1.13.0/out/src/extension.js:60:21) console.ts:123 [Extension Host]% 5 failed attempts to parse. List of the documents: (at /Users/rardoz/.vscode-insiders/extensions/Zignd.html-css-class-completion-1.13.0/out/src/extension.js:61:21) console.ts:123 [Extension Host] /Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2/node_modules/errorhandler/public/error.html /Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2/node_modules/convert-source-map/test/fixtures/map-file-comment-double-slash.css /Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2/node_modules/serve-index/public/directory.html /Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2/node_modules/react-native/third-party/glog-0.3.4/doc/glog.html /Users/rardoz/Documents/ZARDOZ/apps/spellcaster-v2/node_modules/react-native/third-party/folly-2016.09.26.00/folly/docs/style.css (at /Users/rardoz/.vscode-insiders/extensions/Zignd.html-css-class-completion-1.13.0/out/src/extension.js:62:21) console.ts:123 [Extension Host] (node:13237) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. (at process.on (internal/process/warning.js:21:17)) t.log @ console.ts:123 t._logExtensionHostMessage @ extensionHost.ts:377 (anonymous) @ extensionHost.ts:202 emitTwo @ events.js:106 emit @ events.js:194 process.nextTick @ internal/child_process.js:766 _combinedTickCallback @ internal/process/next_tick.js:73 _tickCallback @ internal/process/next_tick.js:104