node.js - 在 aws 服务器上执行 npm install 时 SASS 创建问题
问题描述
我正在尝试在 aws ec2 实例上部署我的 mern 堆栈项目。我正在尝试在客户端文件夹上运行 npm install 它给了我
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.14.1 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.14.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ubuntu/.npm/_logs/2020-09-10T17_33_41_380Z-debug.log
解决方案
推荐阅读
- c# - 如何在 c# MVC Entity Framework 中处理多个提交按钮和复选框?
- node.js - node, express - 监听远程浏览器重新加载
- postgresql - Postgresql pg_dump 将公共添加到所有模式名称
- excel - Excel VBA密码保护命令按钮
- mysql - ActiveRecord 获取 n 个最新项目?
- scala - 如何在scala中将日期转换为yy-mm-dd
- python - 从嵌套在for循环中的if语句使变量成为全局变量
- layout - 在 Vaadin 10 Flow 中替换 Vaadin 8 框架中的“AbsoluteLayout”?
- r - R中的多行最多取一列
- android - java.lang.NoSuchMethodError:没有静态方法调度未处理的 KeyEvent Pre