angular+ionic+npm项目运行

angular+ionic+npm项目运行

  • 错误记录
    • [(1)Downloading binary from https://github.com/sass/node-sass/releases/download/v4.14.1/win32-x64-72_binding.node](#(1)Downloading binary from https://github.com/sass/node-sass/releases/download/v4.14.1/win32-x64-72_binding.node)
    • [(2)The npm warning "A requires a peer of B but none is installed. You must install peer dependencies yourself](#(2)The npm warning "A requires a peer of B but none is installed. You must install peer dependencies yourself)
    • [(3)MSBUILD : error MSB3428: 未能加载 Visual C++ 组件"VCBuild.exe"。要解决此问题,1) 安装 .NET Framework 2.0 SDK;2) 安装 Microsoft Visual Studio 2005;或 3) 如果将该组件安装到了其他位置,请将其位置添加到系统路径中。](#(3)MSBUILD : error MSB3428: 未能加载 Visual C++ 组件“VCBuild.exe”。要解决此问题,1) 安装 .NET Framework 2.0 SDK;2) 安装 Microsoft Visual Studio 2005;或 3) 如果将该组件安装到了其他位置,请将其位置添加到系统路径中。)
    • [(4)TypeError: Object.fromEntries is not a function、NODE上OBJECT.FROMENTRIES()方法的报错](#(4)TypeError: Object.fromEntries is not a function、NODE上OBJECT.FROMENTRIES()方法的报错)
    • [(5)angular2-signaturepad"' has no exported member 'SignaturePadModule'.](#(5)angular2-signaturepad"' has no exported member 'SignaturePadModule'.)

错误记录

(1)Downloading binary from https://github.com/sass/node-sass/releases/download/v4.14.1/win32-x64-72_binding.node

复制代码
npm i node-sass --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/

(2)The npm warning "A requires a peer of B but none is installed. You must install peer dependencies yourself

复制代码
删除node_moular 重新npm i 

(3)MSBUILD : error MSB3428: 未能加载 Visual C++ 组件"VCBuild.exe"。要解决此问题,1) 安装 .NET Framework 2.0 SDK;2) 安装 Microsoft Visual Studio 2005;或 3) 如果将该组件安装到了其他位置,请将其位置添加到系统路径中。

复制代码
HKEY_LOCAL_MACHINE \ SOFTWARE \ Wow6432Node \ Microsoft \ MSBuild \ ToolsVersions \ 14.0 这个键删除

(4)TypeError: Object.fromEntries is not a function、NODE上OBJECT.FROMENTRIES()方法的报错

复制代码
版本过低或过高,检查编译过程中node -sass 的版本 安装符合的版本

(5)angular2-signaturepad"' has no exported member 'SignaturePadModule'.

复制代码
修改pakeage.json文件 将 angular2-signaturepad 的版本固定为 2.9.0
相关推荐
星栈5 分钟前
Makepad 不只是画界面:事件、状态和组件通信,到底怎么写
前端·rust
绍磊leo7 分钟前
Tauri 2.x 教程系列 (二):React 组件化与 Tauri 命令系统
rust·tauri
starrysky81015 分钟前
你的记忆系统在腐烂:Hindsight consolidation机制解剖——从去重原理到生产配置
angular.js
日火28 分钟前
Are Mutexes Slow——互斥锁真的慢吗?
性能优化·rust
禁默34 分钟前
[鸿蒙PC命令行移植适配]移植rust三方库eza到鸿蒙PC的完整实践
华为·rust·harmonyos
绍磊leo35 分钟前
Tauri 2.x 教程系列 (一):Hello Tauri — 从零搭建第一个桌面应用
rust·tauri
smallswan37 分钟前
第十七 位运算
rust
zhangfeng11332 小时前
workbuddy ,node.js 每次会在 项目目录上安装 node_modules,能不能一次安装多次使用,为什么 npm 不把包装在全局
前端·npm·node.js
步十人2 小时前
【Vue3】前置知识简单概述(包括ES6核心语法,模块化ESM以及npm基础)
arcgis·npm·vue·es6
a诠释淡然21 小时前
C++ vs Rust:哪个更适合你的下一个项目?
开发语言·c++·rust