{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-conference-app/issues/294","repository_url":"https://api.github.com/repos/driftyco/ionic-conference-app","labels_url":"https://api.github.com/repos/driftyco/ionic-conference-app/issues/294/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-conference-app/issues/294/comments","events_url":"https://api.github.com/repos/driftyco/ionic-conference-app/issues/294/events","html_url":"https://github.com/driftyco/ionic-conference-app/issues/294","id":184315291,"number":294,"title":"Ionic Serve on Codeanywhere container fails on ionic-app-scripts watch","user":{"login":"timmaybrown","id":1346234,"avatar_url":"https://avatars.githubusercontent.com/u/1346234?v=3","gravatar_id":"","url":"https://api.github.com/users/timmaybrown","html_url":"https://github.com/timmaybrown","followers_url":"https://api.github.com/users/timmaybrown/followers","following_url":"https://api.github.com/users/timmaybrown/following{/other_user}","gists_url":"https://api.github.com/users/timmaybrown/gists{/gist_id}","starred_url":"https://api.github.com/users/timmaybrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmaybrown/subscriptions","organizations_url":"https://api.github.com/users/timmaybrown/orgs","repos_url":"https://api.github.com/users/timmaybrown/repos","events_url":"https://api.github.com/users/timmaybrown/events{/privacy}","received_events_url":"https://api.github.com/users/timmaybrown/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-20T19:11:11Z","updated_at":"2016-11-15T15:55:18Z","closed_at":null,"body":"#### Short description of the problem:\n\nTrying to kick the tires of running this application in my codeanywhere container. I ensured I was running an updated version of node (v.6.9.1) and npm (3.10.8) managed through nvm.\n#### What behavior are you expecting?\n\nOn my codeanywhere Node.js stack on Ubuntu 14.04 (64 bit) after installing the needed global packages (ionic, etc.) running the `npm install` and then ultimately trying to serve the app by running the `ng serve` command. I was expecting this would serve the app on a localhost:{port} same as if I was running this from my local terminal. \n\n**Steps to reproduce:**\n1. clone repo\n2. ensured ionic, cordova were installed and ran `npm install`\n3. ran - `ionic serve`\n\n```\ncabox@box-codeanywhere:~/workspace$ ionic serve                                                                                                                                                                                           \n\nRunning 'serve:before' npm script before serve                                                                                                                                                                                            \n\n> ionic-conference-app@ watch /home/cabox/workspace                                                                                                                                                                                       \n> ionic-app-scripts watch                                                                                                                                                                                                                 \n\n[14:47:48]  ionic-app-scripts 0.0.36                                                                                                                                                                                                      \n[14:47:48]  watch started ...                                                                                                                                                                                                             \n[14:47:48]  build dev started ...                                                                                                                                                                                                         \n[14:47:48]  clean started ...                                                                                                                                                                                                             \n[14:47:48]  clean finished in 6 ms                                                                                                                                                                                                        \n[14:47:48]  copy started ...                                                                                                                                                                                                              \n[14:47:48]  transpile started ...                                                                                                                                                                                                         \n[14:47:49]  lint started ...                                                                                                                                                                                                              \n[14:47:52]  lint finished in 2.90 s                                                                                                                                                                                                       \n[14:47:55]  transpile finished in 6.29 s                                                                                                                                                                                                  \n[14:47:55]  bundle started ...                                                                                                                                                                                                            \n[14:47:55]  copy finished in 6.46 s                                                                                                                                                                                                       \nKilled                                                                                                                                                                                                                                    \n\nnpm ERR! Linux 2.6.32-042stab112.15                                                                                                                                                                                                       \nnpm ERR! argv \"/home/cabox/.nvm/versions/node/v6.9.1/bin/node\" \"/home/cabox/.nvm/versions/node/v6.9.1/bin/npm\" \"run\" \"watch\" \"--color\"                                                                                                    \nnpm ERR! node v6.9.1                                                                                                                                                                                                                      \nnpm ERR! npm  v3.10.8                                                                                                                                                                                                                     \nnpm ERR! code ELIFECYCLE                                                                                                                                                                                                                  \nnpm ERR! ionic-conference-app@ watch: `ionic-app-scripts watch`                                                                                                                                                                           \nnpm ERR! Exit status 137                                                                                                                                                                                                                  \nnpm ERR!                                                                                                                                                                                                                                  \nnpm ERR! Failed at the ionic-conference-app@ watch script 'ionic-app-scripts watch'.                                                                                                                                                      \nnpm ERR! Make sure you have the latest version of node.js and npm installed.                                                                                                                                                              \nnpm ERR! If you do, this is most likely a problem with the ionic-conference-app package,                                                                                                                                                  \nnpm ERR! not with npm itself.                                                                                                                                                                                                             \nnpm ERR! Tell the author that this fails on your system:                                                                                                                                                                                  \nnpm ERR!     ionic-app-scripts watch                                                                                                                                                                                                      \nnpm ERR! You can get information on how to open an issue for this project with:                                                                                                                                                           \nnpm ERR!     npm bugs ionic-conference-app                                                                                                                                                                                                \nnpm ERR! Or if that isn't available, you can get their info via:                                                                                                                                                                          \nnpm ERR!     npm owner ls ionic-conference-app                                                                                                                                                                                            \nnpm ERR! There is likely additional logging output above.                                                                                                                                                                                 \n\nnpm ERR! Please include the following file with any support request:                                                                                                                                                                      \nnpm ERR!     /home/cabox/workspace/npm-debug.log                                                                                                                                                                                          \nCaught exception:                                                                                                                                                                                                                         \n undefined                                                                                                                                                                                                                                \n\nMind letting us know? https://github.com/driftyco/ionic-cli/issues                                                                                                                                                                        \n\ncabox@box-codeanywhere:~/workspace$ npm -v                                                                                                                                                                                                \n3.10.8                                                                                                                                                                                                                                    \ncabox@box-codeanywhere:~/workspace$ node -v                                                                                                                                                                                               \nv6.9.1                                    \n```\n\n**Other information:** (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)\n### Package.json file\n\n```\n{\n  \"name\": \"ionic-conference-app\",\n  \"description\": \"Ionic Conference App\",\n  \"license\": \"Apache-2.0\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/driftyco/ionic-conference-app.git\"\n  },\n  \"scripts\": {\n    \"build\": \"ionic-app-scripts build\",\n    \"watch\": \"ionic-app-scripts watch\",\n    \"serve:before\": \"watch\",\n    \"emulate:before\": \"build\",\n    \"deploy:before\": \"build\",\n    \"build:before\": \"build\",\n    \"run:before\": \"build\"\n  },\n  \"dependencies\": {\n    \"@angular/common\": \"^2.0.0\",\n    \"@angular/compiler\": \"^2.0.0\",\n    \"@angular/compiler-cli\": \"0.6.2\",\n    \"@angular/core\": \"^2.0.0\",\n    \"@angular/forms\": \"^2.0.0\",\n    \"@angular/http\": \"^2.0.0\",\n    \"@angular/platform-browser\": \"^2.0.0\",\n    \"@angular/platform-browser-dynamic\": \"^2.0.0\",\n    \"@angular/platform-server\": \"^2.0.0\",\n    \"@ionic/storage\": \"^1.0.3\",\n    \"ionic-angular\": \"^2.0.0-rc.1\",\n    \"ionic-native\": \"^2.2.3\",\n    \"ionicons\": \"^3.0.0\",\n    \"moment\": \"^2.15.1\",\n    \"rxjs\": \"5.0.0-beta.12\",\n    \"zone.js\": \"^0.6.21\"\n  },\n  \"devDependencies\": {\n    \"@ionic/app-scripts\": \"^0.0.36\",\n    \"typescript\": \"^2.0.3\"\n  },\n  \"cordovaPlugins\": [\n    \"cordova-plugin-whitelist\",\n    {\n      \"locator\": \"https://github.com/VersoSolutions/CordovaClipboard\",\n      \"id\": \"com.verso.cordova.clipboard\"\n    },\n    {\n      \"locator\": \"https://github.com/apache/cordova-plugin-splashscreen.git\",\n      \"id\": \"cordova-plugin-splashscreen\"\n    },\n    \"cordova-plugin-crosswalk-webview\"\n  ],\n  \"cordovaPlatforms\": [\n    \"ios\",\n    \"android\"\n  ]\n}\n```\n## **Run `ionic info` from terminal/cmd prompt:** (paste output below)\n\n---\n\nYour system information:                                                                                                                                                                                                                  \n\nCordova CLI: You have been opted out of telemetry. To change this, run: cordova telemetry on.  \n6.3.1                                                                                                                                                                                                                                     \n\nIonic Framework Version: 2.0.0-rc.1  \nIonic CLI Version: 2.1.1  \nIonic App Lib Version: 2.1.1  \nIonic App Scripts Version: 0.0.36  \nOS: Distributor ID:     Ubuntu Description:     Ubuntu 14.04 LTS  \nNode Version: v6.9.1                                                                                                                                                                                                                      \n\n---\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-conference-app/issues/comments/260680028","html_url":"https://github.com/driftyco/ionic-conference-app/issues/294#issuecomment-260680028","issue_url":"https://api.github.com/repos/driftyco/ionic-conference-app/issues/294","id":260680028,"user":{"login":"dougshults","id":734269,"avatar_url":"https://avatars.githubusercontent.com/u/734269?v=3","gravatar_id":"","url":"https://api.github.com/users/dougshults","html_url":"https://github.com/dougshults","followers_url":"https://api.github.com/users/dougshults/followers","following_url":"https://api.github.com/users/dougshults/following{/other_user}","gists_url":"https://api.github.com/users/dougshults/gists{/gist_id}","starred_url":"https://api.github.com/users/dougshults/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougshults/subscriptions","organizations_url":"https://api.github.com/users/dougshults/orgs","repos_url":"https://api.github.com/users/dougshults/repos","events_url":"https://api.github.com/users/dougshults/events{/privacy}","received_events_url":"https://api.github.com/users/dougshults/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T15:55:18Z","updated_at":"2016-11-15T15:55:18Z","body":"**Build fails here as well.** \r\n\r\n`[10:53:05]  build dev finished in 14.33 s \r\n[10:53:05]  ionic-app-script task: \"watch\" \r\n[10:53:05]  SyntaxError: \r\n            /Applications/MAMP/htdocs/ionicConfApp/ionic-conference-app/node_modules/@ionic/app-scripts/config/watch.config.js:41\r\n            paths: copyConfig.map(f => f.src), ^^ Unexpected token => \r\n\r\nnpm ERR! Darwin 15.6.0\r\nnpm ERR! argv \"node\" \"/usr/local/bin/npm\" \"run\" \"watch\"\r\nnpm ERR! node v0.12.7\r\nnpm ERR! npm  v3.10.9\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! ionic-conference-app@ watch: `ionic-app-scripts watch`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the ionic-conference-app@ watch script 'ionic-app-scripts watch'.\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 ionic-conference-app package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     ionic-app-scripts watch\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs ionic-conference-app\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls ionic-conference-app\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!     /Applications/MAMP/htdocs/ionicConfApp/ionic-conference-app/npm-debug.log`"}}
{"actor":{"display_login":"dougshults"}}