forked from UnitTestBot/unittestbot.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-docs-develop-troubleshooting-md-59efa4f30e238d161375.js.map
1 lines (1 loc) · 4.88 KB
/
component---src-docs-develop-troubleshooting-md-59efa4f30e238d161375.js.map
1
{"version":3,"file":"component---src-docs-develop-troubleshooting-md-59efa4f30e238d161375.js","mappings":"6RAQaA,EAAe,Q,2OAC5B,IAAMC,EAAc,CAClBD,aAAAA,GAEIE,EAAYC,EAAAA,EACH,SAASC,EAAT,GAGZ,IAFDC,EAEC,EAFDA,WACGC,GACF,YACD,OAAO,QAACJ,GAAD,UAAeD,EAAiBK,EAAhC,CAAuCD,WAAYA,EAAYE,QAAQ,eAG5E,cACE,GAAM,6BADR,8BAGA,cACE,GAAM,0BADR,2BAGA,wDACA,oBAAK,gBAAMC,WAAW,MAClB,UAAa,kBADZ,gCAIL,gHACA,oBAAK,gBAAMA,WAAW,MAClB,UAAa,kBADZ,sDAKL,cACE,GAAM,qBADR,sBAGA,qDACA,oBAAK,gBAAMA,WAAW,MAClB,UAAa,kBADZ,oIAKL,oBAAK,gBAAMA,WAAW,MAClB,UAAa,kBADZ,qIAIL,+CACA,oBAAK,gBAAMA,WAAW,MAClB,UAAa,kBADZ,yDAIL,cACE,GAAM,qCADR,sCAGA,sDACA,oBAAK,gBAAMA,WAAW,MAClB,UAAa,kBADZ,yIAIL,uEACA,oBAAK,gBAAMA,WAAW,MAClB,UAAa,kBADZ,gDAIL,cACE,GAAM,mCADR,oCAGA,iFACA,oBAAK,gBAAMA,WAAW,OAAjB,6NAEL,kBAAG,aAAGA,WAAW,IACb,KAAQ,gFADT,6BAGH,cACE,GAAM,qCADR,sCAGA,mDACA,oBAAK,gBAAMA,WAAW,MAClB,UAAa,kBADZ,yDAIL,uJ,kOAMJJ,EAAWK,gBAAiB","sources":["webpack://unittestbot-web/./src/docs/develop/troubleshooting.md"],"sourcesContent":["import * as React from 'react'\n /* @jsx mdx */\nimport { mdx } from '@mdx-js/react';\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\n\nimport DefaultLayout from \"/home/user/Github/utbot-new-wiki/node_modules/gatsby-theme-docz/src/base/Layout.js\";\nexport const _frontmatter = {};\nconst layoutProps = {\n _frontmatter\n};\nconst MDXLayout = DefaultLayout;\nexport default function MDXContent({\n components,\n ...props\n}) {\n return <MDXLayout {...layoutProps} {...props} components={components} mdxType=\"MDXLayout\">\n\n\n <h2 {...{\n \"id\": \"troubleshooting-the-build\"\n }}>{`Troubleshooting the build`}</h2>\n <h3 {...{\n \"id\": \"read--i-invalid-option\"\n }}>{`Read -i invalid option`}</h3>\n <p>{`You can experience this on Mac OS:`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`read: -i: invalid option\n`}</code></pre>\n <p>{`It is because Mac OS has too old bash version. Upgrade bash version and set it to default:`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`brew install bash\nchsh -s /usr/local/bin/bash\n`}</code></pre>\n <h3 {...{\n \"id\": \"problem-with-grpc\"\n }}>{`Problem with gRPC`}</h3>\n <p>{`If you experience this problem:`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`--grpc_out: protoc-gen-grpc: Plugin failed with status code 1.\n/bin/grpc_cpp_plugin: program not found or is not executable\n`}</code></pre>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`ninja: error: 'protobuf/testgen.grpc.pb.h', needed by 'CMakeFiles/utbot.dir/main.cpp.o', missing and no known rule to make it\n`}</code></pre>\n <p>{`Copy the program to /bin:`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`cp /utbot_distr/install/bin/grpc_cpp_plugin /bin/\n`}</code></pre>\n <h3 {...{\n \"id\": \"error-while-mounting-empty-volume\"\n }}>{`Error while mounting empty volume`}</h3>\n <p>{`If this error happens on Mac OS:`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`docker: Error response from daemon: error while mounting volume '': VolumeDriver.Mount: exit status 1%!(EXTRA []interface {}=[]).\n`}</code></pre>\n <p>{`Remove the following line in utbot_docker_dev.sh:`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{` -v $MOUNT_LOCAL_NAME:/home/utbot/mnt \\\\\n`}</code></pre>\n <h3 {...{\n \"id\": \"failed-to-load-project-in-clion\"\n }}>{`Failed to load project in CLion`}</h3>\n <p>{`If error like this happens then you try load Cmake in CLion`}</p>\n <pre><code parentName=\"pre\" {...{}}>{`CMake File API: C:\\\\Users\\\\user\\\\work\\\\UTBotCpp\\\\server\\\\cmake-build-debug-remote-host-ml: target-gmock-Debug-0b6fa789e179f468efb4.json: no CMakeLists.txt file at '\\\\utbot_distr\\\\gtest\\\\googlemock\\\\CMakeLists.txt'\n`}</code></pre>\n <p><a parentName=\"p\" {...{\n \"href\": \"https://youtrack.jetbrains.com/issue/CPP-27998#focus=Comments-27-5697854.0-0\"\n }}>{`check solution in issue`}</a></p>\n <h3 {...{\n \"id\": \"error-when-run-plugin-in-debugger\"\n }}>{`Error when run plugin in debugger`}</h3>\n <p>{`If you experience this error:`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`command npm run watch terminated with exit code 1\n`}</code></pre>\n <p>{`Then there is compilation error and if it is not fixed the previous version of the code will run (debugger won't work\ncorrectly)`}</p>\n\n </MDXLayout>;\n}\n;\nMDXContent.isMDXComponent = true;\n "],"names":["_frontmatter","layoutProps","MDXLayout","DefaultLayout","MDXContent","components","props","mdxType","parentName","isMDXComponent"],"sourceRoot":""}