Comments (9)
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.
@koddsson could you take a look? Maybe this has impacted some of the other changes as well?
from web.
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.
Raised a PR for the issue: #2265
from web.
@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.
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.
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.
should be fixed in #2265
from web.
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)
- [dev server] appIndex ignored if the url is not a sub-directory of the html file
- Adding a response header to Dev server seems excessively convoluted, am I missing something? HOT 4
- Storybook docs do not explain how to view the storybook. HOT 1
- [blog post] Write about the JavaScript module mess
- on playwright firefox, sendmouse is flaky with concurrency > 1 HOT 1
- Getting error when reading some data Invalid UTF-8 leading byte 0x000000bd encountered when deserializing a UTF-8 string in wasm memory to a JS string HOT 1
- Named import from CommonJS module is broken HOT 1
- Broken Code Coverage Results
- [rollup-plugin-html] does not extract assets within `<template>` tags
- [mocks] fails to load service work on subfolders HOT 3
- [rollup-plugin-import-meta-assets] Support string expressions in URL call or document string literals only HOT 2
- [test-runner] Setting concurrency > 1 using chrome launcher can hang and timeout on Ubuntu HOT 1
- [dev-server-storybook] v1 published files are wrong format HOT 26
- Using playwright reporters when testing with playwright HOT 1
- Allow to override nodeResolve exportConditions development in the dev server HOT 2
- @web/rollup-plugin-import-meta-assets fails if encountering any reference to a directory HOT 10
- Remove the localhost conversion, since it prevents easy secure origin based feature tests
- ChromeLauncherPage always sets viewport to 800 x 600 ignoring createPage config
- [dev-server] Types don't resolve with JS module imports HOT 1
- Only report browser logs for failed sessions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web.