Why does node sass always fail to install?

Original linkauthor Ping Hai Li Node sass is a very common dependency package in our development, and it is also the most common dependency for long installation time and error reporting. There are many reasons. Before we talk about the error reporting reasons, let's analyze the installation process of node sass (the following node version is ...

Posted by tourer on Wed, 13 Nov 2019 04:10:26 -0800

Build Vuepress blog/document system: Build, PDF export, SEO, auto compile, auto deploy, domain name, HTTPS, archive, etc.

This is a personal (pdai) original article, please indicate the source for reprinting and refer to the effect of blog building: [Java Full Stack Knowledge System] ( https://www.pdai.tech) Article Content Directory Article Content Directory Part I - Building Blog/Document System Blog/Document Preface What are the options What attempts have ...

Posted by DannyM on Mon, 11 Nov 2019 19:49:02 -0800

The route of react router DOM react

The route of react router DOM react React routing is now version 4. + using react router Dom and version 3. + using react router There are two modes of routing The hash mode provided by the old browser, we call it: HashRouter The hstory pattern provided by H5 is called BrowserRouter Note: routing in H5 mode requir ...

Posted by jaylee on Sat, 09 Nov 2019 11:19:24 -0800

git upgrade project version and generate changelog

Semantic Version Control SpecificationContract SubmissionNode.jsNPMTaobao NPM MirrorCommitizenconventional-changelog-cli introduce Semantic Version Control Contract Submission Noun Interpretation Demonstration Plug-in unit 1. Install Node.js 2. Install cnpm (Taobao NPM mirror) $ npm install -g cnpm --registry=https://registry.npm.taobao.org 3 ...

Posted by p2003morris on Thu, 07 Nov 2019 07:24:22 -0800

js+node.js+socket.io realizes chat function (private chat, group chat creation)

Design sketch: Four clients are started for testing 1. Log in and get the list of online users2. Private chat function3. Group chat function I found WebSocket by chance. I found that it can communicate in real time and chat online. So I made a demo of chat tool and recorded it Source code Socket.io WebSocket is native to js, and Socket.io is a ...

Posted by slamMan on Thu, 07 Nov 2019 00:24:35 -0800

Pure css3 beautiful checkbox and radio beautification plug-in Pretty.css plug-in

Introduction of plug-ins pretty.css is a beautiful checkbox and radio beautification effect of pure css3. pretty.css can be used in combination with a variety of font icons to beautify the original checkbox and radio, and can also make the animation effect when the button is clicked. Browser compatibility Course pretty.css is a beautiful che ...

Posted by DarkShadowWing on Wed, 06 Nov 2019 13:54:13 -0800

koa router multi file introduction

background There are more and more koa router routes. The router under api needs to be introduced in the following way. How can all files under api be introduced conveniently and quicklyThis time, it is recorded that if the koa router one-time loop is introduced const book = require('./app/api/v1/book') const classic = require('./app/api/v1/cla ...

Posted by cjosephson on Wed, 06 Nov 2019 09:23:42 -0800

Building Vue CLI and introducing element UI

Building Vue cli scaffold Install git Install node and configure environment variables, using zip version # Check whether node is installed successfully node -v Use Taobao image npm config set registry https://registry.npm.taobao.org # Check whether the configuration is successful npm config get registry Install node module cnpm np ...

Posted by mrjoseph.com on Sun, 03 Nov 2019 08:57:04 -0800

2019-5-29 open source cache Promise,Ajax data cache function encapsulation, and upload to github

In order to optimize the front-end interface calls, we may need to limit the frequency of accessing the background. In our project, we use some technologies at will. After the invalid data is accessed remotely for the first time, the data is stored in memory (closure Implementation), ###Two directions of optimization are limited, ...

Posted by ehhwan on Sun, 03 Nov 2019 02:05:11 -0800

Creating express background server in vwe development

Build an express server Please refer to Creating a Node Express-Webpack App with Dev and Prod Builds You can understand that this is a translation. Create a project called express web pack Manually create a new project express webpack Execute the following code under the current project mkdir express-webpack cd e ...

Posted by nanny79 on Sat, 02 Nov 2019 20:37:43 -0700