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

Resolve error after migrating from 0.46.3 to 0.47.3 #1275

Closed
openscript opened this issue Feb 6, 2024 · 1 comment
Closed

Resolve error after migrating from 0.46.3 to 0.47.3 #1275

openscript opened this issue Feb 6, 2024 · 1 comment

Comments

@openscript
Copy link
Contributor

Describe the bug
After migrating to 0.47.3 my projects won't work. The following error is raised:

apps/slides dev$ slidev
│ file:///workspaces/project/node_modules/.pnpm/mlly@1.5.0/node_modules/mlly/dist/index.mjs:2121
│   return pcall(resolvePathSync, id, options);
│          ^
│ Error: Error: ENOTDIR: not a directory, open '/workspaces/project/node_modules/.pnpm/@slidev+cli@0.47.3_@types+markdown-it@13.0.7_postcss@8.4.34_sass@1.70.0/node_modules/@slidev/cli/dist/chunk-O6VUSZMJ.mjs/package.json'
│     at resolvePath (file:///workspaces/project/node_modules/.pnpm/mlly@1.5.0/node_modules/mlly/dist/index.mjs:2121:10)
│     at resolveImportPath (file:///workspaces/project/node_modules/.pnpm/@slidev+cli@0.47.3_@types+markdown-it@13.0.7_postcss@8.4.34_sass@1.70.0/node_modules/@slidev/cli/dist/chunk-O6VUSZMJ.mjs:15:12)
│     at packageExists (file:///workspaces/project/node_modules/.pnpm/@slidev+cli@0.47.3_@types+markdown-it@13.0.7_postcss@8.4.34_sass@1.70.0/node_modules/@slidev/cli/dist/chunk-O6VUSZMJ.mjs:60:13)
│     at resolveThemeName (file:///workspaces/project/node_modules/.pnpm/@slidev+cli@0.47.3_@types+markdown-it@13.0.7_postcss@8.4.34_sass@1.70.0/node_modules/@slidev/cli/dist/chunk-YJTIXRZE.mjs:8076:13)
│     at resolveOptions (file:///workspaces/project/node_modules/.pnpm/@slidev+cli@0.47.3_@types+markdown-it@13.0.7_postcss@8.4.34_sass@1.70.0/node_modules/@slidev/cli/dist/chunk-YJTIXRZE.mjs:7998:23)
│     at async initServer (file:///workspaces/project/node_modules/.pnpm/@slidev+cli@0.47.3_@types+markdown-it@13.0.7_postcss@8.4.34_sass@1.70.0/node_modules/@slidev/cli/dist/cli.mjs:114:23) {
│   code: 'ENOTDIR'
│ }

I suspect 2a152cf or b649ccd.

To Reproduce
Steps to reproduce the behavior:

  1. Run slidev in a monorepo

Desktop (please complete the following information):

  • OS: Linux
  • Browser: not relevant
  • Slidev version: 0.47.3
@openscript
Copy link
Contributor Author

@antfu antfu closed this as completed in bdad035 Feb 6, 2024
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

1 participant