Giter VIP home page Giter VIP logo

webp-batch-convert's Issues

这个repo是停止维护了吗?fs依赖的问题

Uncaught Error: Cannot find module "fs" at webpackMissingModule (cwebp.js:3) at eval (cwebp.js:3) at Object.<anonymous> (app.js:formatted:1532) at d (app.js:formatted:708) at r (app.js:formatted:410) at eval (index.js:1) at Object.<anonymous> (app.js:formatted:1529) at d (app.js:formatted:708) at r (app.js:formatted:410) at eval (container.jsx:13)
引起后续一系列问题

Mac 全局安装后提示 MODULE_NOT_FOUND

Mac 通过 npm 全局安装后无法运行,找不到 ../cjs/cli 入口。

node:internal/modules/cjs/loader:959
  throw err;
  ^

Error: Cannot find module '../cjs/cli'
Require stack:
- /Users/Cyrus/.nvm/versions/node/v18.6.0/lib/node_modules/webp-batch-convert/bin/wbc.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
    at Module._load (node:internal/modules/cjs/loader:804:27)
    at Module.require (node:internal/modules/cjs/loader:1022:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/Users/Cyrus/.nvm/versions/node/v18.6.0/lib/node_modules/webp-batch-convert/bin/wbc.js:3:1)
    at Module._compile (node:internal/modules/cjs/loader:1120:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
    at Module.load (node:internal/modules/cjs/loader:998:32)
    at Module._load (node:internal/modules/cjs/loader:839:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/Cyrus/.nvm/versions/node/v18.6.0/lib/node_modules/webp-batch-convert/bin/wbc.js'
  ]
}

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.