OS: ubuntu 16.04 $sudo apt install npm $npm -v 3.5.2 $create-react-app pwa-experiment Creating a new React app in /var/www/reactTrials/first/pwa-experiment. You are using Node v4.2.6 so the project will be bootstrapped with an old unsupported version of tools. Please update to Node 6 or higher for a better, fully supported experience. Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts... $sudo ln -s /usr/bin/nodejs /usr/bin/node $npm install -g create-react-app cd pwa-experiment $ npm install --save react-router@3.0.5 $ ls -la total 132 drwxrwxr-x 5 anas anas 4096 May 5 01:46 . drwxrwxr-x 3 anas anas 4096 May 5 01:40 .. -rw-rw-r-- 1 anas anas 218 May 5 01:42 .gitignore drwxrwxr-x 760 anas anas 28672 May 5 01:46 node_modules -rw-rw-r-- 1 anas anas 406 May 5 01:46 package.json drwxrwxr-x 2 anas anas 4096 May 5 01:42 public -rw-rw-r-- 1 anas anas 80668 May 5 01:42 README.md drwxrwxr-x 2 anas anas 4096 May 5 01:42 src
I have been using PHP, Javascript, Jquery with codeignitor since 2009. I used to use and make many custom functions for development purpose of which some are noteworthy and may be useful for others also. I would like to share and discuss such custom functions with all enthusiasts.
Friday, May 4, 2018
React Experiments
OS: ubuntu 16.04 $sudo apt install npm $npm -v 3.5.2 $create-react-app pwa-experiment Creating a new React app in /var/www/reactTrials/first/pwa-experiment. You are using Node v4.2.6 so the project will be bootstrapped with an old unsupported version of tools. Please update to Node 6 or higher for a better, fully supported experience. Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts... $sudo ln -s /usr/bin/nodejs /usr/bin/node $npm install -g create-react-app cd pwa-experiment $ npm install --save react-router@3.0.5 $ ls -la total 132 drwxrwxr-x 5 anas anas 4096 May 5 01:46 . drwxrwxr-x 3 anas anas 4096 May 5 01:40 .. -rw-rw-r-- 1 anas anas 218 May 5 01:42 .gitignore drwxrwxr-x 760 anas anas 28672 May 5 01:46 node_modules -rw-rw-r-- 1 anas anas 406 May 5 01:46 package.json drwxrwxr-x 2 anas anas 4096 May 5 01:42 public -rw-rw-r-- 1 anas anas 80668 May 5 01:42 README.md drwxrwxr-x 2 anas anas 4096 May 5 01:42 src
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment