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

npx @inquirer/demo@latest crashes on macos sonoma 14.4.1 #1393

Closed
andystevenson opened this issue Apr 16, 2024 · 3 comments
Closed

npx @inquirer/demo@latest crashes on macos sonoma 14.4.1 #1393

andystevenson opened this issue Apr 16, 2024 · 3 comments

Comments

@andystevenson
Copy link

npx @inquirer/demo@latest
Need to install the following packages:
@inquirer/demo@0.5.0
Ok to proceed? (y) y
file:///Users/andystevenson/.npm/_npx/eec671e795f0c5d0/node_modules/@inquirer/demo/demos/checkbox.mjs:2
import { checkbox, Separator } from '@inquirer/prompts';
^^^^^^^^^
SyntaxError: The requested module '@inquirer/prompts' does not provide an export named 'Separator'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:134:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:217:5)
at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
at async loadESM (node:internal/process/esm_loader:28:7)
at async handleMainPromise (node:internal/modules/run_main:113:12)

Node.js v20.12.1

@SBoudrias
Copy link
Owner

Whoops! Thanks for the report. I published a fix!

@andystevenson
Copy link
Author

You're welcome... was pretty sure it was unintended!
Works like a dream now!

@SBoudrias
Copy link
Owner

Yeah 🤦🏻 the risks of shipping breaking changes! (and of not using TS for the demos 😬)

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

2 participants