An error occurred while installing karma on mac.

Source: Internet
Author: User

An error occurred while installing karma on mac.

Today I learned how to develop the marka test driver from angular, and installed it. The result is always prompted that the command cannot be found. For example:




I found some information and found that marka had little information. Finally, I found the problem.

The reason is that npm does not create a soft link to the Karam directory under the/usr/local/bin directory. Because the actual installation directory of Karma may be:/usr/local/lib/node_modules/karma

Solution: Create a soft link under the/usr/local/bin directory: sudo ln-s/usr/local/lib/node_modules/karma/bin/karma


After solution:


An error occurred while wiping the Windows System Disk Under Mac OS.

This is a system-installed drive. In the AMC system, it is regarded as a part of the system, so errors occur frequently. You can try to format it with a disk tool without a system. Method: Power + option boot, select the disk tool after the recovery disk is started. It should be enough. You don't need to be too complicated. You just need to create a partition. The format is mac OS extension.

An error occurred while installing mac OS x mavericks.

1. Start the computer again, press the option key, and then press command + R to access the internet.

2. Select to download the disk tool.

3. Go to the disk tool and erase all the ms-dos partitions.

4. Select the hard disk and click the partition on the right. Select 1 partition. Click "option" below and select "GUID ...".

5. Exit the disk tool and select mac OS x mavericks to install the tool. (do not restart the tool. Otherwise, download the disk tool again)

6. Start network installation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.