我正在尝试安装bcrypt。它给了我这个错误

时间:2018-01-05 19:38:58

标签: node.js bcrypt

// using a typecast:
def results = new File(someDirectory).listFiles((FileFilter) { it.name.startsWith 'foo'})

// using as keyword:
def results = new File(someDirectory).listFiles({ it.name.startsWith 'foo'} as FileFilter)

// using SAM-type coercion:
FileFilter ff = { it.name.startsWith 'foo'}
def results = new File(someDirectory).listFiles(ff)

1 个答案:

答案 0 :(得分:0)

像muthukumar在评论中所说的

{{1}}

如果不起作用,请尝试:

1-删除'node_modules'文件夹
2- npm缓存清理
3- npm更新