#14018 closed defect (fixed)
dojo.js not compatible with NodeJS for windows
Reported by: | Evan | Owned by: | Rawld Gill |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | Core | Version: | 1.7.0b1 |
Keywords: | dojo, NodeJS, | Cc: | [email protected]… |
Blocked By: | Blocking: |
Description
Creating this on behalf of Nate(IBM, CCLA)
When running dojo build under NodeJS on windows with:
node c:/dojoroot/dojo/dojo.js load=build
It will throw an exception:
node.js:205 throw e; // process.nextTick error, or 'error' event on first tick ^ Error: ENOENT, The system cannot find the file specified. 'util/build/main.js' at Object.openSync (fs.js:222:18) at Object.readFileSync (fs.js:113:15) at Function.getText (d:\workspace\ORIA-Dojo-Dev\dojo\_base\configNode.js:81: 15) at d:\workspace\ORIA-Dojo-Dev\dojo\dojo.js:1279:12 at d:\workspace\ORIA-Dojo-Dev\dojo\dojo.js:93:6 at d:\workspace\ORIA-Dojo-Dev\dojo\dojo.js:614:4 at d:\workspace\ORIA-Dojo-Dev\dojo\dojo.js:677:5 at d:\workspace\ORIA-Dojo-Dev\dojo\dojo.js:124:11 at d:\workspace\ORIA-Dojo-Dev\dojo\dojo.js:1642:19 at Object.<anonymous> (d:\workspace\ORIA-Dojo-Dev\dojo\dojo.js:1644:2)
The attached patch fixes this issue.
Attachments (1)
Change History (7)
Changed 9 years ago by
Attachment: | 14018.patch added |
---|
comment:1 Changed 9 years ago by
Owner: | set to Rawld Gill |
---|
comment:2 Changed 9 years ago by
comment:3 follow-up: 5 Changed 9 years ago by
Thanks for the patch!
I've committed; could you please verify it solves your particular use case?
comment:4 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 Changed 9 years ago by
Replying to rcgill:
Thanks for the patch!
I've committed; could you please verify it solves your particular use case?
Thanks, rcgill,
It's working perfectly.
comment:6 Changed 9 years ago by
Milestone: | tbd → 1.7 |
---|
Note: See
TracTickets for help on using
tickets.
In [26746]: