Re: [tw] MODULE_NOT_FOUND error with node.js

2016-07-25 Thread 'Mark S.' via TiddlyWiki
I only have the one folder, which is pretty out of date. It could only have 
gotten the codemirror through the update process, since I've never 
installed it. Sounds like I would need to start over?

When I create a new folder, and start it with lazy serving of tiddlers:

> tiddlywiki mytestwiki --server 8080 $:/core/save/lazy-all

Tiddlers that I save and reload are missing their content. Is lazy serving 
supposed to be working? I assume that "non-system" tiddlers are the 
tiddlers that I create??

Thanks!
Mark

On Monday, July 25, 2016 at 7:47:07 PM UTC-7, Jeremy Ruston wrote:
>
> Hi Mark
>
> The error message suggests that you've got the latest CodeMirror plugin 
> installed, but that it cannot access "..editor/factory.js", a core 
> component that was introduced in 5.1.12. Things have clearly got corrupted 
> somehow, but it's hard to figure out why.
>
> Do you get the same behaviour regardless of the wiki folder that you're 
> using?
>
> Best wishes
>
> Jeremy
>
>
>
> --
> Jeremy Ruston
> jer...@jermolene.com 
> http://jermolene.com
>
> On 25 Jul 2016, at 23:42, 'Mark S.' via TiddlyWiki <
> tiddl...@googlegroups.com > wrote:
>
> I haven't used node.js for awhile. I updated following the instructions 
> (npm update -g tiddlywiki). Then attempted to launch, and got the following 
> error. What do I do to get it working?
>
> Thanks!
> Mark
>
> Error executing boot module $:/plugins/tiddlywiki/codemirror/edit-
> codemirror.js:
>  {"code":"MODULE_NOT_FOUND"}
>
> Error: Cannot find module '$:/core/modules/editor/factory.js'
> at Function.Module._resolveFilename (module.js:336:15)
> at Function.Module._load (module.js:278:25)
> at Module.require (module.js:365:17)
> at require (module.js:384:17)
> at Object.$tw.modules.execute (C:\Users\Mark\Downloads\node\
> node_modules\tid
> dlywiki\boot\boot.js:695:11)
> at sandbox.require (C:\Users\Mark\Downloads\node\node_modules\
> tiddlywiki\boo
> t\boot.js:654:24)
> at $:/plugins/tiddlywiki/codemirror/edit-codemirror.js:15:29
> at $:/plugins/tiddlywiki/codemirror/edit-codemirror.js:20:3
> at ContextifyScript.Script.runInNewContext (vm.js:38:15)
> at Object.exports.runInNewContext (vm.js:69:17)
> at $tw.utils.evalSandboxed (C:\Users\Mark\Downloads\node\node_modules\
> tiddly
> wiki\boot\boot.js:450:5)
>
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+...@googlegroups.com .
> To post to this group, send email to tiddl...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/0483ffb4-bd3e-4e0a-9fea-5c737dc9eb0b%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bce19d2e-53d7-46d5-ad7a-a3d4b8a3753e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] MODULE_NOT_FOUND error with node.js

2016-07-25 Thread Jeremy Ruston
Hi Mark

The error message suggests that you've got the latest CodeMirror plugin 
installed, but that it cannot access "..editor/factory.js", a core component 
that was introduced in 5.1.12. Things have clearly got corrupted somehow, but 
it's hard to figure out why.

Do you get the same behaviour regardless of the wiki folder that you're using?

Best wishes

Jeremy



--
Jeremy Ruston
jer...@jermolene.com
http://jermolene.com

> On 25 Jul 2016, at 23:42, 'Mark S.' via TiddlyWiki 
>  wrote:
> 
> I haven't used node.js for awhile. I updated following the instructions (npm 
> update -g tiddlywiki). Then attempted to launch, and got the following error. 
> What do I do to get it working?
> 
> Thanks!
> Mark
> 
> Error executing boot module 
> $:/plugins/tiddlywiki/codemirror/edit-codemirror.js:
>  {"code":"MODULE_NOT_FOUND"}
> 
> Error: Cannot find module '$:/core/modules/editor/factory.js'
> at Function.Module._resolveFilename (module.js:336:15)
> at Function.Module._load (module.js:278:25)
> at Module.require (module.js:365:17)
> at require (module.js:384:17)
> at Object.$tw.modules.execute 
> (C:\Users\Mark\Downloads\node\node_modules\tid
> dlywiki\boot\boot.js:695:11)
> at sandbox.require 
> (C:\Users\Mark\Downloads\node\node_modules\tiddlywiki\boo
> t\boot.js:654:24)
> at $:/plugins/tiddlywiki/codemirror/edit-codemirror.js:15:29
> at $:/plugins/tiddlywiki/codemirror/edit-codemirror.js:20:3
> at ContextifyScript.Script.runInNewContext (vm.js:38:15)
> at Object.exports.runInNewContext (vm.js:69:17)
> at $tw.utils.evalSandboxed 
> (C:\Users\Mark\Downloads\node\node_modules\tiddly
> wiki\boot\boot.js:450:5)
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/0483ffb4-bd3e-4e0a-9fea-5c737dc9eb0b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0471D67A-4E36-4187-B689-50ABCF2F1F52%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] MODULE_NOT_FOUND error with node.js

2016-07-25 Thread 'Mark S.' via TiddlyWiki
I haven't used node.js for awhile. I updated following the instructions 
(npm update -g tiddlywiki). Then attempted to launch, and got the following 
error. What do I do to get it working?

Thanks!
Mark

Error executing boot module $:/plugins/tiddlywiki/codemirror/edit-codemirror
.js:
 {"code":"MODULE_NOT_FOUND"}

Error: Cannot find module '$:/core/modules/editor/factory.js'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.$tw.modules.execute (C:\Users\Mark\Downloads\node\node_modules
\tid
dlywiki\boot\boot.js:695:11)
at sandbox.require (C:\Users\Mark\Downloads\node\node_modules\tiddlywiki
\boo
t\boot.js:654:24)
at $:/plugins/tiddlywiki/codemirror/edit-codemirror.js:15:29
at $:/plugins/tiddlywiki/codemirror/edit-codemirror.js:20:3
at ContextifyScript.Script.runInNewContext (vm.js:38:15)
at Object.exports.runInNewContext (vm.js:69:17)
at $tw.utils.evalSandboxed (C:\Users\Mark\Downloads\node\node_modules\
tiddly
wiki\boot\boot.js:450:5)


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0483ffb4-bd3e-4e0a-9fea-5c737dc9eb0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.