Skip to content

Can this project be used with kotlin-frontend-plugin? #204

@markjfisher

Description

@markjfisher

This may be my lack of knowledge on kotlin-frontend-plugin, but when I use assertk with that plugin, during the build I get the following error, which I don't know how to resolve:

ERROR in ./node_modules_imported/assertk/assertk.js
Module not found: Error: Can't resolve 'opentest4k' in '/path/to/project/build/node_modules_imported/assertk'
 @ ./node_modules_imported/assertk/assertk.js 3:4-56

I tried adding the npm module directly with:

kotlinFrontend {
    npm {
        devDependency "opentest4k"
    }

but that errors saying it can't find the npm module:

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/opentest4k - Not found
npm ERR! 404
npm ERR! 404  'opentest4k@*' is not in the npm registry.

Any advice on using assertk with kotlin-frontend-plugin?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions