macos-high-sierra

ERROR in Cannot find module 'node-sass'

萝らか妹 提交于 2019-11-28 03:52:41
Config: macOS High Sierra, version 10.13.2, node:v8.1.2 npm:5.0.3 When I run npm start in my angularjs project I get this error: ERROR in Cannot find module 'node-sass' After this I run: npm i node-sass Now I get this error: gyp: No Xcode or CLT version detected! gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 Why won't npm install node-sass? How can I install node-sass? Alex Onozor Here's the solution: sudo npm install --save-dev --unsafe-perm node-sass Enjoy! If thist doesn't work try to install from a mirror npm install -g mirror-config-china --registry= http:/

Is it possible to install Xcode 10.2 on High Sierra (10.13.6)?

梦想与她 提交于 2019-11-27 19:50:57
问题 I recently upgraded iOS in my iPhone device to 12.2 (to provide support of latest versions for my app "Match4app"), and this does not appear to be compatible with Xcode 10.1. Should I update Xcode to 10.2 ? In my Mac with High Sierra, when I click "Update" for Xcode, 10.2 is not available. I have found this link: https://support.apple.com/en-us/HT209606 With this comment: "Xcode 10.2 Released March 25, 2019 Kernel Available for: macOS High Sierra 10.13.6 or later" How can I install Xcode 10.2

Xdebug on macOS 10.13 with PHP 7

跟風遠走 提交于 2019-11-27 02:22:03
问题 So macOS High Sierra 10.13 now comes with PHP 7.1. While configuring Apache I also created a new /etc/php.ini from the /etc/php.ini.default file, made sure to check that is was being loaded by PHP after restarting Apache, however the version of Xdebug extension that ships with macOS 10.13 doesn't seem to load or show up when you run phpinfo(); My php.ini is definitely being loaded: $ php -i | grep php.ini Configuration File (php.ini) Path => /etc Loaded Configuration File => /etc/php.ini Here

How to enable Dark Mode for Xcode [duplicate]

徘徊边缘 提交于 2019-11-27 01:26:52
问题 This question already has an answer here: Is it possible to enable Dark Mode on Xcode 10 on High Sierra? 6 answers Apple announced a new Dark Mode for Xcode 10. I've downloaded the beta but now I can't find any option to turn it on. I'm currently on macOS 10.13 High Sierra. 回答1: On macOS 10.13 High Sierra and earlier The Dark Mode is only available on macOS 10.14 Mojave. On macOS 10.14 Mojave and later 1. On Installation: You'll get asked for the appearance as part of the installation of

ERROR in Cannot find module 'node-sass'

情到浓时终转凉″ 提交于 2019-11-26 23:58:51
问题 Config: macOS High Sierra, version 10.13.2, node:v8.1.2 npm:5.0.3 When I run npm start in my angularjs project I get this error: ERROR in Cannot find module 'node-sass' After this I run: npm i node-sass Now I get this error: gyp: No Xcode or CLT version detected! gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 Why won't npm install node-sass? How can I install node-sass? 回答1: Here's the solution: sudo npm install --save-dev --unsafe-perm node-sass Enjoy! If thist

Install intl PHP extension OSX High Sierra

狂风中的少年 提交于 2019-11-26 19:41:21
问题 How can I install intl PHP extension in PHP 7.1.7, which is delivered with osx high sierra? 回答1: So I had the exact same issue. As noted by other folks commenting here, High Sierra comes with PHP 7.1 installed and this PHP version has intl compiled with it In my case, I followed part of Neodork comment's in the following Valet+ issue: "Install" PHP 7.1 (so it comes from brew itself, not the one installed by High Sierra) brew install php@7.1 Upgrade it to latest version brew upgrade php@7.1

Command Line Tools not working - OS X El Capitan, Sierra, High Sierra, Mojave

人走茶凉 提交于 2019-11-26 09:40:34
I just upgraded from Yosemite to El Capitan (and replicated the problem upgrading from El Capitan to Sierra), and when I try to type for example git status inside a terminal, I get the following error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun I don't have Xcode installed, never did. Anyone have a solution? cuadraman Found the fix for the problem here . xcode-select --install This will bring up a prompt to install the necessary command line tools. Ryan Heitner If you have issues with

Command Line Tools not working - OS X El Capitan, Sierra, High Sierra, Mojave

谁都会走 提交于 2019-11-26 01:56:25
问题 I just upgraded from Yosemite to El Capitan (and replicated the problem upgrading from El Capitan to Sierra), and when I try to type for example git status inside a terminal, I get the following error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun I don\'t have Xcode installed, never did. Anyone have a solution? 回答1: Found the fix for the problem here. xcode-select --install This will

rJava load error in RStudio/R after “upgrading” to OSX Yosemite

泄露秘密 提交于 2019-11-25 23:05:40
问题 I recently \"upgraded\" from OSX Mountain Lion to Yosemite and from R 3.1.3 to 3.2. Immediately after the upgrade, when I opened R or RStudio I got a pop-up message saying that I needed to install Java 6. In addition, loading rJava or any package that depends on rJava (e.g., xlsx ) caused RStudio to crash (R also crashed when I tried this by opening R.app directly). After trying a few fixes found on Stack Overflow and elsewhere (more details below), I am at a point where loading rJava or any