スキップしてメイン コンテンツに移動

投稿

ラベル(Ubuntu)が付いた投稿を表示しています

Install Node.js and Angular on Ubuntu

What I did Install Node.js Install Angular Try default app Install Node.js Few years ago, when I had used Ubuntu, I used nodebrew to install Node.js. But now, what shall I use? Use n My search result was I should use n . But the easiest way to install n had needed npm. npm install -g n So I installed Node.js by NodeSource first. Installing Node.js via package manager | Node.js distributions/README.md at master · nodesource/distributions · GitHub curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash - sudo apt-get install -y nodejs I installed Node.js version 13.9.0. Failed npm -g install After installing Node.js, I had tried install n and failed with permission error. example@example-Macmini:~$ npm install -g n npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN checkPermissions Missing write access to /usr/lib/node_modules npm ERR! code EACCES npm ERR! syscall access npm ERR! path /usr/lib/nod...

Try V8 on Ubuntu

Intro Because I had wanted to know how JavaScript worked, I tried to build and use V8. I used Ubuntu19.10 what installed on Mac mini. Because its Mac OS already hadn't been updated. Install and build V8 After installing Ubuntu, I installed git, vim, Python(ver.2.7.17) for building V8. sudo apt install git vim python Most of all software for building V8, I installed after a while by following the documents. But these had been needed at the begining of building. build V8 Most of all steps had been on the documents. But because I forgot some of them, So I got some errors :P 1. clone depot_tools and add installed path. depot_tools tutorial(7) 2. make a directory for installing v8 and move to there "mkdir ~/v8" & "cd ~/v8" 3. "fetch v8" Checking out the V8 source code - v8 4. update files "git pull --rebase origin" & "gclient sync" 5. install dependencies with "./build/install-build-deps.sh" Buildi...