-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: export 'make' (imported as 'PImage') was not found in 'pureimage' (module has no exports) #169
Comments
Same as. |
First I want to say I had no idea how many people are using PureImage and I'm very sorry I broke it. Next: The source of the breakage was me trying to set up a CI system with Github Actions. I've just published 0.4.13. Could you try that out and let me know if that fixes it? |
@joshmarinacci I get the following error now. |
could you send me your package.JSON file? |
I just tried again and it worked. It must have been a random VSCode thing.
|
I recently redid the packaging because the types were missing. Can see see if it works now? |
@joshmarinacci I forgot to mention I was using this in Angular not Node above. Here is my package.json
|
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
The text was updated successfully, but these errors were encountered: