Tag: 核素编辑器

Nuclide + Atom远程开发在Ubuntu 16.04上不起作用

我试图用远程开发启动Nuclide + Atom。 我已经通过包pipe理器在Atom上安装了Nuclide并安装了Nuclide Server(Ubuntu 16.04) npm install -g nuclide 我的第一个麻烦是: nohup: failed to run command 'node': No such file or directory 在核心服务器启动日志文件,但我解决了nodejs与节点在Ubuntu的12.04 (不要以为这是正确的… :)但它适用于我) 而我又有了一个麻烦: /usr/local/lib/node_modules/nuclide/pkg/nuclide-server/lib/nuclide-main.js:20 const {__DEV__} = require('../../nuclide-node-transpiler/lib/env'); ^ SyntaxError: Unexpected token { at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:374:25) at Object.Module._extensions..js (module.js:417:10) at Module.load (module.js:344:32) at Function.Module._load (module.js:301:12) at Function.Module.runMain (module.js:442:10) at […]

如何在Nuclide(Atom)中运行nodeJS代码

我在Nuclide(Atom)中导入了一个NODE.js项目。 如何在Nuclide中执行代码?

核心与节点和巴贝尔debugging器?

我一直在尝试使用Nuclide / Atom来启动和debugging使用Babel和ES6 +代码的unit testing。 启动configuration如下所示: 节点运行unit testing,就像我从命令行运行一样,并不停在我的断点处。 如果我在命令行中使用与–inspect-brk相同的调用,则可以从Chrome中的chrome-devtools url正确debugging(使用源代码映射)。 有没有办法做到这一点? 我不能“附加”,因为unit testing是,而且应该是一个直射脚本执行。

试图启动Atom / Nuclide时没有发现stream动

我正在为使用Atom IDE的react-native应用程序工作。 打开Atom时出现错误 我用npm命令安装了babel-cli和babel-preset-flow 。 npm install –save-dev babel-cli babel-preset-flow 现在,当我重新启动Atom然后它显示相同的警告给我“试图启动时没有findstream”。 任何人都可以帮助我如何解决它。 我已经按照这个https://medium.com/react-native-training/getting-started-with-react-native-and-flow-d40f55746809stream量服务器运行良好,但我如何增加stream量到primefaces,所以我可以摆脱从这个https://i.stack.imgur.com/7jJVI.png