{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/2962","repository_url":"https://api.github.com/repos/NativeScript/nativescript-cli","labels_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/2962/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/2962/comments","events_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/2962/events","html_url":"https://github.com/NativeScript/nativescript-cli/issues/2962","id":241389099,"number":2962,"title":"After upgraded to nativescript 3.1.2, tns run android still works. But npm run start-android-bundle get error","user":{"login":"xgu01","id":29957936,"avatar_url":"https://avatars3.githubusercontent.com/u/29957936?v=4","gravatar_id":"","url":"https://api.github.com/users/xgu01","html_url":"https://github.com/xgu01","followers_url":"https://api.github.com/users/xgu01/followers","following_url":"https://api.github.com/users/xgu01/following{/other_user}","gists_url":"https://api.github.com/users/xgu01/gists{/gist_id}","starred_url":"https://api.github.com/users/xgu01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xgu01/subscriptions","organizations_url":"https://api.github.com/users/xgu01/orgs","repos_url":"https://api.github.com/users/xgu01/repos","events_url":"https://api.github.com/users/xgu01/events{/privacy}","received_events_url":"https://api.github.com/users/xgu01/received_events","type":"User","site_admin":false},"labels":[{"id":601311889,"url":"https://api.github.com/repos/NativeScript/nativescript-cli/labels/Need%20More%20Info","name":"Need More Info","color":"fbca04","default":false},{"id":110536380,"url":"https://api.github.com/repos/NativeScript/nativescript-cli/labels/question","name":"question","color":"0B61A4","default":true},{"id":585358104,"url":"https://api.github.com/repos/NativeScript/nativescript-cli/labels/webpack","name":"webpack","color":"FF9540","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-07-07T21:48:29Z","updated_at":"2017-07-31T12:14:09Z","closed_at":"2017-07-31T12:14:09Z","body":"### Did you verify this is a real problem by searching [Stack Overflow](http://stackoverflow.com/questions/tagged/nativescript) and the [other open issues in this repo](https://github.com/NativeScript/nativescript/issues)?\r\nYes\r\n\r\n### Tell us about the problem\r\nAfter upgraded to nativescript 3.1.2, tns run android still works. But npm run start-android-bundle get error\r\n\r\n### Which platform(s) does your issue occur on?\r\nAndroid\r\n\r\n### Please provide the following version numbers that your issue occurs with:\r\n- CLI: 3.1.2\r\n- Cross-platform modules: (check the 'version' attribute in the\r\n3.1.0\r\n- Runtime(s): (look for the `\"tns-android\"` and `\"tns-ios\"` properties in the\r\n3.1.1\r\n- Plugin(s): (look for the version number in the `package.json` file of your\r\nproject)\r\n\r\n### Please tell us how to recreate the issue in as much detail as possible.\r\ntns create ng1 --ng\r\nnpm install --save-dev nativescript-dev-webpack\r\nnpm install\r\nnpm run start-android-bundle\r\n\r\nerror message:\r\nC:\\SVN\\dev\\test\\ng1>npm run start-android-bundle\r\n\r\n> @ start-android-bundle C:\\SVN\\dev\\test\\ng1\r\n> npm run ns-bundle --android --run-app\r\n\r\n\r\n> @ ns-bundle C:\\SVN\\dev\\test\\ng1\r\n> ns-bundle\r\n\r\nRunning tns prepare...\r\nmodule.js:471\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module 'C:\\SVN\\dev\\test\\ng1\\node_modules\\nativescript\\bin\\tns\r\n'\r\n    at Function.Module._resolveFilename (module.js:469:15)\r\n    at Function.Module._load (module.js:417:25)\r\n    at Module.runMain (module.js:604:10)\r\n    at run (bootstrap_node.js:394:7)\r\n    at startup (bootstrap_node.js:149:9)\r\n    at bootstrap_node.js:509:3\r\nchild process exited with code 1\r\n\r\nnpm ERR! Windows_NT 6.3.9600\r\nnpm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Users\\\\xgu\\\\AppData\\\\Ro\r\naming\\\\npm\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"run\" \"ns-bundle\" \"--android\" \"-\r\n-run-app\"\r\nnpm ERR! node v6.9.5\r\nnpm ERR! npm  v4.1.2\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! @ ns-bundle: `ns-bundle`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the @ ns-bundle script 'ns-bundle'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the  package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     ns-bundle\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     C:\\SVN\\dev\\test\\ng1\\npm-debug.log\r\n\r\nnpm ERR! Windows_NT 6.3.9600\r\nnpm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Users\\\\xgu\\\\AppData\\\\Ro\r\naming\\\\npm\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"run\" \"start-android-bundle\"\r\nnpm ERR! node v6.9.5\r\nnpm ERR! npm  v4.1.2\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! @ start-android-bundle: `npm run ns-bundle --android --run-app`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the @ start-android-bundle script 'npm run ns-bundle --androi\r\nd --run-app'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the  package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     npm run ns-bundle --android --run-app\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     C:\\SVN\\dev\\test\\ng1\\npm-debug.log\r\n### Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/comments/319050105","html_url":"https://github.com/NativeScript/nativescript-cli/issues/2962#issuecomment-319050105","issue_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/2962","id":319050105,"user":{"login":"dtopuzov","id":6651651,"avatar_url":"https://avatars3.githubusercontent.com/u/6651651?v=4","gravatar_id":"","url":"https://api.github.com/users/dtopuzov","html_url":"https://github.com/dtopuzov","followers_url":"https://api.github.com/users/dtopuzov/followers","following_url":"https://api.github.com/users/dtopuzov/following{/other_user}","gists_url":"https://api.github.com/users/dtopuzov/gists{/gist_id}","starred_url":"https://api.github.com/users/dtopuzov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtopuzov/subscriptions","organizations_url":"https://api.github.com/users/dtopuzov/orgs","repos_url":"https://api.github.com/users/dtopuzov/repos","events_url":"https://api.github.com/users/dtopuzov/events{/privacy}","received_events_url":"https://api.github.com/users/dtopuzov/received_events","type":"User","site_admin":false},"created_at":"2017-07-31T12:14:09Z","updated_at":"2017-07-31T12:14:09Z","body":"@SamuelGRwebfab @xgu01 \r\nThe issues is also fixed in `nativescript-dev-webpack@0.7.3`, so you can safely upgrade to newer versions."}}
{"actor":{"display_login":"dtopuzov"}}