Skip to content

NodeJS Loader could not convert the value of type 'Invalid' to N-API  #516

Open
@Mostafa-wael

Description

🐛 Bug Report

I got an error while using the string manipulation example.

Expected Behavior

It should output: NodeJS Loader could not convert the value of type 'Invalid' to N-API

Current Behavior

I got: [null,0]

Steps to Reproduce

  1. metacall load rb examples/string-manipulation/str.rb
  2. call longest_repetition("")

Context (Environment)

Windows10

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions