{"action":"created","issue":{"url":"https://api.github.com/repos/raix/push/issues/185","repository_url":"https://api.github.com/repos/raix/push","labels_url":"https://api.github.com/repos/raix/push/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/raix/push/issues/185/comments","events_url":"https://api.github.com/repos/raix/push/issues/185/events","html_url":"https://github.com/raix/push/issues/185","id":138451977,"number":185,"title":"[Meteor 1.3-beta.12] (Cross-Post-Issue) Error building with raix:push - Package configured via .json config file","user":{"login":"DanielDornhardt","id":3845924,"avatar_url":"https://avatars.githubusercontent.com/u/3845924?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielDornhardt","html_url":"https://github.com/DanielDornhardt","followers_url":"https://api.github.com/users/DanielDornhardt/followers","following_url":"https://api.github.com/users/DanielDornhardt/following{/other_user}","gists_url":"https://api.github.com/users/DanielDornhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielDornhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielDornhardt/subscriptions","organizations_url":"https://api.github.com/users/DanielDornhardt/orgs","repos_url":"https://api.github.com/users/DanielDornhardt/repos","events_url":"https://api.github.com/users/DanielDornhardt/events{/privacy}","received_events_url":"https://api.github.com/users/DanielDornhardt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-03-04T11:33:30Z","updated_at":"2016-03-09T10:30:30Z","closed_at":null,"body":"Hello, i've posted the following error to the Meteor Issue Tracker already, see link below.\r\n\r\nThe thing is, I think it's possible to configure raix:push without the .json - File, which would be a workaround, but I don't get exactly how to configure the client side. The docs lead to the recommendation to use the configuration of the cordova push package: https://github.com/raix/push/blob/v3.x/docs/ADVANCED.md#note-outdated , but the supplied link https://github.com/phonegap/phonegap-plugin-push#pushnotificationinitoptions doesn't seem to lead to an explanation of the config anymore.\r\n\r\nMaybe somebody can give a hands-on example of how to deal with it?\r\n\r\nOr maybe it's possible to move this to Meteor.settings or upgrade the Push.Configure - call to set the required parameters for phonegap-plugin-push?\r\n\r\nThis is the error I posted:\r\n\r\nLink: https://github.com/meteor/meteor/issues/6411\r\n\r\nText:\r\n\r\n---\r\n\r\nI receive this of error since updating from 1.3 Beta 11 to 1.3 Beta 12:\r\n\r\n    Error: sourcePath not a file: push.config.web.browser.js\r\n        at ImportScanner._ensureSourcePath (/tools/isobuild/import-scanner.js:208:13)\r\n        at /tools/isobuild/import-scanner.js:101:28\r\n        at Array.forEach (native)\r\n        at ImportScanner.addInputFiles (/tools/isobuild/import-scanner.js:100:11)\r\n        at /tools/isobuild/compiler-plugin.js:709:15\r\n        at Array.forEach (native)\r\n        at Function.computeJsOutputFilesMap (/tools/isobuild/compiler-plugin.js:689:19)\r\n        at ClientTarget._emitResources (/tools/isobuild/bundler.js:749:8)\r\n        at /tools/isobuild/bundler.js:516:12\r\n        at /tools/utils/buildmessage.js:359:18\r\n        at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)\r\n        at /tools/utils/buildmessage.js:352:34\r\n        at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)\r\n        at /tools/utils/buildmessage.js:350:23\r\n        at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)\r\n        at Object.enterJob (/tools/utils/buildmessage.js:324:26)\r\n        at ClientTarget.make (/tools/isobuild/bundler.js:507:18)\r\n        at /tools/isobuild/bundler.js:2232:14\r\n        at /tools/isobuild/bundler.js:2322:20\r\n        at Array.forEach (native)\r\n        at Function._.each._.forEach (/Users/spaceman/.meteor/packages/meteor-tool/.1.1.13-beta.12.1p7kgab++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)\r\n        at /tools/isobuild/bundler.js:2321:7\r\n        at /tools/utils/buildmessage.js:271:13\r\n        at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)\r\n        at /tools/utils/buildmessage.js:264:29\r\n        at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)\r\n        at /tools/utils/buildmessage.js:262:18\r\n        at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)\r\n        at /tools/utils/buildmessage.js:253:23\r\n        at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)\r\n        at Object.capture (/tools/utils/buildmessage.js:252:19)\r\n        at Object.exports.bundle (/tools/isobuild/bundler.js:2213:31)\r\n        at /tools/runners/run-app.js:586:36\r\n        at Function.run (/tools/tool-env/profile.js:489:12)\r\n        at bundleApp (/tools/runners/run-app.js:576:34)\r\n        at AppRunner._runOnce (/tools/runners/run-app.js:629:35)\r\n        at AppRunner._fiber (/tools/runners/run-app.js:881:28)\r\n        at /tools/runners/run-app.js:406:12\r\n\r\nAfter a lot of humming and hawing, it seems to boil down to this:\r\n\r\nraix:push is structured to be configured using a file `config.push.json` in the meteor projects' root directory.\r\n\r\nThen there seems to be some kind of build plugin which is supposed to read the file and actually add some additional javascript. The whole thing is registered here: https://github.com/raix/push/blob/f3a5a653dc2d1d7cd1af0b4d6478d23bcbd0644f/plugin/push.configuration.js#L185\r\n\r\n...AAAND that's how far I can isolate the error. Something (a lot I feel?) changed in the build process from 1.3 Beta 11 to 1.3 Beta 12 and this is one issue which probably needs to be patched somewhere.\r\n\r\nReproduction Repo: https://github.com/DanielDornhardt/meteor13Beta12errorBuildingWithRaixPushPackage\r\n\r\n- just remove or rename the file config.push.json to see the build error disappear.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/raix/push/issues/comments/194229854","html_url":"https://github.com/raix/push/issues/185#issuecomment-194229854","issue_url":"https://api.github.com/repos/raix/push/issues/185","id":194229854,"user":{"login":"raix","id":1136718,"avatar_url":"https://avatars.githubusercontent.com/u/1136718?v=3","gravatar_id":"","url":"https://api.github.com/users/raix","html_url":"https://github.com/raix","followers_url":"https://api.github.com/users/raix/followers","following_url":"https://api.github.com/users/raix/following{/other_user}","gists_url":"https://api.github.com/users/raix/gists{/gist_id}","starred_url":"https://api.github.com/users/raix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raix/subscriptions","organizations_url":"https://api.github.com/users/raix/orgs","repos_url":"https://api.github.com/users/raix/repos","events_url":"https://api.github.com/users/raix/events{/privacy}","received_events_url":"https://api.github.com/users/raix/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T10:30:30Z","updated_at":"2016-03-09T10:30:30Z","body":"Thanks @DanielDornhardt good to know"}}