Renren open source code

Backend source code:

git clone [email protected]:renrenio/renren-fast.git

Front-end source code:

git clone [email protected]:renrenio/renren-fast-vue.git

Automatically generate source code:

git clone [email protected]:renrenio/renren-generator.git

About renren-fast-vue npm npm error reporting

2. Execute the command in the cmd window

npm rebuild node-sass

npm uninstall node-sass

npm i node-sass --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/

npm install

 Download python3.0 and python2.0 and add them to environment variables

https://www.python.org/ftp/python/2.7.18/python-2.7.18.amd64.msipython2.0  https://www.python.org/ftp/python/2.7.18/python-2.7.18.amd64.msi

Note that none of the previous ones will work.

Ultimate solution:

1 node environment should be 14

https://nodejs.org/download/release/v14.21.3/node-v14.21.3-x64.msi

Record the npm install error of the renren-fast-vue project

  • Clone the project and delete the .git in the project

  • Modify package.json content

    "chromedriver": "85.0.1",
    "node-sass": "4.14.1",
    
  • Run npm install again under the project

  • npm run dev run the project

If you have already run npm install and reported an error, delete the node_modules folder before proceeding.

http://localhost:8001

 Modify the database name, username and password that need to be generated

 Fill in complete information 

 http://localhost/

Guess you like

Origin blog.csdn.net/qq_35622606/article/details/130543746