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

Failed to find module: "utf8" #32

Closed
KeyvanMM opened this issue Oct 28, 2017 · 3 comments
Closed

Failed to find module: "utf8" #32

KeyvanMM opened this issue Oct 28, 2017 · 3 comments

Comments

@KeyvanMM
Copy link

Hi
I've added the plugin using:
npm install utf8

and then added this to one page:
var utf8 = require('utf8');

but on navigating to that page i got this error:
An uncaught Exception occurred on "main" thread.
com.tns.NativeScriptException: Failed to find module: "utf8", relative to: app/tns_modules/

I had no problem with other plugins, maybe I forget some thing?

@KeyvanMM KeyvanMM changed the title ailed to find module: "utf8" Failed to find module: "utf8" Oct 28, 2017
@pineapplethief
Copy link

Having this too, using webpack and es6 import utf8 from 'utf8' syntax. module is present in package.json as far as I can see

@pineapplethief
Copy link

Oops, it's working now, must have been some webpack or yarn glitch

@mathiasbynens
Copy link
Owner

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