Skip to content

Cannot find module '@hapi/hoek/assert' from '../../node_modules/joi/lib/index.js' #2911

@mzyil

Description

@mzyil

Support plan

  • is this issue currently blocking your project? (yes/no): yes
  • is this issue affecting a production system? (yes/no): yes

Context

  • node version: v16
  • module version with issue: 17.8.*
  • last module version without issue: idk
  • environment (e.g. node, browser, native): node
  • used with (e.g. hapi application, another framework, standalone, ...): as a transient dependency of the node-jq lib
  • any other relevant information: recent change

What are you trying to achieve or the steps to reproduce?

Here is the comment that points to the exact line: https://github.com/hapijs/joi/pull/2909/files#r1111330145

irrelevant

What was the result you got?

Cannot find module '@hapi/hoek/assert' from '../../node_modules/joi/lib/index.js'

What result did you expect?

no import errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportQuestions, discussions, and general support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions