In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail how to run and fail when the nodejs on mac is not the default installation path of the system. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
Introduction
Sublime autoprefix css is a plug-in that automatically adds css compatibility prefixes to sublime.
problem
If nodejs on mac fails when it is not the default installation path of the system, node cannot be found
By looking at the readme description on autoprefix github, you know that the reason is that autoprefix can only load node through the "/ usr/local/bin" path in mac.
Solution.
Add a node soft connection under the "/ usr/local/bin" directory and jump to nodejs
Soft connection creation method:
Ln-s / Users/chris/node/node-v12.16.2-darwin-x64/bin/node / usr/local/bin/
At this point, the autoprefix css in sublime can run normally and add prefixes to css.
Prompt
Autoprefix css in sublime can only prefix pure css files, but files mixed with html and js cannot be added.
This is the end of the article on "what to do when nodejs on mac fails when it is not the default installation path of the system". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.