Coder Social home page Coder Social logo

Comments (9)

daniluk4000 avatar daniluk4000 commented on June 2, 2024 12

@fi3ework can you please take a look on this?

from vite-plugin-checker.

Kegulf avatar Kegulf commented on June 2, 2024 4

Bump

from vite-plugin-checker.

fi3ework avatar fi3ework commented on June 2, 2024 2

0.6.4 released which removed lodash-es by #303.

from vite-plugin-checker.

serdec avatar serdec commented on June 2, 2024 1

we are using vite-plugin-checker and the lodash update is causing our build to fail with the following error:

Error [ERR_REQUIRE_ESM]: require() of ES Module /code/***/node_modules/lodash-es/lodash.js from /code/***/node_modules/vite-plugin-checker/dist/cjs/main.js not supported.
#44 6.460 Instead change the require of lodash.js in /code/***/node_modules/vite-plugin-checker/dist/cjs/main.js to a dynamic import() which is available in all CommonJS modules.
#44 6.460     at _require.extensions.<computed> [as .js] (file:///code/***/node_modules/vite/dist/node/chunks/dep-52909643.js:66353:17)
#44 6.460     at Object.<anonymous> (/code/***/node_modules/vite-plugin-checker/dist/cjs/main.js:36:24)
#44 6.460     at _require.extensions.<computed> [as .js] (file:///code/***/node_modules/vite/dist/node/chunks/dep-52909643.js:66353:17)
#44 6.500 error Command failed with exit code 1.

from vite-plugin-checker.

aszmyd avatar aszmyd commented on June 2, 2024 1

we are using vite-plugin-checker and the lodash update is causing our build to fail with the following error:

Error [ERR_REQUIRE_ESM]: require() of ES Module /code/***/node_modules/lodash-es/lodash.js from /code/***/node_modules/vite-plugin-checker/dist/cjs/main.js not supported.
#44 6.460 Instead change the require of lodash.js in /code/***/node_modules/vite-plugin-checker/dist/cjs/main.js to a dynamic import() which is available in all CommonJS modules.
#44 6.460     at _require.extensions.<computed> [as .js] (file:///code/***/node_modules/vite/dist/node/chunks/dep-52909643.js:66353:17)
#44 6.460     at Object.<anonymous> (/code/***/node_modules/vite-plugin-checker/dist/cjs/main.js:36:24)
#44 6.460     at _require.extensions.<computed> [as .js] (file:///code/***/node_modules/vite/dist/node/chunks/dep-52909643.js:66353:17)
#44 6.500 error Command failed with exit code 1.

Same here

from vite-plugin-checker.

nclavaud avatar nclavaud commented on June 2, 2024

The use of per method packages (like lodash.pick) is now discouraged (see https://lodash.com/per-method-packages) and the recommended way is to upgrade the main lodash package.

from vite-plugin-checker.

laug avatar laug commented on June 2, 2024

Bump @fi3ework

from vite-plugin-checker.

ddssouza avatar ddssouza commented on June 2, 2024

we are using vite-plugin-checker and the lodash update is causing our build to fail with the following error:

Error [ERR_REQUIRE_ESM]: require() of ES Module /code/***/node_modules/lodash-es/lodash.js from /code/***/node_modules/vite-plugin-checker/dist/cjs/main.js not supported.
#44 6.460 Instead change the require of lodash.js in /code/***/node_modules/vite-plugin-checker/dist/cjs/main.js to a dynamic import() which is available in all CommonJS modules.
#44 6.460     at _require.extensions.<computed> [as .js] (file:///code/***/node_modules/vite/dist/node/chunks/dep-52909643.js:66353:17)
#44 6.460     at Object.<anonymous> (/code/***/node_modules/vite-plugin-checker/dist/cjs/main.js:36:24)
#44 6.460     at _require.extensions.<computed> [as .js] (file:///code/***/node_modules/vite/dist/node/chunks/dep-52909643.js:66353:17)
#44 6.500 error Command failed with exit code 1.

Same

from vite-plugin-checker.

fi3ework avatar fi3ework commented on June 2, 2024

I'm removing lodash from dependency and release a new version now.

from vite-plugin-checker.

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.