码迷,mamicode.com
首页 >  
搜索关键字:node    ( 27491个结果
第二节:Node.js中的交互式运行环境——REPL
1.什么是REPL运行环境:为了使开发者方便测试javascript代码,提供了一个名为REPL(Read-Eval-Print-Loop)的可交互式运行环境。 2.怎么使用:在命令行窗口中,输入“node”命令并按下回车键,即可进入REPL运行环境。 3.声明对象并给属性赋值: > user=ne ...
分类:Web程序   时间:2017-09-03 17:54:00    阅读次数:156
wabpack踩坑
webpack 打包时会用 NODE_ENV 来标识是生产环境还是开发环境光, "build": "NODE_ENV=production webpack", windows 环境下使用 gitbash 或cmd ,会报错 'NODE_ENV' 不是内部或外部命令,也不是可运行的程序 这种操作在po ...
分类:其他好文   时间:2017-09-03 14:14:25    阅读次数:132
[leetcode-671-Second Minimum Node In a Binary Tree]
Given a non-empty special binary tree consisting of nodes with the non-negative value, where each node in this tree has exactly two or zero sub-node. ...
分类:其他好文   时间:2017-09-03 13:15:06    阅读次数:127
windows10 下安装node失败 出现2502 2503的解决办法
下载node出现以下异常 : the install has encountered an unexpected errer installing this package.this may indicate aproblem with this package.the error code is ...
分类:Windows程序   时间:2017-09-03 13:14:32    阅读次数:549
npm常用命令总结
概述 npm是同node一起安装的包管理工具。主要用于管理node包,安装、卸载、更新、查看、搜索、发布等。 由于npm使用国外的服务器进行下载所以速度较慢,可以使用淘宝镜像cnpm替代。 详细可以查看https://npm.taobao.org/ 常用命令(cnpm基本也支持,除了publish  ...
分类:其他好文   时间:2017-09-03 12:24:56    阅读次数:230
关于redis集群的问题no reachable node in cluster
重新启动redis集群时启动失败 n context with path [] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: redis.clients.jedi ...
分类:其他好文   时间:2017-09-03 12:19:24    阅读次数:146
Luogu 1144 最短路计数
反思 :等于号啊等于号,判断要==(=.=); ...
分类:其他好文   时间:2017-09-03 11:18:56    阅读次数:388
Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest l ...
分类:其他好文   时间:2017-09-03 10:08:39    阅读次数:133
LeetCode 572: Subtree of Another Tree
/** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; } * } */... ...
分类:其他好文   时间:2017-09-03 10:04:08    阅读次数:95
nodejs学习笔记
Hello Fuck如下: 事件: Node.js所有的异步i/o操作在完成时都会发送一个事件到事件队列,事件由EventEmitter对象来提供,前面提到的fs.readFile和http.createServer的回调函数都是通过EventEmitter来实现的。 nodejs不停监测是否有活动 ...
分类:Web程序   时间:2017-09-03 10:03:43    阅读次数:221
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!