sveltejs / sites

Monorepo for the sites in the Svelte ecosystem
https://svelte.dev
MIT License
286 stars 123 forks source link

"rollup": "^3.9.1" error #422

Closed bitdom8 closed 1 year ago

bitdom8 commented 1 year ago

have an error when upgraded the roll up

``[plugin:vite:import-analysis] Failed to resolve import "rollup/dist/es/rollup.browser.js" from "src\lib\workers\bundler\index.js?type=module&worker_file". Does the file exist?
C:/Users/Administrator/Downloads/sites-master/packages/repl/src/lib/workers/bundler/index.js:2:26
1  |  import '/@vite/env'
2  |  import * as rollup from 'rollup/dist/es/rollup.browser.js';
   |                           ^
3  |  // import * as rollup from 'rollup/dist/es/rollup';
4  |  // import { rollup } from 'rollup/dist/rollup'
benmccann commented 1 year ago

Upgraded Rollup where? This isn't nearly enough info as to what exactly you did to cause this error

bitdom8 commented 1 year ago

Thanks for the great package. ok, seems this one works "@rollup/browser": "^3.9.1",