Module not found


#1

I’ve just install fuse.js node module by comment “npm install fuse.js”
After install it I have some problems “Error: : Uncaught require(): module not found: fuse.js

This is my unoproj :
“Includes”: [
",
"assets/
.png:Bundle”,
“node_modules/fuse.js/*:Bundle”,]

This is my javascipts file:
var Fuse = require(“fuse.js”);

var options = {
shouldSort: true,
threshold: 0.6,
location: 0,
distance: 100,
maxPatternLength: 32,
minMatchCharLength: 1,
keys: [
“title”,
“author.firstName”
]
};
var fuse = new Fuse(list, options); // “list” is the item array
var result = fuse.search(“viet”);