wat tour throws error at clerk.js 'error saving to the local filesystem', undefined is not a function
$ npm install -g wat
C:\Users\mohamed.eltuhamy\AppData\Roaming\npm\wat -> C:\Users\mohamed.eltuhamy\AppData\Roaming\npm\node_modules\wat\bin\index.js
[email protected] C:\Users\mohamed.eltuhamy\AppData\Roaming\npm\node_modules\wat
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], collapse-white-space@1
.0.0, [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected].
0, [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], c
[email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], tunnel-agent@
0.4.2, [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected].
5, [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], h
[email protected])
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], babel-runtime@
6.5.0)
$ wat tour
?
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| |
| Welcome to Wat. Let's look up how to use Javascript's "array.slice()" method. |
| |
| Type "js array slice" and press [enter]. |
| |
| (You can exit using [control] + c at any time.) |
| |
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
? js array slice
C:\Users\mohamed.eltuhamy\AppData\Roaming\npm\node_modules\wat\dist\clerk\clerk.js:368
this.log('Error saving to the local filesystem: ', e);
^
TypeError: undefined is not a function
at Object.file (C:\Users\mohamed.eltuhamy\AppData\Roaming\npm\node_modules\wat\dist\clerk\clerk.js:368:12)
at C:\Users\mohamed.eltuhamy\AppData\Roaming\npm\node_modules\wat\dist\clerk\clerk.js:338:19
at Request._callback (C:\Users\mohamed.eltuhamy\AppData\Roaming\npm\node_modules\wat\dist\util.js:573:11)
at Request.self.callback (C:\Users\mohamed.eltuhamy\AppData\Roaming\npm\node_modules\wat\node_modules\request\request.js:199:22)
at Request.emit (events.js:110:17)
at Request.<anonymous> (C:\Users\mohamed.eltuhamy\AppData\Roaming\npm\node_modules\wat\node_modules\request\request.js:1036:10)
at Request.emit (events.js:129:20)
at IncomingMessage.<anonymous> (C:\Users\mohamed.eltuhamy\AppData\Roaming\npm\node_modules\wat\node_modules\request\request.js:963:12)
at IncomingMessage.emit (events.js:129:20)
at _stream_readable.js:908:16
Okay thanks, will check out.
I've got a very similar issue (windows 64bits wat is installed globally), wat js array slice crash the same way
c:\Users\b.jehanno\AppData\Roaming\npm\node_modules\wat\dist\clerk\clerk.js:368
this.log('Error saving to the local filesystem: ', e);
^
TypeError: this.log is not a function
at Object.file (c:\Users\b.jehanno\AppData\Roaming\npm\node_modules\wat\dist\clerk\clerk.js:368:12)
at c:\Users\b.jehanno\AppData\Roaming\npm\node_modules\wat\dist\clerk\clerk.js:338:19
at Request._callback (c:\Users\b.jehanno\AppData\Roaming\npm\node_modules\wat\dist\util.js:573:11)
at Request.self.callback (c:\Users\b.jehanno\AppData\Roaming\npm\node_modules\wat\node_modules\request\request.js:199:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request.<anonymous> (c:\Users\b.jehanno\AppData\Roaming\npm\node_modules\wat\node_modules\request\request.js:1036:10)
at emitOne (events.js:82:20)
at Request.emit (events.js:169:7)
at IncomingMessage.<anonymous> (c:\Users\b.jehanno\AppData\Roaming\npm\node_modules\wat\node_modules\request\request.js:963:12)
I have the same problem. Running Windows 8.1 x64. Installed with "npm install -g wat".
Okay got it.
The same problem on win7 x64 (wat installed globally too)
Also having the same issue. Tried running as admin, didn't help.
exact same issue. On Windows 10 64 bit
Yep, still happening! :)
Still happening...
Same error, Windows 10 Pro.
Project is abandoned?