Git Product home page Git Product logo

Comments (9)

thepassle avatar thepassle commented on June 18, 2024 1

We have some issues with the CI that we're still investigating. As a temporary workaround you can use a lower version of the plugin.

from web.

thepassle avatar thepassle commented on June 18, 2024

@koddsson could you take a look? Maybe this has impacted some of the other changes as well?

from web.

jholt1 avatar jholt1 commented on June 18, 2024

Same issue for dev-server-storybook https://github.com/modernweb-dev/web/blob/master/packages/dev-server-storybook/src/build/rollup/createRollupConfig.ts#L8

from web.

jholt1 avatar jholt1 commented on June 18, 2024

Raised a PR for the issue: #2265

from web.

koddsson avatar koddsson commented on June 18, 2024

@koddsson could you take a look? Maybe this has impacted some of the other changes as well?

Weird! I thought I had grepped the whole code-base for this, but evidently not. Odd that no build or test failed with this. I'll try to get the PR merged.

from web.

felixapitzsch avatar felixapitzsch commented on June 18, 2024

Odd that no build or test failed with this. I'll try to get the PR merged.

It might accidentally work, if some other packages/dependencies are still using the old terser-plugin package as a sub-dependency. As long as it ends up in node_modules, it will be resolved and not raise an error - even, if it is not listed in your package.json anymore.

from web.

vskorohod avatar vskorohod commented on June 18, 2024

Hi.
I have the same issue with the @web/dev-server-storybook plugin.


> build-storybook --output-dir demo-storybook

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

Error: Cannot find module 'rollup-plugin-terser'
Require stack:
- /Users/.../node_modules/@web/dev-server-storybook/dist/build/rollup/createRollupConfig.js
- /Users/.../node_modules/@web/dev-server-storybook/dist/build/build.js
- /Users/.../node_modules/@web/dev-server-storybook/dist/build/cli.js

Could it be fixed by merging this PR #2265 ?

from web.

thepassle avatar thepassle commented on June 18, 2024

should be fixed in #2265

from web.

svanherk avatar svanherk commented on June 18, 2024

It looks like this was fixed as part of major version bump v8. Is it possible to get this patched for version 7 as well? I'm seeing this error after this fix in @open-wc/building-rollup, because it is still using rollup-plugin-workbox v7 but has removed rollup-plugin-terser as a dependency (exactly the situation mentioned above).

I started a PR to update to rollup-plugin-workbox v8, but there are a lot of changes as a result of moving to workbox 7 that I don't have the context for. But if that's preferred, I can continue with trying to put up a PR for that in @open-wc/building-rollup.

from web.

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.