Facebook
From coderrsid, 2 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 115
  1. (base) myhost:joplin siddhantsehgal$ npm i
  2. npm WARN deprecated [email protected]: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that.
  3.  
  4. > root@ postinstall /Users/siddhantsehgal/Documents/joplin
  5. > npm run bootstrap --no-ci && npm run build
  6.  
  7.  
  8. > root@ bootstrap /Users/siddhantsehgal/Documents/joplin
  9. > lerna bootstrap --force-local --no-ci
  10.  
  11. lerna notice cli v3.22.1
  12. lerna info versioning independent
  13. lerna info Bootstrapping 15 packages
  14. lerna info Installing external dependencies
  15. lerna info Symlinking packages and binaries
  16. lerna info lifecycle @joplin/[email protected]~postinstall: @joplin/[email protected]
  17. lerna info lifecycle @joplin/[email protected]~postinstall: @joplin/[email protected]
  18. lerna info lifecycle @joplin/[email protected]~postinstall: @joplin/[email protected]
  19.  
  20. > @joplin/[email protected] postinstall /Users/siddhantsehgal/Documents/joplin/packages/app-clipper
  21. > cd popup && npm install
  22.  
  23. npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
  24. npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
  25. npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
  26. npm WARN deprecated [email protected]: this library is no longer supported
  27. npm WARN deprecated [email protected]: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
  28.  
  29. > [email protected] install /Users/siddhantsehgal/Documents/joplin/packages/app-clipper/popup/node_modules/fsevents
  30. > node install.js
  31.  
  32.   SOLINK_MODULE(target) Release/.node
  33.   CXX(target) Release/obj.target/fse/fsevents.o
  34.   SOLINK_MODULE(target) Release/fse.node
  35.  
  36. > [email protected] install /Users/siddhantsehgal/Documents/joplin/packages/app-clipper/popup/node_modules/react-scripts/node_modules/chokidar/node_modules/fsevents
  37. > node install.js
  38.  
  39.   SOLINK_MODULE(target) Release/.node
  40.   CXX(target) Release/obj.target/fse/fsevents.o
  41.   SOLINK_MODULE(target) Release/fse.node
  42.  
  43. > [email protected] postinstall /Users/siddhantsehgal/Documents/joplin/packages/app-clipper/popup/node_modules/babel-runtime/node_modules/core-js
  44. > node -e "try{require('./postinstall')}catch(e){}"
  45.  
  46. Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
  47.  
  48. The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
  49. > https://opencollective.com/core-js
  50. > https://www.patreon.com/zloirock
  51.  
  52. Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
  53.  
  54.  
  55. > [email protected] postinstall /Users/siddhantsehgal/Documents/joplin/packages/app-clipper/popup/node_modules/core-js
  56. > node -e "try{require('./postinstall')}catch(e){}"
  57.  
  58.  
  59. > [email protected] postinstall /Users/siddhantsehgal/Documents/joplin/packages/app-clipper/popup/node_modules/core-js-pure
  60. > node -e "try{require('./postinstall')}catch(e){}"
  61.  
  62.  
  63. > [email protected] postinstall /Users/siddhantsehgal/Documents/joplin/packages/app-clipper/popup
  64. > node postinstall.js && npm run build
  65.  
  66.  
  67. > [email protected] build /Users/siddhantsehgal/Documents/joplin/packages/app-clipper/popup
  68. > node scripts/build.js SKIP_PREFLIGHT_CHECK
  69.  
  70. Creating an optimized production build...
  71. Compiled successfully.
  72.  
  73. File sizes after gzip:
  74.  
  75.   47.62 KB  build/static/js/2.chunk.js
  76.   7.47 KB   build/static/js/main.chunk.js
  77.   804 B     build/static/css/main.chunk.css
  78.   775 B     build/static/js/runtime-main.js
  79.  
  80. The project was built assuming it is hosted at ./.
  81. You can control this with the homepage field in your package.json.
  82.  
  83. The build folder is ready to be deployed.
  84.  
  85. Find out more about deployment here:
  86.  
  87.   bit.ly/CRA-deploy
  88.  
  89. npm WARN @babel/[email protected] requires a peer of @babel/core@^7.12.0 but none is installed. You must install peer dependencies yourself.
  90. npm WARN @babel/[email protected] requires a peer of @babel/core@^7.13.0 but none is installed. You must install peer dependencies yourself.
  91. npm WARN [email protected] requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
  92. npm WARN [email protected] requires a peer of acorn@^6.0.0 || ^7.0.0 || ^8.0.0 but none is installed. You must install peer dependencies yourself.
  93. npm WARN The package fs-extra is included as both a dev and production dependency.
  94.  
  95. added 1708 packages from 803 contributors and audited 1713 packages in 91.248s
  96.  
  97. 102 packages are looking for funding
  98.   run `npm fund` for details
  99.  
  100. found 21 vulnerabilities (10 moderate, 11 high)
  101.   run `npm audit fix` to fix them, or `npm audit` for details
  102.  
  103. > @joplin/[email protected] postinstall /Users/siddhantsehgal/Documents/joplin/packages/app-desktop
  104. > npm run build
  105.  
  106.  
  107. > @joplin/[email protected] build /Users/siddhantsehgal/Documents/joplin/packages/app-desktop
  108. > gulp build
  109.  
  110. /Users/siddhantsehgal/Documents/joplin
  111. [18:32:01] Using gulpfile ~/Documents/joplin/packages/app-desktop/gulpfile.js
  112. [18:32:01] Starting 'build'...
  113. [18:32:01] Starting 'compileScripts'...
  114. [18:32:01] Starting 'compilePackageInfo'...
  115. [18:32:01] Starting 'copyPluginAssets'...
  116. [18:32:01] Starting 'copyTinyMceLangs'...
  117. [18:32:01] Starting 'updateIgnoredTypeScriptBuild'...
  118. Compiling /Users/siddhantsehgal/Documents/joplin/packages/app-desktop/tools/../gui/ClipperConfigScreen.jsx...
  119. Compiling /Users/siddhantsehgal/Documents/joplin/packages/app-desktop/tools/../gui/EncryptionConfigScreen.jsx...
  120. Compiling /Users/siddhantsehgal/Documents/joplin/packages/app-desktop/tools/../gui/ExtensionBadge.jsx...
  121. Compiling /Users/siddhantsehgal/Documents/joplin/packages/app-desktop/tools/../gui/HelpButton.jsx...
  122. Compiling /Users/siddhantsehgal/Documents/joplin/packages/app-desktop/tools/../gui/IconButton.jsx...
  123. Compiling /Users/siddhantsehgal/Documents/joplin/packages/app-desktop/tools/../gui/ImportScreen.jsx...
  124. Compiling /Users/siddhantsehgal/Documents/joplin/packages/app-desktop/tools/../gui/ItemList.jsx...
  125. Compiling /Users/siddhantsehgal/Documents/joplin/packages/app-desktop/tools/../gui/Navigator.jsx...
  126. Compiling /Users/siddhantsehgal/Documents/joplin/packages/app-desktop/tools/../gui/NotePropertiesDialog.jsx...
  127. Compiling /Users/siddhantsehgal/Documents/joplin/packages/app-desktop/tools/../gui/NoteRevisionViewer.jsx...
  128. Compiling /Users/siddhantsehgal/Documents/joplin/packages/app-desktop/tools/../gui/NoteSearchBar.jsx...
  129. Compiling /Users/siddhantsehgal/Documents/joplin/packages/app-desktop/tools/../gui/NoteStatusBar.jsx...
  130. Compiling /Users/siddhantsehgal/Documents/joplin/packages/app-desktop/tools/../gui/PromptDialog.jsx...
  131. Compiling /Users/siddhantsehgal/Documents/joplin/packages/app-desktop/tools/../gui/TagItem.jsx...
  132. Compiling /Users/siddhantsehgal/Documents/joplin/packages/app-desktop/tools/../gui/ToolbarSpace.jsx...
  133. Compiling /Users/siddhantsehgal/Documents/joplin/packages/app-desktop/tools/../gui/VerticalResizer.jsx...
  134. Copying to /Users/siddhantsehgal/Documents/joplin/packages/app-desktop/tools/../gui/note-viewer/pluginAssets
  135. Copying /Users/siddhantsehgal/Documents/joplin/packages/app-desktop/tools/../../../Assets/TinyMCE/langs => /Users/siddhantsehgal/Documents/joplin/packages/app-desktop/tools/../node_modules/tinymce/langs
  136. [18:32:11] Finished 'compileScripts' after 10 s
  137. [18:32:11] Finished 'compilePackageInfo' after 10 s
  138. [18:32:11] Finished 'updateIgnoredTypeScriptBuild' after 10 s
  139. Copying to /Users/siddhantsehgal/Documents/joplin/packages/app-desktop/tools/../pluginAssets
  140. [18:32:12] Finished 'copyTinyMceLangs' after 10 s
  141. [18:32:12] Finished 'copyPluginAssets' after 10 s
  142. [18:32:12] Finished 'build' after 10 s
  143.  
  144. > @joplin/[email protected] postinstall /Users/siddhantsehgal/Documents/joplin/packages/app-mobile
  145. > jetify && npm run build
  146.  
  147. Jetifier found 1288 file(s) to forward-jetify. Using 4 workers...
  148.  
  149. > @joplin/[email protected] build /Users/siddhantsehgal/Documents/joplin/packages/app-mobile
  150. > gulp build
  151.  
  152. [18:32:20] Using gulpfile ~/Documents/joplin/packages/app-mobile/gulpfile.js
  153. [18:32:20] Starting 'build'...
  154. [18:32:20] Starting 'buildReactNativeInjectedJs'...
  155. [18:32:20] Finished 'buildReactNativeInjectedJs' after 13 ms
  156. [18:32:20] Starting 'encodeAssets'...
  157. [18:32:20] Finished 'encodeAssets' after 264 ms
  158. [18:32:20] Starting 'podInstall'...
  159. Auto-linking React Native modules for target `Joplin`: RNCClipboard, RNCPushNotificationIOS, RNDateTimePicker, RNFS, RNFileViewer, RNQuickAction, RNSecureRandom, RNShare, RNVectorIcons, react-native-alarm-notification, react-native-camera, react-native-document-picker, react-native-geolocation, react-native-image-picker, react-native-image-resizer, react-native-netinfo, react-native-slider, react-native-sqlite-storage, react-native-version-info, react-native-webview, and rn-fetch-blob
  160. Analyzing dependencies
  161. Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
  162. Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`
  163. Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
  164. Downloading dependencies
  165. Installing CocoaAsyncSocket (7.6.4)
  166. Installing CocoaLibEvent (1.0.0)
  167. Installing DoubleConversion (1.1.6)
  168. Installing FBLazyVector (0.63.3)
  169. Installing FBReactNativeSpec (0.63.3)
  170. Installing Flipper (0.54.0)
  171. Installing Flipper-DoubleConversion (1.1.7)
  172. Installing Flipper-Folly (2.3.0)
  173. Installing Flipper-Glog (0.3.6)
  174. [!] /bin/bash -c
  175. set -e
  176. #!/bin/bash
  177. # Copyright (c) Facebook, Inc. and its affiliates.
  178. #
  179. # This source code is licensed under the MIT license found in the
  180. # LICENSE file in the root directory of this source tree.
  181.  
  182. set -e
  183.  
  184. PLATFORM_NAME="${PLATFORM_NAME:-iphoneos}"
  185. CURRENT_ARCH="${CURRENT_ARCH}"
  186.  
  187. if [ -z "$CURRENT_ARCH" ] || [ "$CURRENT_ARCH" == "undefined_arch" ]; then
  188.     # Xcode 10 beta sets CURRENT_ARCH to "undefined_arch", this leads to incorrect linker arg.
  189.     # it's better to rely on platform name as fallback because architecture differs between simulator and device
  190.  
  191.     if [[ "$PLATFORM_NAME" == *"simulator"* ]]; then
  192.         CURRENT_ARCH="x86_64"
  193.     else
  194.         CURRENT_ARCH="armv7"
  195.     fi
  196. fi
  197.  
  198. export CC="$(xcrun -find -sdk $PLATFORM_NAME cc) -arch $CURRENT_ARCH -isysroot $(xcrun -sdk $PLATFORM_NAME --show-sdk-path)"
  199. export CXX="$CC"
  200.  
  201. # Remove automake symlink if it exists
  202. if [ -h "test-driver" ]; then
  203.     rm test-driver
  204. fi
  205.  
  206. ./configure --host arm-apple-darwin
  207.  
  208. # Fix build for tvOS
  209. cat << EOF >> src/config.h
  210. /* Add in so we have Apple Target Conditionals */
  211. #ifdef __APPLE__
  212. #include <TargetConditionals.h>
  213. #include <Availability.h>
  214. #endif
  215. /* Special configuration for AppleTVOS */
  216. #if TARGET_OS_TV
  217. #undef HAVE_SYSCALL_H
  218. #undef HAVE_SYS_SYSCALL_H
  219. #undef OS_MACOSX
  220. #endif
  221. /* Special configuration for ucontext */
  222. #undef HAVE_UCONTEXT_H
  223. #undef PC_FROM_UCONTEXT
  224. #if defined(__x86_64__)
  225. #define PC_FROM_UCONTEXT uc_mcontext->__ss.__rip
  226. #elif defined(__i386__)
  227. #define PC_FROM_UCONTEXT uc_mcontext->__ss.__eip
  228. #endif
  229. EOF
  230.  
  231. # Prepare exported header include
  232. EXPORTED_INCLUDE_DIR="exported/glog"
  233. mkdir -p exported/glog
  234. cp -f src/glog/log_severity.h "$EXPORTED_INCLUDE_DIR/"
  235. cp -f src/glog/logging.h "$EXPORTED_INCLUDE_DIR/"
  236. cp -f src/glog/raw_logging.h "$EXPORTED_INCLUDE_DIR/"
  237. cp -f src/glog/stl_logging.h "$EXPORTED_INCLUDE_DIR/"
  238. cp -f src/glog/vlog_is_on.h "$EXPORTED_INCLUDE_DIR/"
  239.  
  240. checking for a BSD-compatible install... /usr/bin/install -c
  241. checking whether build environment is sane... yes
  242. checking for arm-apple-darwin-strip... no
  243. checking for strip... strip
  244. checking for a thread-safe mkdir -p... ./install-sh -c -d
  245. checking for gawk... no
  246. checking for mawk... no
  247. checking for nawk... no
  248. checking for awk... awk
  249. checking whether make sets $(MAKE)... yes
  250. checking whether make supports nested variables... yes
  251. checking for arm-apple-darwin-gcc... /Library/Developer/CommandLineTools/usr/bin/cc -arch armv7 -isysroot
  252. checking whether the C compiler works... no
  253. xcrun: error: SDK "iphoneos" cannot be located
  254. xcrun: error: SDK "iphoneos" cannot be located
  255. xcrun: error: SDK "iphoneos" cannot be located
  256. xcrun: error: unable to lookup item 'Path' in SDK 'iphoneos'
  257. /Users/siddhantsehgal/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing: Unknown `--is-lightweight' option
  258. Try `/Users/siddhantsehgal/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing --help' for more information
  259. configure: WARNING: 'missing' script is too old or missing
  260. configure: error: in `/Users/siddhantsehgal/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6':
  261. configure: error: C compiler cannot create executables
  262. See `config.log' for more details
  263. Could not run pod install { Error: Command failed with exit code 1: pod install
  264. Ignoring ffi-1.12.2 because its extensions are not built. Try: gem pristine ffi --version 1.12.2
  265. [!] The version of CocoaPods used to generate the lockfile (1.10.1) is higher than the version of the current executable (1.9.1). Incompatibility issues may arise.
  266. Auto-linking React Native modules for target `Joplin`: RNCClipboard, RNCPushNotificationIOS, RNDateTimePicker, RNFS, RNFileViewer, RNQuickAction, RNSecureRandom, RNShare, RNVectorIcons, react-native-alarm-notification, react-native-camera, react-native-document-picker, react-native-geolocation, react-native-image-picker, react-native-image-resizer, react-native-netinfo, react-native-slider, react-native-sqlite-storage, react-native-version-info, react-native-webview, and rn-fetch-blob
  267. Analyzing dependencies
  268. Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
  269. Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`
  270. Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
  271. Downloading dependencies
  272. Installing CocoaAsyncSocket (7.6.4)
  273. Installing CocoaLibEvent (1.0.0)
  274. Installing DoubleConversion (1.1.6)
  275. Installing FBLazyVector (0.63.3)
  276. Installing FBReactNativeSpec (0.63.3)
  277. Installing Flipper (0.54.0)
  278. Installing Flipper-DoubleConversion (1.1.7)
  279. Installing Flipper-Folly (2.3.0)
  280. Installing Flipper-Glog (0.3.6)
  281. [!] /bin/bash -c
  282. set -e
  283. #!/bin/bash
  284. # Copyright (c) Facebook, Inc. and its affiliates.
  285. #
  286. # This source code is licensed under the MIT license found in the
  287. # LICENSE file in the root directory of this source tree.
  288.  
  289. set -e
  290.  
  291. PLATFORM_NAME="${PLATFORM_NAME:-iphoneos}"
  292. CURRENT_ARCH="${CURRENT_ARCH}"
  293.  
  294. if [ -z "$CURRENT_ARCH" ] || [ "$CURRENT_ARCH" == "undefined_arch" ]; then
  295.     # Xcode 10 beta sets CURRENT_ARCH to "undefined_arch", this leads to incorrect linker arg.
  296.     # it's better to rely on platform name as fallback because architecture differs between simulator and device
  297.  
  298.     if [[ "$PLATFORM_NAME" == *"simulator"* ]]; then
  299.         CURRENT_ARCH="x86_64"
  300.     else
  301.         CURRENT_ARCH="armv7"
  302.     fi
  303. fi
  304.  
  305. export CC="$(xcrun -find -sdk $PLATFORM_NAME cc) -arch $CURRENT_ARCH -isysroot $(xcrun -sdk $PLATFORM_NAME --show-sdk-path)"
  306. export CXX="$CC"
  307.  
  308. # Remove automake symlink if it exists
  309. if [ -h "test-driver" ]; then
  310.     rm test-driver
  311. fi
  312.  
  313. ./configure --host arm-apple-darwin
  314.  
  315. # Fix build for tvOS
  316. cat << EOF >> src/config.h
  317. /* Add in so we have Apple Target Conditionals */
  318. #ifdef __APPLE__
  319. #include <TargetConditionals.h>
  320. #include <Availability.h>
  321. #endif
  322. /* Special configuration for AppleTVOS */
  323. #if TARGET_OS_TV
  324. #undef HAVE_SYSCALL_H
  325. #undef HAVE_SYS_SYSCALL_H
  326. #undef OS_MACOSX
  327. #endif
  328. /* Special configuration for ucontext */
  329. #undef HAVE_UCONTEXT_H
  330. #undef PC_FROM_UCONTEXT
  331. #if defined(__x86_64__)
  332. #define PC_FROM_UCONTEXT uc_mcontext->__ss.__rip
  333. #elif defined(__i386__)
  334. #define PC_FROM_UCONTEXT uc_mcontext->__ss.__eip
  335. #endif
  336. EOF
  337.  
  338. # Prepare exported header include
  339. EXPORTED_INCLUDE_DIR="exported/glog"
  340. mkdir -p exported/glog
  341. cp -f src/glog/log_severity.h "$EXPORTED_INCLUDE_DIR/"
  342. cp -f src/glog/logging.h "$EXPORTED_INCLUDE_DIR/"
  343. cp -f src/glog/raw_logging.h "$EXPORTED_INCLUDE_DIR/"
  344. cp -f src/glog/stl_logging.h "$EXPORTED_INCLUDE_DIR/"
  345. cp -f src/glog/vlog_is_on.h "$EXPORTED_INCLUDE_DIR/"
  346.  
  347. checking for a BSD-compatible install... /usr/bin/install -c
  348. checking whether build environment is sane... yes
  349. checking for arm-apple-darwin-strip... no
  350. checking for strip... strip
  351. checking for a thread-safe mkdir -p... ./install-sh -c -d
  352. checking for gawk... no
  353. checking for mawk... no
  354. checking for nawk... no
  355. checking for awk... awk
  356. checking whether make sets $(MAKE)... yes
  357. checking whether make supports nested variables... yes
  358. checking for arm-apple-darwin-gcc... /Library/Developer/CommandLineTools/usr/bin/cc -arch armv7 -isysroot
  359. checking whether the C compiler works... no
  360. xcrun: error: SDK "iphoneos" cannot be located
  361. xcrun: error: SDK "iphoneos" cannot be located
  362. xcrun: error: SDK "iphoneos" cannot be located
  363. xcrun: error: unable to lookup item 'Path' in SDK 'iphoneos'
  364. /Users/siddhantsehgal/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing: Unknown `--is-lightweight' option
  365. Try `/Users/siddhantsehgal/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing --help' for more information
  366. configure: WARNING: 'missing' script is too old or missing
  367. configure: error: in `/Users/siddhantsehgal/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6':
  368. configure: error: C compiler cannot create executables
  369. See `config.log' for more details
  370.     at makeError (/Users/siddhantsehgal/Documents/joplin/packages/app-mobile/node_modules/execa/lib/error.js:59:11)
  371.     at handlePromise (/Users/siddhantsehgal/Documents/joplin/packages/app-mobile/node_modules/execa/index.js:114:26)
  372.     at process._tickCallback (internal/process/next_tick.js:68:7)
  373.   shortMessage: 'Command failed with exit code 1: pod install',
  374.   command: 'pod install',
  375.   exitCode: 1,
  376.   signal: undefined,
  377.   signalDescription: undefined,
  378.   stdout:
  379.    'Auto-linking React Native modules for target `Joplin`: RNCClipboard, RNCPushNotificationIOS, RNDateTimePicker, RNFS, RNFileViewer, RNQuickAction, RNSecureRandom, RNShare, RNVectorIcons, react-native-alarm-notification, react-native-camera, react-native-document-picker, react-native-geolocation, react-native-image-picker, react-native-image-resizer, react-native-netinfo, react-native-slider, react-native-sqlite-storage, react-native-version-info, react-native-webview, and rn-fetch-blob\nAnalyzing dependencies\nFetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`\nFetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`\nFetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`\nDownloading dependencies\nInstalling CocoaAsyncSocket (7.6.4)\nInstalling CocoaLibEvent (1.0.0)\nInstalling DoubleConversion (1.1.6)\nInstalling FBLazyVector (0.63.3)\nInstalling FBReactNativeSpec (0.63.3)\nInstalling Flipper (0.54.0)\nInstalling Flipper-DoubleConversion (1.1.7)\nInstalling Flipper-Folly (2.3.0)\nInstalling Flipper-Glog (0.3.6)\n[!] /bin/bash -c \nset -e\n#!/bin/bash\n# Copyright (c) Facebook, Inc. and its affiliates.\n#\n# This source code is licensed under the MIT license found in the\n# LICENSE file in the root directory of this source tree.\n\nset -e\n\nPLATFORM_NAME="${PLATFORM_NAME:-iphoneos}"\nCURRENT_ARCH="${CURRENT_ARCH}"\n\nif [ -z "$CURRENT_ARCH" ] || [ "$CURRENT_ARCH" == "undefined_arch" ]; then\n    # Xcode 10 beta sets CURRENT_ARCH to "undefined_arch", this leads to incorrect linker arg.\n    # it\'s better to rely on platform name as fallback because architecture differs between simulator and device\n\n    if [[ "$PLATFORM_NAME" == *"simulator"* ]]; then\n        CURRENT_ARCH="x86_64"\n    else\n        CURRENT_ARCH="armv7"\n    fi\nfi\n\nexport CC="$(xcrun -find -sdk $PLATFORM_NAME cc) -arch $CURRENT_ARCH -isysroot $(xcrun -sdk $PLATFORM_NAME --show-sdk-path)"\nexport CXX="$CC"\n\n# Remove automake symlink if it exists\nif [ -h "test-driver" ]; then\n    rm test-driver\nfi\n\n./configure --host arm-apple-darwin\n\n# Fix build for tvOS\ncat << EOF >> src/config.h\n/* Add in so we have Apple Target Conditionals */\n#ifdef __APPLE__\n#include <TargetConditionals.h>\n#include <Availability.h>\n#endif\n/* Special configuration for AppleTVOS */\n#if TARGET_OS_TV\n#undef HAVE_SYSCALL_H\n#undef HAVE_SYS_SYSCALL_H\n#undef OS_MACOSX\n#endif\n/* Special configuration for ucontext */\n#undef HAVE_UCONTEXT_H\n#undef PC_FROM_UCONTEXT\n#if defined(__x86_64__)\n#define PC_FROM_UCONTEXT uc_mcontext->__ss.__rip\n#elif defined(__i386__)\n#define PC_FROM_UCONTEXT uc_mcontext->__ss.__eip\n#endif\nEOF\n\n# Prepare exported header include\nEXPORTED_INCLUDE_DIR="exported/glog"\nmkdir -p exported/glog\ncp -f src/glog/log_severity.h "$EXPORTED_INCLUDE_DIR/"\ncp -f src/glog/logging.h "$EXPORTED_INCLUDE_DIR/"\ncp -f src/glog/raw_logging.h "$EXPORTED_INCLUDE_DIR/"\ncp -f src/glog/stl_logging.h "$EXPORTED_INCLUDE_DIR/"\ncp -f src/glog/vlog_is_on.h "$EXPORTED_INCLUDE_DIR/"\n\nchecking for a BSD-compatible install... /usr/bin/install -c\nchecking whether build environment is sane... yes\nchecking for arm-apple-darwin-strip... no\nchecking for strip... strip\nchecking for a thread-safe mkdir -p... ./install-sh -c -d\nchecking for gawk... no\nchecking for mawk... no\nchecking for nawk... no\nchecking for awk... awk\nchecking whether make sets $(MAKE)... yes\nchecking whether make supports nested variables... yes\nchecking for arm-apple-darwin-gcc... /Library/Developer/CommandLineTools/usr/bin/cc -arch armv7 -isysroot \nchecking whether the C compiler works... no\nxcrun: error: SDK "iphoneos" cannot be located\nxcrun: error: SDK "iphoneos" cannot be located\nxcrun: error: SDK "iphoneos" cannot be located\nxcrun: error: unable to lookup item \'Path\' in SDK \'iphoneos\'\n/Users/siddhantsehgal/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing: Unknown `--is-lightweight\' option\nTry `/Users/siddhantsehgal/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing --help\' for more information\nconfigure: WARNING: \'missing\' script is too old or missing\nconfigure: error: in `/Users/siddhantsehgal/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6\':\nconfigure: error: C compiler cannot create executables\nSee `config.log\' for more details',
  380.   stderr:
  381.    'Ignoring ffi-1.12.2 because its extensions are not built. Try: gem pristine ffi --version 1.12.2\n[!] The version of CocoaPods used to generate the lockfile (1.10.1) is higher than the version of the current executable (1.9.1). Incompatibility issues may arise.',
  382.   failed: true,
  383.   timedOut: false,
  384.   isCanceled: false,
  385.   killed: false }
  386. [18:32:28] Finished 'podInstall' after 8.03 s
  387. [18:32:28] Finished 'build' after 8.31 s
  388. lerna info lifecycle @joplin/[email protected]~prepare: @joplin/[email protected]
  389. lerna info lifecycle @joplin/[email protected]~prepare: @joplin/[email protected]
  390. lerna info lifecycle @joplin/[email protected]~prepare: @joplin/[email protected]
  391.  
  392. > @joplin/[email protected] prepare /Users/siddhantsehgal/Documents/joplin/packages/turndown-plugin-gfm
  393. > npm run build
  394.  
  395.  
  396. > @joplin/[email protected] build /Users/siddhantsehgal/Documents/joplin/packages/turndown-plugin-gfm
  397. > rollup -c config/rollup.config.cjs.js
  398.  
  399.  
  400. src/gfm.js → lib/turndown-plugin-gfm.cjs.js...
  401. created lib/turndown-plugin-gfm.cjs.js in 59ms
  402.  
  403. > @joplin/[email protected] prepare /Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2
  404. > npm run build
  405.  
  406.  
  407. > @joplin/[email protected] build /Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2
  408. > tsc
  409.  
  410. src/FeedHandler.ts:151:48 - error TS2345: Argument of type 'import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domhandler/lib/node").Node | import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domhandler/lib/node").Node[]' is not assignable to parameter of type 'import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domutils/node_modules/domhandler/lib/node").Node | import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domutils/node_modules/domhandler/lib/node").Node[]'.
  411.   Type 'Node' is not assignable to type 'Node | Node[]'.
  412.     Type 'import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domhandler/lib/node").Node' is not assignable to type 'import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domutils/node_modules/domhandler/lib/node").Node'.
  413.  
  414. 151     return DomUtils.getElementsByTagName(what, where, true);
  415.                                                    ~~~~~
  416.  
  417. src/FeedHandler.ts:157:48 - error TS2345: Argument of type 'import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domhandler/lib/node").Node | import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domhandler/lib/node").Node[]' is not assignable to parameter of type 'import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domutils/node_modules/domhandler/lib/node").Node | import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domutils/node_modules/domhandler/lib/node").Node[]'.
  418.   Type 'Node' is not assignable to type 'Node | Node[]'.
  419.     Type 'import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domhandler/lib/node").Node' is not assignable to type 'import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domutils/node_modules/domhandler/lib/node").Node'.
  420.       Types of property 'parent' are incompatible.
  421.         Type 'import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domhandler/lib/node").NodeWithChildren | null' is not assignable to type 'import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domutils/node_modules/domhandler/lib/node").NodeWithChildren | null'.
  422.           Type 'import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domhandler/lib/node").NodeWithChildren' is not assignable to type 'import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domutils/node_modules/domhandler/lib/node").NodeWithChildren'.
  423.             The types returned by 'cloneNode(...)' are incompatible between these types.
  424.               Type 'Node' is not assignable to type 'T'.
  425.                 'T' could be instantiated with an arbitrary type which could be unrelated to 'Node'.
  426.  
  427. 157     return DomUtils.getElementsByTagName(what, where, true, 1)[0];
  428.                                                    ~~~~~
  429.  
  430. src/FeedHandler.ts:161:45 - error TS2345: Argument of type 'import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domhandler/lib/node").Node | import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domhandler/lib/node").Node[]' is not assignable to parameter of type 'import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domutils/node_modules/domhandler/lib/node").Node | import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domutils/node_modules/domhandler/lib/node").Node[]'.
  431.   Type 'Node' is not assignable to type 'Node | Node[]'.
  432.     Type 'import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domhandler/lib/node").Node' is not assignable to type 'import("/Users/siddhantsehgal/Documents/joplin/packages/fork-htmlparser2/node_modules/domutils/node_modules/domhandler/lib/node").Node'.
  433.  
  434. 161         DomUtils.getElementsByTagName(what, where, recurse, 1)
  435.                                                 ~~~~~
  436.  
  437.  
  438. Found 3 errors.
  439.  
  440. npm ERR! code ELIFECYCLE
  441. npm ERR! errno 2
  442. npm ERR! @joplin/[email protected] build: `tsc`
  443. npm ERR! Exit status 2
  444. npm ERR!
  445. npm ERR! Failed at the @joplin/[email protected] build script.
  446. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  447.  
  448. npm ERR! A complete log of this run can be found in:
  449. npm ERR!     /Users/siddhantsehgal/.npm/_logs/2021-06-21T13_02_40_476Z-debug.log
  450. lerna info lifecycle @joplin/[email protected]~prepare: Failed to exec prepare script
  451.  
  452. > @joplin/[email protected] prepare /Users/siddhantsehgal/Documents/joplin/packages/turndown
  453. > npm run build
  454.  
  455. npm ERR! code ELIFECYCLE
  456. npm ERR! errno 2
  457. npm ERR! root@ bootstrap: `lerna bootstrap --force-local --no-ci`
  458. npm ERR! Exit status 2
  459. npm ERR!
  460. npm ERR! Failed at the root@ bootstrap script.
  461. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  462.  
  463. npm ERR! A complete log of this run can be found in:
  464. npm ERR!     /Users/siddhantsehgal/.npm/_logs/2021-06-21T13_02_40_569Z-debug.log
  465. npm ERR! code ELIFECYCLE
  466. npm ERR! errno 2
  467. npm ERR! root@ postinstall: `npm run bootstrap --no-ci && npm run build`
  468. npm ERR! Exit status 2
  469. npm ERR!
  470. npm ERR! Failed at the root@ postinstall script.
  471. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  472.  
  473. npm ERR! A complete log of this run can be found in:
  474. npm ERR!     /Users/siddhantsehgal/.npm/_logs/2021-06-21T13_02_40_768Z-debug.log
  475. (base) myhost:joplin siddhantsehgal$
  476. > @joplin/[email protected] build /Users/siddhantsehgal/Documents/joplin/packages/turndown
  477. > rollup -c config/rollup.config.cjs.js
  478.  
  479.  
  480. src/turndown.js → lib/turndown.cjs.js...
  481. created lib/turndown.cjs.js in 229ms
  482.