Skip to content

Error: Code generation from strings disallowed for this context #83

Description

@qeelei

I am trying to install and use the lodash package:

    const manager = new PluginManager()
    await manager.install('lodash')

    const _ = manager.require('lodash')
    console.log('defaults: ', _.defaults({ a: 1 }, { a: 3, b: 2 }))
   

But the following error is thrown:

Uncaught (in promise) Error: Code generation from strings disallowed for this context

This moment example works fine

https://github.com/davideicardi/live-plugin-manager#usage

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions