为SharePoint框架设置开发环境时出错 [英] Error while setting development environment for SharePoint Framework

查看:159
本文介绍了为SharePoint框架设置开发环境时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为SharePoint Framework设置开发环境时出现错误.
在安装过程中遵循了相同的步骤,并且成功安装了以下组件
Node JS版本:6.11
NPM版本:3.10.10
Gulp版本:3.9.1
版本的Yeoman:2.0.0

但是,在安装sharepoint generator时,它会引发以下错误.

错误代码:ELIFECYCLE
错误编号:1
错误:phantonjs-prebuilt@2.1.16安装:"node install.js"
退出状态1
在phantomjs-prebuilt@2.1.16安装脚本'node install.js'失败
npm可能不是问题


请帮助我解决此问题.
谢谢

I am getting an error while setting up development environment for SharePoint Framework.
I followed the same steps while installation and following components are installed successfully
Version of Node JS:6.11
Version of NPM :3.10.10
Version of Gulp: 3.9.1
version of Yeoman: 2.0.0

But, While installing sharepoint generator it is throwing the following error. 

Error code: ELIFECYCLE
Error no: 1
Error:phantonjs-prebuilt@2.1.16 install: 'node install.js'
Exit status 1
Failed at the phantomjs-prebuilt@2.1.16 install script 'node install.js'
This is probably not a problem with npm


Kindly Please help me to sort out this issue.
Thanks

推荐答案


您好,请尝试先显式安装phantomjs-prebuilt,然后再安装Sharepoint generator,如下所示: https://www.npmjs.com/package/phantomjs-prebuilt .

hello, try to install phantomjs-prebuilt explicitly before to install Sharepoint generator like shown here: https://www.npmjs.com/package/phantomjs-prebuilt.


这篇关于为SharePoint框架设置开发环境时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆