Home  >  Article  >  Web Front-end  >  How to solve the problem that the less2css system cannot find the specified file

How to solve the problem that the less2css system cannot find the specified file

藏色散人
藏色散人Original
2021-01-28 09:29:052617browse

The solution to the problem that the less2css system cannot find the specified file: first use [win r] to open the run window; then install less globally through the command "npm install less -g"; and finally use it directly.

How to solve the problem that the less2css system cannot find the specified file

The operating environment of this tutorial: Windows 7 system, Sublime Text3&&css3 version, DELL G3 computer.

Recommendation: css video tutorial

How do I get the message "The system cannot find the specified file" after installing less2css in sublime?

Many people use sublime to install less2css and think it is successful. When they use it directly, they will report such an error

How to solve the problem that the less2css system cannot find the specified file

This is so confusing It turned out that the error was reported because lessc was not installed, and I found a simple way.

node npm can easily solve the problem by installing less globally

1. First [win r] open the running window

2. npm install less -g: install less globally (Please make sure you have installed the node.js npm environment)

How to solve the problem that the less2css system cannot find the specified file

3. After successful installation, you can use it directly

ps: Check whether it is installed If successful, you can directly check the command line

How to solve the problem that the less2css system cannot find the specified file

# and the problem will be solved! !

The above is the detailed content of How to solve the problem that the less2css system cannot find the specified file. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn