Skip to content

MODULE NOT FOUND message when useing a module #8812

@amtoine

Description

@amtoine

Describe the bug

i was trying to use the std library locally with

use crates/nu-std/std.nu

and saw the following strange message 🤔

MODULE_NOT_FOUND

on each character, MODULE NOT FOUND would show up on top of the hints and add a newline.

How to reproduce

  1. go to the nushell source
  2. checkout on latest main
  3. run cargo run to be sure to use the latest version
  4. start typing use crates/nu-std/std.nu

Expected behavior

i think there shouldn't be this debug message at all 😋

Screenshots

No response

Configuration

key value
version 0.78.1
branch main
commit_hash 1b677f1
build_os linux-x86_64
build_target x86_64-unknown-linux-gnu
rust_version rustc 1.66.1 (90743e729 2023-01-10)
rust_channel 1.66.1-x86_64-unknown-linux-gnu
cargo_version cargo 1.66.1 (ad779e08b 2023-01-10)
build_time 2023-04-07 20:18:08 +02:00
build_rust_channel release
features default, zip
installed_plugins len

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions