首页 > 编程语言 >解决:[email protected] requires a peer of node-sass@^4.0.0 but none is installed. You must install pee

解决:[email protected] requires a peer of node-sass@^4.0.0 but none is installed. You must install pee

时间:2023-09-23 11:58:23浏览次数:66  
标签:node npm https sass install peer

参考:https://blog.csdn.net/hancoder/article/details/113821646

去https://github.com/sass/npnode-sass 或者 https://github.com/sass/node-sass/releases 都可以看到node和node-sass对应的版本信息

npm config set registry http://registry.npm.taobao.org/

npm install  [email protected]

 

标签:node,npm,https,sass,install,peer
From: https://www.cnblogs.com/tszr/p/17724099.html

相关文章

  • Uncaught TypeError: Cannot read properties of undefined (reading 'type') from e
    DON'Tusereforreactivetowraptheechartsinstance.UseacommonvariableorshallowReftoavoidthedeepwatchforechartsinstance.不要使用ref或reactive来包装echarts实例。使用公共变量或shallowRef来避免对echarts实例的深度监视。<template><d......
  • 解决:npm ERR! [email protected] install: `node install.js`
    https://cdn.npmmirror.com/binaries/chromedriver/2.27/chromedriver_win32.zip可以点击这个链接直接下载。删掉项目中的node_modules文件夹。根据自己的下载地址,安装依赖。npminstallchromedriver--chromedriver_filepath=文件地址注意:不需要解压缩。npminstall......
  • maven和nodejs环境安装
    1.maven安装  wgethttps://dlcdn.apache.org/maven/maven-3/3.9.4/binaries/apache-maven-3.9.4-bin.tar.gz--no-check-certificate  参考连接:https://blog.csdn.net/yao583224426/article/details/1317396842.Node安装  nodejs官方:http://nodejs.cn/  cd/opt#......
  • element ui 的messageBox中绑定vnode节点
    <template><divclass="about"><h1>Thisisanaboutpage</h1><el-buttontype="primary"size="default"@click="onTest">测试</el-button><div></div&......
  • 使用Object.defineProperty() 定义对象属性时,如已设置 set 或 get, 就不能设置 writab
    使用Object.defineProperty()定义对象属性时,如已设置set或get,就不能设置writable和value中的任何一个了,不然会报如下错误。TypeError:Invalidpropertydescriptor.Cannotbothspecifyaccessorsandavalueorwritableattribute,#<Object>  letobj_tes......
  • Node简介
    什么是nodeJavascript可以在浏览器运行,node可以让javascript在浏览器之外运行可以用来做本地运行的软件/网络服务器/游戏等等记得安装vscode里面力扣插件需要先安装node.js,但我不知道node是做什么的本地还没有安装node,下面开始安装安装node登陆node官网下载......
  • 完美解决TypeError: ‘encoding’ is an invalid keyword argument for this function
    完美解决TypeError:‘encoding’isaninvalidkeywordargumentforthisfunction文章目录报错问题解决方法声明报错问题之前在工作中遇到过这个坑,记录一下问题以及解决方法,不一定针对所有情况都能用,但是可以供大家参考。问题描述如下:TypeError:‘encoding’isaninvalid......
  • 完美解决TypeError: ‘method‘ object is not subscriptable
    完美解决TypeError:‘method‘objectisnotsubscriptable文章目录报错问题解决方法声明报错问题之前在工作中遇到过这个坑,记录一下问题以及解决方法,不一定针对所有情况都能用,但是可以供大家参考。问题描述如下:TypeError:‘method‘objectisnotsubscriptable类型错误:"......
  • 已解决TypeError: type numpy.ndarray doesn‘t define __round__ method
    已解决TypeError:typenumpy.ndarraydoesn’tdefineroundmethod文章目录报错问题解决方法声明报错问题之前在工作中遇到过这个坑,记录一下问题以及解决方法,不一定针对所有情况都能用,但是可以供大家参考。问题描述如下:TypeError:typenumpy.ndarraydoesn’tdefineroundm......
  • 已解决ypeError: ‘float‘ object cannot be interpreted as an integer
    已解决ypeError:‘float’objectcannotbeinterpretedasaninteger文章目录报错问题解决方法声明报错问题之前在工作中遇到过这个坑,记录一下问题以及解决方法,不一定针对所有情况都能用,但是可以供大家参考。问题描述如下:ypeError:‘float’objectcannotbeinterpreted......