{"action":"created","issue":{"url":"https://api.github.com/repos/nwjs/nw.js/issues/3750","labels_url":"https://api.github.com/repos/nwjs/nw.js/issues/3750/labels{/name}","comments_url":"https://api.github.com/repos/nwjs/nw.js/issues/3750/comments","events_url":"https://api.github.com/repos/nwjs/nw.js/issues/3750/events","html_url":"https://github.com/nwjs/nw.js/issues/3750","id":100022734,"number":3750,"title":"[nw13] no nw.require when using manifest.json","user":{"login":"Imskull","id":3264061,"avatar_url":"https://avatars.githubusercontent.com/u/3264061?v=3","gravatar_id":"","url":"https://api.github.com/users/Imskull","html_url":"https://github.com/Imskull","followers_url":"https://api.github.com/users/Imskull/followers","following_url":"https://api.github.com/users/Imskull/following{/other_user}","gists_url":"https://api.github.com/users/Imskull/gists{/gist_id}","starred_url":"https://api.github.com/users/Imskull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Imskull/subscriptions","organizations_url":"https://api.github.com/users/Imskull/orgs","repos_url":"https://api.github.com/users/Imskull/repos","events_url":"https://api.github.com/users/Imskull/events{/privacy}","received_events_url":"https://api.github.com/users/Imskull/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-10T09:52:29Z","updated_at":"2015-08-13T07:58:24Z","closed_at":"2015-08-13T07:58:24Z","body":"I am porting my chrome app with NWJS, my app is using NACL on chrome, so I need to write some native code for NWJS as an addon, but it seems nw.require is undefined when using manifest.json. It's ok when using package.json. \r\n\r\nHow can I get nw.require defined? or it's not supported as of now? thanks.\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/25589302-nw13-no-nw-require-when-using-manifest-json?utm_campaign=plugin&utm_content=tracker%2F51989&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F51989&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/nwjs/nw.js/issues/comments/130568791","html_url":"https://github.com/nwjs/nw.js/issues/3750#issuecomment-130568791","issue_url":"https://api.github.com/repos/nwjs/nw.js/issues/3750","id":130568791,"user":{"login":"Imskull","id":3264061,"avatar_url":"https://avatars.githubusercontent.com/u/3264061?v=3","gravatar_id":"","url":"https://api.github.com/users/Imskull","html_url":"https://github.com/Imskull","followers_url":"https://api.github.com/users/Imskull/followers","following_url":"https://api.github.com/users/Imskull/following{/other_user}","gists_url":"https://api.github.com/users/Imskull/gists{/gist_id}","starred_url":"https://api.github.com/users/Imskull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Imskull/subscriptions","organizations_url":"https://api.github.com/users/Imskull/orgs","repos_url":"https://api.github.com/users/Imskull/repos","events_url":"https://api.github.com/users/Imskull/events{/privacy}","received_events_url":"https://api.github.com/users/Imskull/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T07:58:24Z","updated_at":"2015-08-13T07:58:24Z","body":"Ok, my fault, forgot the `node` permission.\r\n\r\nI use nw.require to load addons only."}}