Skip to content

Freeze requirements properly #287

Closed

Description

@Tyrn

I've got a nodeenv package in my Python project's virtual environment. I want to keep all the dependencies there. My initial actions, according to the docs:

    (.venv) $ nodeenv -p
    (.venv) $ npm install -g cheerio
    (.venv) $ freeze node-requirements.txt

node-requirements.txt looks sensible:

The trouble starts when I try to install the project from scratch. With the Python part set up:

    (.venv) $ nodeenv -r node-requirements.txt

crashes, so I have to

    (.venv) nodeenv -p
     * Install prebuilt node (16.10.0) ..... done.
     * Appending data to /home/user/spaces/python/goodmarks/.venv/bin/activate
     * Appending data to /home/user/spaces/python/goodmarks/.venv/bin/activate.fish
    (.venv) $ nodeenv -r node-requirements.txt

This way I get just [email protected] frozen. The runtime will be current. If this is really so, how am I supposed to freeze node and things, too?

Activity

  1. added a commit that references this issue on Sep 24, 2026
    ef5ec35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions