Giter VIP home page Giter VIP logo

Comments (6)

Lrunlin avatar Lrunlin commented on July 28, 2024

切换淘宝源,node版本使用16
链接

from blog.

Lrunlin avatar Lrunlin commented on July 28, 2024

No description provided.

如果目前有博客网站使用需求的话暂时建议您去我的主要查找一个叫web_blog的项目,这个大型博客社区网站还在开发中

from blog.

galaxy-s10 avatar galaxy-s10 commented on July 28, 2024

可以新建.npmrc文件,然后添加:

sharp_libvips_binary_host=https://npmmirror.com/mirrors/sharp-libvips
sharp_binary_host=https://npmmirror.com/mirrors/sharp

这样的话,就不需要因为一个包的问题导致需要切换全局镜像了

参考:https://sharp.pixelplumbing.com/install#chinese-mirror

from blog.

Lrunlin avatar Lrunlin commented on July 28, 2024

因为client和server都使用到了插件sharp,同时node-sass在安装时也可能遇到网络问题。建议不使用.npmrc文件直接参考https://blogweb.cn/article/6064301711
进行换源

from blog.

galaxy-s10 avatar galaxy-s10 commented on July 28, 2024

将sass也添加进.npmrc就好了

from blog.

Lrunlin avatar Lrunlin commented on July 28, 2024

感觉相对麻烦,而且里面有三个package

from blog.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.