The Node.js Handbook
14. Accept input from the command line in Node 15. An introduction to the npm package manager 5 15.1. Introduction to npm 15.2. Downloads 15.2.1. Installing all dependencies 15.2.2. Installing a packages 15.3. Versioning 15.4. Running Tasks 16. Where does npm install the packages? 17. How to use or execute a package installed using npm 18. The package.json guide 18.1. The file structure 18.2 package-lock.json file 19.1. An example 20. Find the installed version of an npm package 6 21. Install an older version of an npm package 22. Update all the Node dependencies to their latest version 220 码力 | 161 页 | 1.66 MB | 1 年前3
BabelJS Tutorialset up the environment for BabelJS. To work with BabelJS we need following setup: ● NodeJS ● Npm ● Babel-CLI ● Babel-Preset ● IDE for writing code NodeJS To check if nodejs is installed Once nodejs is installed, npm will also be installed along with it. To check if npm is installed or not, type npm –v in the terminal. It should display the version of the npm. BabelJS directory called babelproject. Let us make use of nodejs to create the project details. We have used npm init to create the project as shown below: Here is the project structure that we created.0 码力 | 173 页 | 2.70 MB | 1 年前3
Learning Gulpstarted with gulp 2 Remarks 2 Versions 2 Examples 2 Installation or Setup 2 1. Install Node.js and NPM: 2 2. Install gulp globally: 2 3. Initialize your project directory: 3 4. Install gulp in your project Examples Installation or Setup 1. Install Node.js and NPM: Gulp requires Node.js and NPM, Node's package manager. Most installers include NPM with Node.js. Refer to the installation documentation or your terminal, npm -v // will return NPM version or error saying command not found 2. Install gulp globally: If you have previously installed a version of gulp globally, please run npm rm --global gulp0 码力 | 45 页 | 977.19 KB | 1 年前3
RxJS Tutorial.................................................................................. 3 NODEJS and NPM Installation ..................................................................................... following setup: NodeJS Npm RxJS package installation NODEJS and NPM Installation It is very easy to install RxJS using npm. You need to have nodejs and npm installed on your system. To To verify if NodeJS and npm is installed on your system, try to execute the following command in your command prompt. E:\>node -v && npm -v v10.15.1 6.4.1 In case you are getting the version, it0 码力 | 106 页 | 1.56 MB | 1 年前3
ThinkJS 2.2 Documentationcommand: npm install thinkjs@2 -g --verbose After installation, run thinkjs --version or thinkjs -V to check version number. Tips: If you have installed ThinkJS 1.x before, you need remove it by npm uninstall Install Node.js Install ThinkJS Update ThinkJS Bash npm install -g thinkjs@2 Update ThinkJS in you current project by run the following command: npm install thinkjs@2 After installation, you can create $ npm install run the app: $ npm start For more details about creating project, go to extension function -> ThinkJS command. After project creation, go to the project directory and run npm install0 码力 | 156 页 | 2.62 MB | 1 年前3
ThinkJS 2.1 Documentation-V to check version number. Tips: If you have installed ThinkJS 1.x before, you need remove it by npm uninstall -g thinkjs-cmd first of all. Update ThinkJS globally by run the following command: Update documentation Create project Install Node.js Install ThinkJS npm install thinkjs@2 -g --verbose Bash Update ThinkJS npm install -g thinkjs@2 Bash npm install thinkjs@2 Bash Create Project If you want to to the project directory and run npm install to install dependencies. Since v2.0.6, ThinkJS has built-in the automatical compiling feature, so you don’t need run npm run watch-compile for real time0 码力 | 148 页 | 1.69 MB | 1 年前3
The Next.js Handbook
latest LTS version listed on https://nodejs.org/. After you install Node.js, you will have the npm command available into your command line. If you have any trouble at this stage, I recommend the An introduction to the npm package manager Unix Shells Tutorial How to use the macOS terminal The Bash Shell Now that you have Node, updated to the latest version, and npm , we're set! We can choose , next ), sets the package.json to: 9 and you can immediately run the sample app by running npm run dev : 10 And here's the result on http://localhost:3000: 11 This is the recommended way to0 码力 | 54 页 | 2.61 MB | 1 年前3
ThinkJS 2.0 Documentation-V to check version number. Tips: If you have installed ThinkJS 1.x before, you need remove it by npm uninstall -g thinkjs-cmd first of all. Update ThinkJS globally by run the following command: Update documentation Create project Install Node.js Install ThinkJS npm install thinkjs@2 -g --verbose Bash Update ThinkJS npm install -g thinkjs@2 Bash npm install thinkjs@2 Bash Create Project thinkjs new project_path; to the project directory and run npm install to install dependencies. Since v2.0.6, ThinkJS has built-in the automatical compiling feature, so you don’t need run npm run watch-compile for real time0 码力 | 141 页 | 1.61 MB | 1 年前3
Angular 8 - Reviewedprerequisite first. Prerequisite As we know already, Angular is written in TypeScript. We need Node and npm to compile the files into JavaScript after that, we can deploy our application. For this purpose, than five minutes to install. npm is used to install Angular 8 CLI. Once Node.js is installed, npm is also installed. If you want verify it, type the below command: npm -v You could see the version version below: 6.14.4 Let’s install Angular 8 CLI using npm as follows: npm install -g @angular/cli@^8.0.0 To verify Angular 8 is properly installed on your machine, type the below command: ng version0 码力 | 231 页 | 4.00 MB | 1 年前3
Angular CLI TutorialCLI, we need to have it installed on our system. Let us use the following command for the same: npm install -g @angular/cli To create a new project, we can run the following command in the command World! Now, the Node is installed. You can run the following command to install Angular CLI. npm install -g @angular/cli Verify the installation Now, run the following command to see the result: the system path variable to include the following path. C:\Users\\AppData\Roaming\npm Angular CLI 6 This chapter explains the syntax, options of ng version command 0 码力 | 64 页 | 1.04 MB | 1 年前3
共 299 条
- 1
- 2
- 3
- 4
- 5
- 6
- 30













