Closed Timopheym closed 11 years ago
This demo example (examples/demos/getting_started) from master branch works fine for me.
$ lmd -v
1.10.13
$ cd ~/Documents/lmd/examples/demos/getting_started
$ lmd watch index
info: Now watching 3 module files. Ctrl+C to stop
info: Rebuilding...
info: Writing LMD Package to ~/Documents/lmd/examples/demos/getting_started/index.lmd.js
@Timopheym please provide lmd -v
and your lmd/examples/demos/getting_started/.lmd/index.lmd.json
config
It's strange...
$ lmd -v
1.10.13
$ cat .lmd/index.lmd.json
{
"name": "Basic build with `en` locale by default",
"root": "../",
"output": "index.lmd.js",
"modules": {
"main": "js/main.js",
"i18n": "i18n/en.json",
"name": "tpls/name.html"
},
"main": "main",
"ie": false,
"pack": true,
"lazy": false
}
$ pwd
/Users/T/Downloads/lmd-master/examples/demos/getting_started
$ node -v
v0.10.5
path.join @ node 0.10.x become strict to non-String arguments and throws that error. Ill fix this issue in few minutes.
Thank you for report this bug! Issue #138 fixed in lmd@1.10.14
macbook-pro:getting_started T$ lmd watch index
info: Now watching 3 module files. Ctrl+C to stop
info: Rebuilding...
info: Writing LMD Package to /Users/T/Downloads/lmd-master/examples/demos/getting_started/index.lmd.js
Works fine, thanks a lot for such good project and fast feedback!
I try make getting_started project myself, and downloaded it from repo.
When i run
I got this error:
Why is it so?