Git Product home page Git Product logo

Comments (4)

lisniuse avatar lisniuse commented on August 16, 2024

由于部分的依赖包有bug, 所以在项目初始化之前,请先进入 patch 目录下,然后执行 node index.js 安装临时补丁之后再运行 npm run dev 启动项目。

from pandas-cn.

cgjue avatar cgjue commented on August 16, 2024

由于部分的依赖包有bug, 所以在项目初始化之前,请先进入 patch 目录下,然后执行 node index.js 安装临时补丁之后再运行 npm run dev 启动项目。

jue@lalala:~/workspace/pandas-cn/patch$ node index.js
targetFile /home/jue/workspace/pandas-cn/node_modules/vuepress-plugin-comment/Comment.vue
internal/fs/utils.js:220
throw err;
^

Error: ENOENT: no such file or directory, open '/home/jue/workspace/pandas-cn/node_modules/vuepress-plugin-comment/Comment.vue'
at Object.openSync (fs.js:440:3)
at Object.writeFileSync (fs.js:1265:35)
at Object. (/home/jue/workspace/pandas-cn/patch/index.js:34:6)
at Module._compile (internal/modules/cjs/loader.js:956:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
at Module.load (internal/modules/cjs/loader.js:812:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1025:10)
at internal/main/run_main_module.js:17:11 {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '/home/jue/workspace/pandas-cn/node_modules/vuepress-plugin-comment/Comment.vue'
}

from pandas-cn.

lisniuse avatar lisniuse commented on August 16, 2024

要先更新一下依赖的版本,运行一下 npm install

from pandas-cn.

cgjue avatar cgjue commented on August 16, 2024

按您提供的方法试了,问题在于patch/file/目录下没有util文件,所以一直报相同的错误

from pandas-cn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.