-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