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

ReferenceError: forge is not defined #418

Closed
jbollam opened this issue Jul 26, 2016 · 2 comments
Closed

ReferenceError: forge is not defined #418

jbollam opened this issue Jul 26, 2016 · 2 comments
Milestone

Comments

@jbollam
Copy link

jbollam commented Jul 26, 2016

Iam using node-forge for encryption and decryption with require.js. I minified the forge as forge.min.js file which is included in my project. I tried many ways ...

  1. included forge.min.js file in index.html
  2. define(.../js/forge.min.js)
    Still i am getting forge not defined error.
    If iam not using require.js its working properly.
    Can any one help me resolving this situation ?

ReferenceError: forge is not defined
at decryptRandomSalt (service.js:83)
at run.js:116
at processQueue (ionic.bundle.js:27879)
at ionic.bundle.js:27895
at Scope.$get.Scope.$eval (ionic.bundle.js:29158)
at Scope.$get.Scope.$digest (ionic.bundle.js:28969)
at Scope.$get.Scope.$apply (ionic.bundle.js:29263)
at bootstrapApply (ionic.bundle.js:14945)
at Object.invoke (ionic.bundle.js:17762)
at doBootstrap (ionic.bundle.js:14943)

@dlongley
Copy link
Member

Hopefully will be addressed in a new release now that #456 has been merged.

@davidlehn davidlehn added this to the v0.7.0 milestone Jan 12, 2017
@davidlehn
Copy link
Member

0.7.0 released which should fix this.

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

3 participants