首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我无法通过visual studio for Mac安装教程中的remotebuild部分。

我无法通过visual studio for Mac安装教程中的remotebuild部分。
EN

Stack Overflow用户
提问于 2019-05-11 00:51:32
回答 1查看 403关注 0票数 3

我正在尝试使用visual studio for Mac和Cordova - Ionic建立一个开发环境。所以在这里:我应该运行的教程的https://docs.microsoft.com/en-us/visualstudio/cross-platform/tools-for-cordova/first-steps/ios-guide?view=toolsforcordova-2017#secure-mode

代码语言:javascript
复制
remotebuild

我得到了以下错误:

代码语言:javascript
复制
| => remotebuild
Warning: No server modules selected. Defaulting to configuration "modules": {"taco-remote": { "mountPath": "cordova"} }
Error: Unable to load module taco-remote. Try running 'npm install taco-remote' or specifying the full path to the package
****** Failed to start server: ReferenceError: primordials is not defined
ReferenceError: primordials is not defined
    at fs.js:27:35
    at req_ (/usr/local/lib/node_modules/remotebuild/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/usr/local/lib/node_modules/remotebuild/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/usr/local/lib/node_modules/remotebuild/node_modules/graceful-fs/fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:759:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)
    at Module.load (internal/modules/cjs/loader.js:628:32)
    at Function.Module._load (internal/modules/cjs/loader.js:555:12)
    at Module.require (internal/modules/cjs/loader.js:666:19)
    at require (internal/modules/cjs/helpers.js:16:16)
/usr/local/lib/node_modules/remotebuild/node_modules/applicationinsights/AutoCollection/Exceptions.js:25
                    throw error;
                    ^

ReferenceError: primordials is not defined
    at fs.js:27:35
    at req_ (/usr/local/lib/node_modules/remotebuild/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/usr/local/lib/node_modules/remotebuild/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/usr/local/lib/node_modules/remotebuild/node_modules/graceful-fs/fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:759:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)
    at Module.load (internal/modules/cjs/loader.js:628:32)
    at Function.Module._load (internal/modules/cjs/loader.js:555:12)
    at Module.require (internal/modules/cjs/loader.js:666:19)
    at require (internal/modules/cjs/helpers.js:16:16)

我被卡住了..。有什么帮助吗?

EN

回答 1

Stack Overflow用户

发布于 2020-01-03 23:27:35

下面是您可以尝试的命令

代码语言:javascript
复制
$ npm install -g n
$ sudo n 11.15.0

希望能对你有所帮助

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/56081816

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档