Skip to content

Apple Basic Theme does not load #59

@rebz

Description

@rebz

When attempting to use the apple-basic theme I receive the following message in the terminal.
The theme "slidev-theme-apple-basic" was not found in your project, do you want to install it now?

I choose y to install and receive the following error.

npm ERR! code ENOVERSIONS
npm ERR! No valid versions available for slidev-theme-apple-basic

(node:25672) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1: npm i slidev-theme-apple-basic
    at makeError (/Users/username/Code/github/test-slidev/node_modules/@slidev/cli/dist/chunk-JO7C4JO4.js:5935:17)
    at handlePromise (/Users/username/Code/github/test-slidev/node_modules/@slidev/cli/dist/chunk-JO7C4JO4.js:6577:33)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async run2 (/Users/username/Code/github/test-slidev/node_modules/@slidev/cli/dist/chunk-JO7C4JO4.js:7501:5)
    at async promptForThemeInstallation (/Users/username/Code/github/test-slidev/node_modules/@slidev/cli/dist/chunk-JO7C4JO4.js:7648:3)
    at async resolveOptions (/Users/username/Code/github/test-slidev/node_modules/@slidev/cli/dist/chunk-JO7C4JO4.js:7584:9)
    at async initServer (/Users/username/Code/github/test-slidev/node_modules/@slidev/cli/dist/cli.js:68:21)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:25672) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:25672) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I have tried the following command as well, npm install @slidev/theme-apple-basic.

I can confirm that the package does exist in my npm_modules.

I continue to receive the following message each time I try to run dev.
The theme "slidev-theme-apple-basic" was not found in your project, do you want to install it now?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions