简体   繁体   English

Sharepoint - GULP SERVE 在尝试创建 sharepoint 客户端开发时出错

[英]Sharepoint - GULP SERVE error when trying to create sharepoint clent development

I followed these steps ( https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part ) to configure my development environment but it throws me this error that I don't know how to fix我按照这些步骤( https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part )配置我的开发环境但它给我带来了这个我不知道如何解决的错误

{
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'C:\\Users\\Martina Ojeda\\OneDrive\\Escritorio\\prueba\\footer-webpart\\gulpfile.js',
    'C:\\Users\\Martina Ojeda\\AppData\\Roaming\\npm\\node_modules\\gulp\\node_modules\\gulp-cli\\lib\\shared\\require-or-import.js',
    'C:\\Users\\Martina Ojeda\\AppData\\Roaming\\npm\\node_modules\\gulp\\node_modules\\gulp-cli\\lib\\versioned\\^3.7.0\\index.js',
    'C:\\Users\\Martina Ojeda\\AppData\\Roaming\\npm\\node_modules\\gulp\\node_modules\\gulp-cli\\index.js',
    'C:\\Users\\Martina Ojeda\\AppData\\Roaming\\npm\\node_modules\\gulp\\bin\\gulp.js'
  ]
}

4.15.4 either it is very old or you missed the '1' and it is 14.15.4. 4.15.4 要么它很旧,要么你错过了“1”,它是 14.15.4。

Anyway modify the version to use LTS 10.x version of Node.js to fallow the guidelines无论如何修改版本以使用 Node.js 的 LTS 10.x 版本以遵循指南

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Sharepoint 2013通过REST API:错误403在尝试创建项目时被禁止 - Sharepoint 2013 via REST API: Error 403 Forbidden when trying to create item 尝试使用 javascipt 创建共享点文档库时出现 JSON 无效错误 - Get an JSON invalid error trying to create a sharepoint document library with javascipt 尝试使用JavaScript更新Sharepoint列表时出错 - Error trying to update Sharepoint list with javascript 401尝试实施CORS for SharePoint时 - 401 when trying to implement CORS for SharePoint 使用html和javascript自定义共享点开发 - Custom sharepoint development with html and javascript 尝试在 windows CLI 上启动 gulp 时出错 - Error when trying to initiate gulp on windows CLI NaN尝试使用JavaScript从SharePoint列表中检索日期时 - NaN when trying to retrieve date from a SharePoint list using JavaScript 尝试将附件添加到共享点列表时出现403禁止错误 - Getting 403 Forbidden error while trying to add attachment to sharepoint list 尝试在 SharePoint 环境中使用 AngularJS DateRangePicker 时出现未定义错误 - Getting undefined error trying to use AngularJS DateRangePicker in SharePoint environment SharePoint外接JSOM创建列表项错误。 “ this”未定义 - SharePoint Add-IN JSOM Create List Item Error. “this” is undefined
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM