首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏小徐学爬虫

    Windows 7中安装contextify时遇到的错误:`gyp` 退出代码为2

    对于新手来说,在 Windows 7 中安装 contextify 可能会遇到各种问题,其中一些问题可能与操作系统版本、依赖项或环境配置有关。 1、问题背景在 Windows 7 系统中,使用 npm 命令安装 contextify 时,出现了错误:gyp 退出代码为 2。 contextify@0.1.3 install: `node-gyp rebuild`npm ERR! Failed at the contextify@0.1.3 install script.npm ERR! 3)重新安装 contextify在安装好 node-gyp 和 Python 2.7 后,可以重新安装 contextify:npm install contextify代码例子// 安装 node-gypnpm

    1.4K10编辑于 2024-02-04
  • 来自专栏雨临Lewis的博客

    执行gulp build报错

    问题与分析 在执行gulp build报错如下: 1 2 3 4 5 6 D:\coding\Resume\Resumes>gulp build gulp build[5628]: src\node_contextify.cc

    58010编辑于 2022-01-11
  • 来自专栏Keller

    node核心模块-vm

    require('vm'); const sandbox = { a: 1 }; // https://nodejs.org/api/vm.html#vm_what_does_it_mean_to_contextify_an_object

    79820编辑于 2021-12-14
  • 来自专栏前端自习课

    【Nodejs】375- 如何加快 Node.js 应用的启动速度

    3 0.7% Unaccounted [C++]: ticks total nonlib name 198 45.2% 45.6% node::contextify 23.1% t node::fs::Open(v8::FunctionCallbackInfo<v8::Value> const&) 319 15.9% 16.2% T node::contextify 4.3% t node::fs::Read(v8::FunctionCallbackInfo<v8::Value> const&) 74 3.7% 3.8% T node::contextify

    2.9K40发布于 2019-10-11
  • 来自专栏Nodejs技术栈

    淘宝 | 如何加快 Node.js 应用的启动速度,实现分钟到毫秒的转化

    3 0.7% Unaccounted [C++]: ticks total nonlib name 198 45.2% 45.6% node::contextify 23.1% t node::fs::Open(v8::FunctionCallbackInfo<v8::Value> const&) 319 15.9% 16.2% T node::contextify 4.3% t node::fs::Read(v8::FunctionCallbackInfo<v8::Value> const&) 74 3.7% 3.8% T node::contextify

    1.7K30发布于 2019-10-14
  • 来自专栏原创分享

    something about Node.js

    path = require('path');const ts = require('typescript');const { compileFunction } = process.binding('contextify

    36120发布于 2021-12-02
  • 来自专栏大数据学习笔记

    Ambari2.4 源码编译

        [root@vnode1 apache-ambari-2.4.2-src]# npm install node-gyp     node-gyp rebuilt卡住     > contextify @0.1.15 install /opt/apache-ambari-2.4.2-src/ambari-web/node_modules/contextify     > node-gyp rebuild

    73620编辑于 2022-05-06
  • 来自专栏腾讯技术工程官方号的专栏

    说说JS中的沙箱

    const vm = require('vm');const x = 1;const sandbox = { x: 2 };vm.createContext(sandbox); // Contextify

    3K30发布于 2019-10-11
  • 来自专栏原创分享

    nodejs之模块系统源码分析(上)

    \ V(config) \ V(contextify

    1.3K40发布于 2019-03-19
  • 来自专栏采云轩

    Node.js 模块系统源码探微

    dirname / __filename / module / exports / require 公共变量的注入,并且调用了 C++ 的 runInThisContext 方法(位于 src/node_contextify.cc

    1.9K10发布于 2019-12-19
  • 来自专栏全栈修仙之路

    深入学习 Node.js Module

    Node.js 模块分类 在 Node.js 中包含以下几类模块: builtin module: Node.js 中以 C++ 形式提供的模块,如 tcp_wrap、contextify 等 constants

    1.2K30发布于 2019-11-06
  • 来自专栏kifroom

    重温前端-js篇

    const vm = require('vm'); const x = 1; const sandbox = { x: 2 }; vm.createContext(sandbox); // Contextify

    6K10编辑于 2023-03-10
领券