You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
var fs = require('fs');
var crypto = require('crypto');
When I try to run it, I get an error for module 'fs':
C:\Development\BlockChain\ethereum-fossilizer>truffle.cmd exec watcher.js
C:\Users\tconte\AppData\Roaming\npm\node_modules\truffle\lib\require.js:60
throw e;
^
Error: Cannot find module 'C:\Development\BlockChain\ethereum-fossilizer\node_modules\fs'
at Function.Module._resolveFilename (module.js:440:15)
at Function.Module._load (module.js:388:25)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at context.require (C:\Users\tconte\AppData\Roaming\npm\node_modules\truffle\lib\require.js:55:22)
at C:\Development\BlockChain\ethereum-fossilizer\watcher.js:1:10
at ContextifyScript.Script.runInContext (vm.js:35:29)
at ContextifyScript.Script.runInNewContext (vm.js:41:15)
at C:\Users\tconte\AppData\Roaming\npm\node_modules\truffle\lib\require.js:80:14
at tryToString (fs.js:455:3)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:442:12)
The text was updated successfully, but these errors were encountered:
My script contains:
When I try to run it, I get an error for module 'fs':
The text was updated successfully, but these errors were encountered: