将Office 365 API node.js示例部署到Raspberry Pi 2时出错 [英] Error deploying Office 365 API node.js example to Raspberry Pi 2

查看:139
本文介绍了将Office 365 API node.js示例部署到Raspberry Pi 2时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试部署node.js的Office 365 API示例,以便在运行Windows 10 IoT的Raspberry Pi 2上运行。  虽然简单的node.js示例将部署和工作,但此示例具有相当多的依赖项,这可能会导致问题。  
项目类型是Basic Node.js Web服务器(Windows Universal)。

I've been trying to deploy the Office 365 API examples for node.js to run on my Raspberry Pi 2 running Windows 10 IoT.   While simple node.js examples will deploy and work this example has quite a few dependencies which may be causing trouble.   The project type is a Basic Node.js web server (Windows Universal).

我得到的错误如下:

错误:DEP2100:无法复制文件"C:\Code \Sandbox \NodejsWebServer5 \ node_modules \ tunnel \\\
ode_modules \bower-registry-client \ node_modules \request\\\
ode_modules \\ \\bl\\\
ode_modules\readable-stream\\\
ode_modules\core-util的-is\util.js"到目标
机器"minwinpc"。 

我已验证该文件存在。  我认为它可能是一个路径长度问题,所以我尝试了一个较短的问题,但它没有用。  如果我在Windows 10中使用本地节点运行该应用程序,该应用程序可以正常工作。

I have verified the file is present.  I thought it might be a path length issue so I tried a shorter one and it didn't work.  The application works if I run it with node locally in Windows 10.

任何人都有任何想法吗?

Anyone have any ideas?

Corey Roth - SharePoint Server MVP博客:
www.dotnetmafia.com
twitter: @ coreyroth |
SP2应用

Corey Roth - SharePoint Server MVP blog: www.dotnetmafia.com twitter: @coreyroth | SP2 Apps

推荐答案

科里,

 这可能无法回答您的具体问题,但它是关于在昨天发布的Windows 10 IoT Core上使用Node.js的新资源:

  This might not answer your specific question, but it's a new resource about using Node.js on Windows 10 IoT Core that just got published yesterday:

http:/ /blogs.windows.com/buildingapps/2015/05/12/bringing-node-js-to-windows-10-iot-core/  

 希望它可能有一些答案可以帮助您解决部署问题。 如果没有,请告诉我们,我们可以尝试进一步为您调查。

  Hopefully it might have some answers that can help unblock you with the deployment problem.  If it doesn't, let us know and we can try to look into it further for you.


这篇关于将Office 365 API node.js示例部署到Raspberry Pi 2时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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