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

Error: Can't resolve './browser/algorithms' #35

Closed
joshunger opened this issue Mar 27, 2017 · 12 comments
Closed

Error: Can't resolve './browser/algorithms' #35

joshunger opened this issue Mar 27, 2017 · 12 comments

Comments

@joshunger
Copy link

joshunger commented Mar 27, 2017

Looks like 4.0.3 was published today.

localhost > Module not found: Error: Can't resolve './browser/algorithms' in '.../node_modules/browserify-sign'
localhost > @ ./~/browserify-sign/algos.js 1:17-48
localhost > @ ./~/crypto-browserify/index.js
localhost > @ ./~/node-uuid/uuid.js

@calvinmetcalf ?

EDIT: looks like we were missing .json in our extensions: ['.js', '.jsx', '.json'] in our webpack configuration.

@mohannad-abwah
Copy link

I'm seeing the same problem and can no longer run my Angular2 app. Can we get an ETA for a fix?

@ajtowf
Copy link

ajtowf commented Mar 27, 2017

Same here, discovered while recording a pluralsight course, worked hours before the recording :-)

@ajtowf
Copy link

ajtowf commented Mar 27, 2017

@mohannad-abwah tmp workaround that worked for me, install 4.0.0 explicitly to your project

@mohannad-abwah
Copy link

@ajtowf That worked, thanks!

@kudobyte
Copy link

As @joshunger said, adding .json to my webpack config's resolve: { extensions: [ '.js', '.json' ] } helped. Thanks!

@ajtowf
Copy link

ajtowf commented Mar 28, 2017

@joshunger @kudobyte even better, thanks!

@antal-bukos
Copy link
Contributor

Here's an attempt to fix it #36

@abstract-christos
Copy link

Same same, please patch this ASAP! :) thanks

@ayami123
Copy link

error still the same
Error: Cannot find module "./browser/algorithms.json"

@calvinmetcalf
Copy link
Contributor

@ayami how are you running this (what build tool) and what version of this do you have ?

@ayami123
Copy link

ayami123 commented Apr 11, 2018

I installed npm i CryptoBrowserify
and along came with this.

I use ionic 3
and for some reason it can't detect .json file ?

edit: found the problem, I'm using an old version of Ionic app script =_=

@calvinmetcalf typescript ?

@calvinmetcalf
Copy link
Contributor

do you know what ionic 3 uses to built it's JS ?

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

8 participants