LoginSignup
1
1

More than 5 years have passed since last update.

windowsにangular2環境構築

Last updated at Posted at 2018-04-04

nvm インストール

nvmインストール

Latest release版でインストールする

C:\nvmにインストールする

※日本語が入ると不都合が起こる事がある為

nvmでヘルプが表示されればOK

node インストール

nvm install 9.10.1
nvm use 9.10.1
node -v

v9.10.1が表示されればOK

npmをアップデートする

npm i npm -g
npm -v

最新versionが表示されればOK

もしエラーになったら下記で更新する。

cd C:\Program Files\nodejs
rm npm npm.cmd
mv node_modules/npm node_modules/npm2
node node_modules\npm2\bin\npm-cli.js i npm@latest -g
rm -rf node_modules/npm2

angular インストール

npm install -g @angular/cli
ng -v

versionが表示されればOK

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1