Skip to content
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

Cannot assign to read only property stack of object 'Error: No such file or directory' #9

Closed
DerekFangming opened this issue Mar 22, 2020 · 1 comment
Labels
bug Something isn't working next-release

Comments

@DerekFangming
Copy link

DerekFangming commented Mar 22, 2020

I'm getting the below error when triging to use it in an angular application. Any reason why & if it's supposed to be used in that way?

What I did:
Import in package.json
"heic2any": "0.0.2"
In a component, copy the exact code from the typescript tutorial.

index.js:1 Uncaught TypeError: Cannot assign to read only property 'stack' of object 'Error: No such file or directory'
    at index.js:1
    at Array.forEach (<anonymous>)
    at Object.ensureErrnoError (index.js:1)
    at Object.staticInit (index.js:1)
    at Object.<anonymous> (index.js:1)
    at Object../node_modules/heic2any/dist/index.js (index.js:430)
    at __webpack_require__ (bootstrap:79)
    at Module../src/app/image-converter/image-converter.component.ts (main.js:588)
    at __webpack_require__ (bootstrap:79)
    at Module../src/app/app-routing.module.ts (main.js:341)
@alexcorvi alexcorvi added bug Something isn't working next-release labels Apr 6, 2020
@alexcorvi
Copy link
Owner

Fixed in 0.0.3
release note

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working next-release
Projects
None yet
Development

No branches or pull requests

2 participants