Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Error: Cannot find module @rsbuild/core #716

Open
rrosenshain-sc opened this issue Jan 21, 2025 · 1 comment
Open

[Bug]: Error: Cannot find module @rsbuild/core #716

rrosenshain-sc opened this issue Jan 21, 2025 · 1 comment
Assignees

Comments

@rrosenshain-sc
Copy link

Version

N/A

Details

I'm using pnpm (v8) with rspack (1.2.0) - not using rsbuild.
I had RSDOCTOR working perfectly fine and when I tried upgrading to the new v1.0.alpha.0 I got this error (no other changes):
Not sure why it's looking for rsbuild.

Error: Cannot find module '@rsbuild/core'
Require stack:
/node_modules/.pnpm/@[email protected]/node_modules/@rsbuild/plugin-check-syntax/dist/index.cjs
/node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@rsdoctor/core/dist/rules/rules/ecma-version-check/index.js
/node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@rsdoctor/core/dist/rules/rules/index.js
/node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@rsdoctor/core/dist/rules/linter.js
/node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@rsdoctor/core/dist/rules/index.js
/node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@rsdoctor/core/dist/inner-plugins/plugins/rules.js
/node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@rsdoctor/core/dist/inner-plugins/plugins/index.js
/node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@rsdoctor/core/dist/inner-plugins/index.js
/node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@rsdoctor/rspack-plugin/dist/plugin.js
/node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@rsdoctor/rspack-plugin/dist/index.js
/shared/build/src/rspack/baseConfig.js
/shared/build/src/rspack/start.ts
    ...
  code: 'MODULE_NOT_FOUND',

Reproduce link

Will provide later if needed

Reproduce Steps

RSDOCTOR=true pnpm serve

@easy1090
Copy link
Contributor

easy1090 commented Jan 22, 2025

Got , we will check this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants