Home >Web Front-end >CSS Tutorial >How to solve the problem that the less2css system cannot find the specified file
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.
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
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)
3. After successful installation, you can use it directly
ps: Check whether it is installed If successful, you can directly check the command line
# 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!