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

png-js not found #22

Open
eeerrrttty opened this issue Apr 11, 2019 · 11 comments
Open

png-js not found #22

eeerrrttty opened this issue Apr 11, 2019 · 11 comments

Comments

@eeerrrttty
Copy link

dependence png-js doesnt exist. even after sudo npm install png-js and it existing on my node_modules or yarn add... Why?

@artfwo
Copy link
Member

artfwo commented Apr 11, 2019

what do you mean by 'doesnt exist'? it is available on npm: https://www.npmjs.com/package/png-js and installs fine.

@eeerrrttty
Copy link
Author

Yeah Artfwo, and it installs on my node_modules, which isn't recognized.

@artfwo
Copy link
Member

artfwo commented Apr 11, 2019

But how is it not recognized? Do you get any runtime errors?

@eeerrrttty
Copy link
Author

ERROR Failed to compile with 1 errors 13:24:01

This dependency was not found:

  • png-js in ./node_modules/blockhash/index.js

To install it, you can run: npm install --save png-js

I have the png-js on my node_modules.

@eeerrrttty
Copy link
Author

It makes completly no sense.

@eeerrrttty
Copy link
Author

Is it a error in png-js ???

@artfwo
Copy link
Member

artfwo commented Apr 11, 2019

What do you run to get the error above?

@eeerrrttty
Copy link
Author

when i build my projec --> dev

@artfwo
Copy link
Member

artfwo commented Apr 12, 2019

Ok, can you provide step by step instructions for reproducing the problem?

@eeerrrttty
Copy link
Author

Easy.

yarn add blockhash
quasar dev 

"ERROR Failed to compile with 1 errors 13:24:01

This dependency was not found:

png-js in ./node_modules/blockhash/index.js"

I took a fork and fixed it then it worked, repo is on my name. (Not using PNG or JPEG dependencies)

@artfwo
Copy link
Member

artfwo commented Apr 12, 2019

Yeah, the package published on npm is severely outdated and I no longer have the credentials to publish an update, so for now I'd suggest using the git version or your own fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants