Help neede for building space running on zero gpu but fails on other

space is building and running on zero gup when i use other i get this error
/usr/bin/node: bad option: --import

2 Likes

I’m having the same issue when trying to build a space. Did you find a solution?

1 Like

It seems like an error that occurs in environments or containers with outdated `Node.js
Does it happen in HF Spaces too?

I have the same issue in Hugging Face space, and I use L4 GPU. The space was running okay a month ago, I haven’t checked recently and today I found the model couldn’t be initialized due to this problem, not sure why?

2 Likes

Its is accouring in hf spaces while building

1 Like

@hysts Something weird. Maybe minor issue due to upgrading or something…

Could you share a minimal repro? I wasn’t able to reproduce it on my end.

1 Like

tahirturk, which hardware used when you’re encountering that error? L4 or something?

Only it runs on zero gpu..but give this error on every gpu

1 Like
1 Like

it was working fine few days ago now having issue..

1 Like

Just replying to say that I am currently experiencing the same issue. Hardware is Nvidia 1xL40S

1 Like

Why does it work on my Zero GPU…???

Thanks for the link! But the Space seems to be up and running now. Not 100% sure, but maybe it was just a temporary issue.

1 Like

Its only running on zero gpu but it not runs on other gpus

1 Like

Zero gpu doesn’t convert long audio when i change gpu i get the error have you checked other gpus

1 Like

From my side, it seems like due to Node.js and GRADIO.

Some logs:

All models and adapters are ready!
Models loaded successfully!
/usr/bin/node: bad option: --import
Cannot start Node server on any port in the range 7861-7861.
Please install Node 20 or higher and set the environment variable GRADIO_NODE_PATH to the path of your Node executable.
You can explicitly specify a port by setting the environment variable GRADIO_NODE_PORT.

To create a public link, set share=True in launch().

1 Like

If I let it run long enough, gradio will exhaust all the preset ports and print the message below. Doing a quick search led me to [this]( Error loading SSR mode · Issue #9903 · gradio-app/gradio · GitHub ). Building the space with ˋssr_mode = Falseˋ effectively eliminates the warnings, but the app does not render.

1 Like