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

fix: allow Node 18 again to make Stackblitz work #1544

Merged
merged 5 commits into from
Dec 4, 2024
Merged

Conversation

marcusschiesser
Copy link
Collaborator

@marcusschiesser marcusschiesser commented Dec 3, 2024

Copy link

changeset-bot bot commented Dec 3, 2024

🦋 Changeset detected

Latest commit: bcd5c9a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 32 packages
Name Type
llamaindex Patch
@llamaindex/env Patch
@llamaindex/unit-test Patch
docs Patch
@llamaindex/doc Patch
@llamaindex/cloudflare-worker-agent-test Patch
@llamaindex/next-agent-test Patch
@llamaindex/nextjs-edge-runtime-test Patch
@llamaindex/next-node-runtime-test Patch
@llamaindex/waku-query-engine-test Patch
@llamaindex/autotool Patch
@llamaindex/experimental Patch
@llamaindex/autotool-01-node-example Patch
@llamaindex/autotool-02-next-example Patch
@llamaindex/cloud Patch
@llamaindex/community Patch
@llamaindex/core Patch
@llamaindex/node-parser Patch
@llamaindex/readers Patch
@llamaindex/workflow Patch
@llamaindex/anthropic Patch
@llamaindex/clip Patch
@llamaindex/deepinfra Patch
@llamaindex/groq Patch
@llamaindex/huggingface Patch
@llamaindex/ollama Patch
@llamaindex/openai Patch
@llamaindex/portkey-ai Patch
@llamaindex/replicate Patch
@llamaindex/llama-parse-browser-test Patch
@llamaindex/vercel Patch
@llamaindex/vllm Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Dec 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
legacy-llama-index-ts-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 4, 2024 4:30am
llamaindex-ts-doc ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 4, 2024 4:30am

Copy link

pkg-pr-new bot commented Dec 3, 2024

Open in Stackblitz

@llamaindex/autotool

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/autotool@1544

@llamaindex/cloud

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/cloud@1544

@llamaindex/community

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/community@1544

@llamaindex/env

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/env@1544

@llamaindex/core

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/core@1544

@llamaindex/experimental

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/experimental@1544

llamaindex

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/llamaindex@1544

@llamaindex/node-parser

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/node-parser@1544

@llamaindex/readers

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/readers@1544

@llamaindex/wasm-tools

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/wasm-tools@1544

@llamaindex/workflow

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/workflow@1544

@llamaindex/anthropic

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/anthropic@1544

@llamaindex/clip

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/clip@1544

@llamaindex/deepinfra

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/deepinfra@1544

@llamaindex/groq

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/groq@1544

@llamaindex/huggingface

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/huggingface@1544

@llamaindex/ollama

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/ollama@1544

@llamaindex/openai

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/openai@1544

@llamaindex/portkey-ai

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/portkey-ai@1544

@llamaindex/replicate

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/replicate@1544

@llamaindex/vercel

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/vercel@1544

@llamaindex/vllm

npm i https://pkg.pr.new/run-llama/LlamaIndexTS/@llamaindex/vllm@1544

commit: bcd5c9a

@@ -7,6 +7,13 @@ export {
} from "./shared.js";

export async function loadTransformers(onLoad: OnLoad) {
const nodeVersions = process.versions.node.split(".");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not working, npm install will throw error before you do this

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@himself65 hmm, on ci we're using pnpm and it works. what do you suggest to check for the node version at runtime instead?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm wont work

@himself65 himself65 changed the title fix: Allow Node 18 again to make Stackblitz work fix: allow Node 18 again to make Stackblitz work Dec 3, 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

Successfully merging this pull request may close these issues.

2 participants