Package Details: slidev-cli 0.43.2-1

Git Clone URL: https://aur.archlinux.org/slidev-cli.git (read-only, click to copy)
Package Base: slidev-cli
Description: Presentation Slides for Developers
Upstream URL: https://sli.dev
Licenses: MIT
Submitter: dusansimic
Maintainer: None
Last Packager: dusansimic
Votes: 0
Popularity: 0.000000
First Submitted: 2021-11-16 08:52 (UTC)
Last Updated: 2023-09-13 09:14 (UTC)

Latest Comments

butla commented on 2023-03-22 19:36 (UTC) (edited on 2023-03-23 13:15 (UTC) by butla)

I'm getting an error when trying to build the default sample presentation.

Reproduction:

  • run slidev init to get a sample presentation
  • run slidev build
  • choose npm as the package manager to use

Error I'm getting:

Error: Failed to resolve package "@slidev/theme-default/package.json"
    at resolveImportPath (/usr/lib/node_modules/@slidev/cli/dist/chunk-UJ5GHVII.js:83:11)
    at getRoot (/usr/lib/node_modules/@slidev/cli/dist/chunk-RRNUXVEA.js:10334:72)
    at getThemeRoots (/usr/lib/node_modules/@slidev/cli/dist/chunk-RRNUXVEA.js:10324:11)
    at resolveOptions (/usr/lib/node_modules/@slidev/cli/dist/chunk-RRNUXVEA.js:10360:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

It looks like slidev isn't seeing the node_modules in the current work directory.

EDIT: I started installing slidev into local node_modules with npm install @slidev/cli.