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

Cant get Examples to run (Directory import is not supported resolving ES modules) #45

Open
autemox opened this issue Feb 10, 2025 · 1 comment

Comments

@autemox
Copy link

autemox commented Feb 10, 2025

Running npx ts-node examples/hn.ts fails with:
CopyError: Directory import '/Users/[user]/Workspace/llm-scraper/src' is not supported resolving ES modules

Environment:
Node.js: v23.6.1
TypeScript: 5.4.5
Package: [email protected]
OS: macOS
Package manager: npm

Steps:
Clone repo
add environmental variables (open ai key)
npm install
terminal: npx ts-node examples/hn.ts

Could you help clarify the correct setup to run the examples?

@avetise
Copy link

avetise commented Feb 22, 2025

Same issue

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