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