Giter Club home page Giter Club logo

Comments (6)

6dylan6 avatar 6dylan6 commented on June 28, 2024

@kokpk 依赖问题,重新安装jsdom试试

from jdpro.

kokpk avatar kokpk commented on June 28, 2024

请问这个怎么重装?我删除了/usr/local/pnpm-global/5/node_modules里的jsdom然后青龙面板依赖管理NodeJs里添加jsdom后还是报错。
/usr/local/lib/node_modules/jsdom/lib/jsdom/living/nodes/HTMLInputElement-impl.js:583
this[filesSymbol] ||= FileList.createImpl(this._globalObject);
^^^

SyntaxError: Unexpected token '||='
at wrapSafe (internal/modules/cjs/loader.js:988:16)
at Module._compile (internal/modules/cjs/loader.js:1036:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
at Module.load (internal/modules/cjs/loader.js:937:32)
at Function.Module._load (internal/modules/cjs/loader.js:778:12)
at Module.require (internal/modules/cjs/loader.js:961:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object. (/usr/local/lib/node_modules/jsdom/lib/jsdom/living/generated/HTMLInputElement.js:1875:14)
at Module._compile (internal/modules/cjs/loader.js:1072:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)

from jdpro.

kokpk avatar kokpk commented on June 28, 2024

@kokpk 依赖问题,重新安装jsdom试试

QL版本是2.10.13

from jdpro.

kokpk avatar kokpk commented on June 28, 2024

我npm install [email protected] -g 降级后可以跑了。。

from jdpro.

kokpk avatar kokpk commented on June 28, 2024

最新的 jsdom 是不是要node也是最新的才可以跑?QL2.10.13怎么升级node至最新呢?

from jdpro.

6dylan6 avatar 6dylan6 commented on June 28, 2024

@kokpk 可能是吧

from jdpro.

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.