Skip to content

Error: undefined method 'mapping' for YAML:Module #59

@szabgab

Description

@szabgab

This is my code for now:

$ cat src/sentry.cr 
require "sentry"

This is the error I get:

$ crystal run src/sentry.cr 
Showing last frame. Use --error-trace for full trace.

In lib/sentry/src/sentry.cr:12:10

 12 | YAML.mapping(
           ^------
Error: undefined method 'mapping' for YAML:Module

This is Crystal:

$ crystal --version

Crystal 1.0.0 [dd40a2442] (2021-03-22)

LLVM: 10.0.0
Default target: x86_64-unknown-linux-gnu

Running on Ubuntu 21.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions