{"action":"closed","issue":{"url":"https://api.github.com/repos/jxcore/jxcore/issues/342","labels_url":"https://api.github.com/repos/jxcore/jxcore/issues/342/labels{/name}","comments_url":"https://api.github.com/repos/jxcore/jxcore/issues/342/comments","events_url":"https://api.github.com/repos/jxcore/jxcore/issues/342/events","html_url":"https://github.com/jxcore/jxcore/issues/342","id":75251818,"number":342,"title":"Problem packaging and running Node.js app that uses Kraken.js","user":{"login":"JK006","id":5461263,"avatar_url":"https://avatars.githubusercontent.com/u/5461263?v=3","gravatar_id":"","url":"https://api.github.com/users/JK006","html_url":"https://github.com/JK006","followers_url":"https://api.github.com/users/JK006/followers","following_url":"https://api.github.com/users/JK006/following{/other_user}","gists_url":"https://api.github.com/users/JK006/gists{/gist_id}","starred_url":"https://api.github.com/users/JK006/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JK006/subscriptions","organizations_url":"https://api.github.com/users/JK006/orgs","repos_url":"https://api.github.com/users/JK006/repos","events_url":"https://api.github.com/users/JK006/events{/privacy}","received_events_url":"https://api.github.com/users/JK006/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-11T15:02:26Z","updated_at":"2015-08-20T14:04:58Z","closed_at":"2015-08-20T14:04:58Z","body":"I get the following error while trying to run a sample Node.js app created using Kraken.js generator and packaged by JXCore.\r\n\r\nuncaughtException ENOENT, no such file or directory '/Users/zz/Development/krakenTest/node_modules/kraken-js/config/config.json.jx'\r\nError: ENOENT, no such file or directory '/Users/zz/Development/krakenTest/node_modules/kraken-js/config/config.json.jx'\r\n    at Object.fs.openSync (fs.js:447:18)\r\n    at Object.fs.readFileSync (fs.js:298:15)\r\n    at shush (/Users/zz/Development/krakenTest/node_modules/kraken-js/node_modules/shush/index.js.jx:30:15)\r\n    at resolve (/Users/zz/Development/krakenTest/node_modules/kraken-js/node_modules/confit/index.js.jx:248:25)\r\n    at maybe (/Users/zz/Development/krakenTest/node_modules/kraken-js/node_modules/confit/index.js.jx:239:28)\r\n    at confit (/Users/zz/Development/krakenTest/node_modules/kraken-js/node_modules/confit/index.js.jx:285:5)\r\n    at Object.create (/Users/zz/Development/krakenTest/node_modules/kraken-js/lib/config.js.jx:63:19)\r\n    at settings (/Users/zz/Development/krakenTest/node_modules/kraken-js/lib/settings.js.jx:127:19)\r\n    at module.exports (/Users/zz/Development/krakenTest/node_modules/kraken-js/lib/bootstrap.js.jx:33:12)\r\n    at EventEmitter.onmount (/Users/zz/Development/krakenTest/node_modules/kraken-js/index.js.jx:68:19)\r\n\r\nMy environment details:\r\n----------------------------\r\njx -jxv: v Beta-0.2.3.7\r\njx -v: v0.10.32\r\nnode -v: v0.12.1\r\nKraken-js version: 1.0.5\r\nOperating system: OS X Yosemite (10.10.2)\r\n\r\nTo reproduce the error, \r\n1. Create a sample project using the steps mentioned on krakenjs.com\r\n2. Run the app, 'npm start' and notice it runs without any issues.\r\n3. Now package the app using JXCore, 'jx package server.js krakenTest'\r\n4. Run the packaged app 'jx krakenTest.jx' and you will get the error mentioned above.\r\n\r\nI looked at the package log, lines 'adding asset ...' and noticed that the file mentioned in the error (without .jx extension i.e.) never gets added to the .jx package or at least didn't show up in the log.\r\nAlso, I checked to confirm that the file is present (of course without the .jx extension) in the node_modules directory.\r\nThanks."}}