Home > Web Front-end > CSS Tutorial > 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

藏色散人
Release: 2022-12-30 11:12:50
Original
2641 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template