-1
我已经使用var module = require('/path/to/node_modules/module-name')
和我所有的其他型号都可以识别,但是fs
没有被识别,即使我已经指出它在哪里,并确保它的安装?我不明白,请大家帮忙“module fs can not be found”
我的控制台给出这样的: http://prntscr.com/g2akvs
但我所有的其他模块都很好
,你可以通过我的参考,请参阅: http://prntscr.com/g2akzm
'fs'是土生土长的NodeJS模块,它前人的精力原样导入: '让fs = require('fs');' – alexmac
试过了但它不起作用:/ –
同样的错误? – alexmac