In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
In this article, the editor introduces in detail how to install Angular on Ubuntu 18.04. the content is detailed, the steps are clear, and the details are handled properly. I hope this article "how to install Angular on Ubuntu 18.04" can help you solve your doubts.
Angular is a framework for building client applications using HTML,CSS and JavaScript / TypeScript. Angular can increase the reusability of code, make applications easier to test, and enable modular development.
Installation method:
1. Install nodejs sudo apt-get install nodejs sudo ln-s / usr/bin/nodejs / usr/bin/node node-v / / View version number problem 1:node could not download grpc error
Problem 1 solution:
Npm install-- save @ google-cloud/vision2. Install npm sudo apt install npm npm-v / / to see if the version number has been successfully downloaded and upgraded to the latest version
Npm install-g npm downloads the specified version
Npm-g install npm@x.x.x problem 1: permission problems with npm install permission denied
Problem 1 solution: it is solved by adding the sudo prefix. But did not fundamentally solve the problem, should change the authority to execute the file, I am really too lazy … So remember to add sudo every time you use npm install.
Question 2: my npm version is too high, the dependency package is not complete, when using npm install crazy error, tried to modify the configuration file and downgrade are invalid.
Solution to problem 2: use cnpm instead of npm.
/ / download cnpm npm install-g cnpm-- registry= http://registry.npm.taobao.org / / then use cnpm instead of npm cnpm install xxx / / synchronous download module cnpm sync connect3. Install express sudo npm install express-g / / Global download express sudo npm install express-generator-g / / install Application Generator 4. Set up a website to debug express-v / / check the version number express-e test cd test npm install npm start / / you can open a browser to visit 27.0.0.1 express 3000 / / page is a success 5. Download bower and download the related package sudo npm config set prefix / usr/local sudo npm install-g bower bower-v / check the version number / / download the related package bower install jquery-save bower install angualar-save bower install angular-bootstrap-save bower install angular-route-saveAngular framework-to make life easier for developers.
After reading this, the article "how to install Angular on Ubuntu 18.04" has been introduced. If you want to master the knowledge of this article, you still need to practice and use it yourself. If you want to know more about the article, please follow the industry information channel.
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.