安装SharePoint Framework时出错 [英] Error While Installing SharePoint Framework
问题描述
我在为SharePoint Framework设置开发环境时遇到错误。
我在安装和以下组件安装成功后执行了相同的步骤。
版本的Node JS :6.11
NPM版本:3.10.10
版本的Gulp:3.9.1
$
版Yeoman:2.0.0 >
但是,在安装sharepoint生成器时,它会抛出以下错误。
错误代码:ELIFECYCLE
错误编号:1
错误:phantonjs-prebuilt@2.1.16安装:'node install.js'
退出状态1
在phantomjs-prebuilt@2.1.16安装脚本'节点失败install.js'
这可能不是问题npm
请帮我解决这个问题。
谢谢
你的Node JS版本是否为6.11.5?
请尝试安装 来自GitHub的phantomjs来检查它是否有效。
https://github.com/Medium/phantomjs
以下是关于同一问题的类似帖子供您参考:
最好的问候
Lee Liu
跨度>
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
Hi,
Is your Node JS version 6.11.5?
Please try to install the phantomjs from GitHub to check if it works.
https://github.com/Medium/phantomjs
Here is a similar thread about the same issue for your reference:
Best regards
Lee Liu
这篇关于安装SharePoint Framework时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!