Skip to content

Error: export 'make' (imported as 'PImage') was not found in 'pureimage' (module has no exports) #169

@madmacc

Description

@madmacc

Expected Behaviour

This was working fine in my Angular 10 project using:
import * as PImage from "pureimage"

Actual Behaviour

In Angular 16 I get the following error However the package actually works as expected.
export 'make' (imported as 'PImage') was not found in 'pureimage' (module has no exports)

Steps To Reproduce

npm i pureimage
import * as PImage from "pureimage"
const img1: Bitmap = PImage.make(imgFrameWidth, imgFrameHeight, null);

Platform

OS: Windows 10
Node Version: 16.20.0
NPM Version: 9.7.6
PureImage Version: 0.3.17

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