{"action":"created","issue":{"url":"https://api.github.com/repos/adonisjs/adonis-framework/issues/461","repository_url":"https://api.github.com/repos/adonisjs/adonis-framework","labels_url":"https://api.github.com/repos/adonisjs/adonis-framework/issues/461/labels{/name}","comments_url":"https://api.github.com/repos/adonisjs/adonis-framework/issues/461/comments","events_url":"https://api.github.com/repos/adonisjs/adonis-framework/issues/461/events","html_url":"https://github.com/adonisjs/adonis-framework/issues/461","id":206632079,"number":461,"title":"Fresh install fails to run (Windows)","user":{"login":"niallobrien","id":1525669,"avatar_url":"https://avatars0.githubusercontent.com/u/1525669?v=3","gravatar_id":"","url":"https://api.github.com/users/niallobrien","html_url":"https://github.com/niallobrien","followers_url":"https://api.github.com/users/niallobrien/followers","following_url":"https://api.github.com/users/niallobrien/following{/other_user}","gists_url":"https://api.github.com/users/niallobrien/gists{/gist_id}","starred_url":"https://api.github.com/users/niallobrien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niallobrien/subscriptions","organizations_url":"https://api.github.com/users/niallobrien/orgs","repos_url":"https://api.github.com/users/niallobrien/repos","events_url":"https://api.github.com/users/niallobrien/events{/privacy}","received_events_url":"https://api.github.com/users/niallobrien/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-02-09T21:16:36Z","updated_at":"2017-03-03T10:01:49Z","closed_at":"2017-02-14T08:38:21Z","body":"Hi,\r\nHere are the errors I'm getting when trying to run a fresh installation of Adonis on Windows, some of which relate to https://github.com/adonisjs/adonis-framework/issues/429 and https://github.com/adonisjs/adonis-cli/issues/24\r\n\r\n```\r\nC:\\Users\\jk23\\dev\\my_projects                                                                                                                                    \r\nλ adonis new yardstick                                                                                                                                           \r\n    _       _             _         _                                                                                                                            \r\n   / \\   __| | ___  _ __ (_)___    | |___                                                                                                                        \r\n  / _ \\ / _` |/ _ \\| '_ \\| / __|_  | / __|                                                                                                                       \r\n / ___ \\ (_| | (_) | | | | \\__ \\ |_| \\__ \\                                                                                                                       \r\n/_/   \\_\\__,_|\\___/|_| |_|_|___/\\___/|___/                                                                                                                       \r\n                                                                                                                                                                 \r\n√ Your current Node.js & npm version match the AdonisJs requirements!                                                                                            \r\n⠏ Cloning master branch of adonisjs/adonis-app blueprint                                                                                                         \r\nclone: Repository cloned                                                                                                                                         \r\ni Yarn has been detected in your system!                                                                                                                         \r\n? Do you want to use yarn instead of npm? Yes                                                                                                                    \r\n⠋ Installing dependencies using yarn× Installing dependencies failed!                                                                                            \r\nCommand failed: cd C:\\Users\\jk23\\dev\\my_projects\\yardstick; yarn                                                                                                 \r\nThe system cannot find the path specified.                                                                                                                       \r\n                                                                                                                                                                 \r\n                                                                                                                                                                 \r\nC:\\Users\\jk23\\dev\\my_projects                                                                                                                                    \r\nλ cd yardstick\\                                                                                                                                                  \r\n                                                                                                                                                                 \r\nC:\\Users\\jk23\\dev\\my_projects\\yardstick (master) (adonis-app@3.2.1)                                                                                              \r\nλ yarn                                                                                                                                                           \r\nyarn install v0.19.1                                                                                                                                             \r\ninfo No lockfile found.                                                                                                                                          \r\n[1/4] Resolving packages...                                                                                                                                      \r\nwarning adonis-lucid > knex > node-uuid@1.4.7: use uuid module instead                                                                                           \r\n[2/4] Fetching packages...                                                                                                                                       \r\nwarning fsevents@1.0.17: The platform \"win32\" is incompatible with this module.                                                                                  \r\ninfo \"fsevents@1.0.17\" is an optional dependency and failed compatibility check. Excluding it from installation.                                                 \r\n[3/4] Linking dependencies...                                                                                                                                    \r\n[4/4] Building fresh packages...                                                                                                                                 \r\nsuccess Saved lockfile.                                                                                                                                          \r\nDone in 266.04s.                                                                                                                                                 \r\n                                                                                                                                                                 \r\nC:\\Users\\jk23\\dev\\my_projects\\yardstick (master) (adonis-app@3.2.1)                                                                                              \r\nλ ls                                                                                                                                                             \r\nCHANGELOG.md  README.md  ace  app  bootstrap  config  database  node_modules  package.json  providers  public  resources  server.js  storage  yarn.lock          \r\nC:\\Users\\jk23\\dev\\my_projects\\yardstick (master) (adonis-app@3.2.1)                                                                                                                   \r\nλ npm run serve:dev                                                                                                                                                                   \r\n                                                                                                                                                                                      \r\n> adonis-app@3.2.1 serve:dev C:\\Users\\jk23\\dev\\my_projects\\yardstick                                                                                                                  \r\n> nodemon --watch app --watch bootstrap --watch config --watch .env -x node server.js                                                                                                 \r\n                                                                                                                                                                                      \r\n[nodemon] 1.11.0                                                                                                                                                                      \r\n[nodemon] to restart at any time, enter `rs`                                                                                                                                          \r\n[nodemon] watching: C:\\Users\\jk23\\dev\\my_projects\\yardstick\\app/**/* C:\\Users\\jk23\\dev\\my_projects\\yardstick\\bootstrap/**/* C:\\Users\\jk23\\dev\\my_projects\\yardstick\\config/**/* .env  \r\n[nodemon] starting `node server.js`                                                                                                                                                   \r\n{ Error: ENOENT: no such file or directory, open 'C:\\Users\\jk23\\dev\\my_projects\\yardstick\\.env'                                                                                       \r\n    at Object.fs.openSync (fs.js:558:18)                                                                                                                                              \r\n    at Object.fs.readFileSync (fs.js:468:33)                                                                                                                                          \r\n    at Object.config (C:\\Users\\jk23\\dev\\my_projects\\yardstick\\node_modules\\dotenv\\lib\\main.js:30:37)                                                                                  \r\n    at new Env (C:\\Users\\jk23\\dev\\my_projects\\yardstick\\node_modules\\adonis-framework\\src\\Env\\index.js:30:12)                                                                         \r\n    at Object.closure (C:\\Users\\jk23\\dev\\my_projects\\yardstick\\node_modules\\adonis-framework\\providers\\EnvProvider.js:17:14)                                                          \r\n    at Object.Ioc._resolveProvider (C:\\Users\\jk23\\dev\\my_projects\\yardstick\\node_modules\\adonis-fold\\src\\Ioc\\index.js:124:53)                                                         \r\n    at Object.Ioc.use (C:\\Users\\jk23\\dev\\my_projects\\yardstick\\node_modules\\adonis-fold\\src\\Ioc\\index.js:376:18)                                                                      \r\n    at Ioc.use (C:\\Users\\jk23\\dev\\my_projects\\yardstick\\node_modules\\adonis-fold\\src\\Ioc\\index.js:380:18)                                                                             \r\n    at fold.Registrar.register.then (C:\\Users\\jk23\\dev\\my_projects\\yardstick\\bootstrap\\http.js:45:19)                                                                                 \r\n    at process._tickCallback (internal/process/next_tick.js:103:7)                                                                                                                    \r\n  errno: -4058,                                                                                                                                                                       \r\n  code: 'ENOENT',                                                                                                                                                                     \r\n  syscall: 'open',                                                                                                                                                                    \r\n  path: 'C:\\\\Users\\\\jk23\\\\dev\\\\my_projects\\\\yardstick\\\\.env' }                                                                                                                        \r\n[nodemon] restarting due to changes...                                                                                                                                                \r\n[nodemon] starting `node server.js`                                                                                                                                                   \r\n{ Error: ENOENT: no such file or directory, open 'C:\\Users\\jk23\\dev\\my_projects\\yardstick\\.env'                                                                                       \r\n    at Object.fs.openSync (fs.js:558:18)                                                                                                                                              \r\n    at Object.fs.readFileSync (fs.js:468:33)                                                                                                                                          \r\n    at Object.config (C:\\Users\\jk23\\dev\\my_projects\\yardstick\\node_modules\\dotenv\\lib\\main.js:30:37)                                                                                  \r\n    at new Env (C:\\Users\\jk23\\dev\\my_projects\\yardstick\\node_modules\\adonis-framework\\src\\Env\\index.js:30:12)                                                                         \r\n    at Object.closure (C:\\Users\\jk23\\dev\\my_projects\\yardstick\\node_modules\\adonis-framework\\providers\\EnvProvider.js:17:14)                                                          \r\n    at Object.Ioc._resolveProvider (C:\\Users\\jk23\\dev\\my_projects\\yardstick\\node_modules\\adonis-fold\\src\\Ioc\\index.js:124:53)                                                         \r\n    at Object.Ioc.use (C:\\Users\\jk23\\dev\\my_projects\\yardstick\\node_modules\\adonis-fold\\src\\Ioc\\index.js:376:18)                                                                      \r\n    at Ioc.use (C:\\Users\\jk23\\dev\\my_projects\\yardstick\\node_modules\\adonis-fold\\src\\Ioc\\index.js:380:18)                                                                             \r\n    at fold.Registrar.register.then (C:\\Users\\jk23\\dev\\my_projects\\yardstick\\bootstrap\\http.js:45:19)                                                                                 \r\n    at process._tickCallback (internal/process/next_tick.js:103:7)                                                                                                                    \r\n  errno: -4058,                                                                                                                                                                       \r\n  code: 'ENOENT',                                                                                                                                                                     \r\n  syscall: 'open',                                                                                                                                                                    \r\n  path: 'C:\\\\Users\\\\jk23\\\\dev\\\\my_projects\\\\yardstick\\\\.env' }                                                                                                                        \r\ninfo adonis:framework +1ms serving app on null:null                                                                                                                                   \r\nError: Invalid listen argument: [object Object]                                                                                                                                       \r\n    at Server.listen (net.js:1384:13)                                                                                                                                                 \r\n    at Server.listen (C:\\Users\\jk23\\dev\\my_projects\\yardstick\\node_modules\\adonis-framework\\src\\Server\\index.js:261:31)                                                               \r\n    at fold.Registrar.register.then (C:\\Users\\jk23\\dev\\my_projects\\yardstick\\bootstrap\\http.js:103:14)                                                                                \r\n    at process._tickCallback (internal/process/next_tick.js:103:7)                                                                                                                    \r\n    at Module.runMain (module.js:607:11)                                                                                                                                              \r\n    at run (bootstrap_node.js:420:7)                                                                                                                                                  \r\n    at startup (bootstrap_node.js:139:9)                                                                                                                                              \r\n    at bootstrap_node.js:535:3                                                                                                                                                        \r\n[nodemon] clean exit - waiting for changes before restart                                                                                                                             \r\n                                                                                                                                                                                      \r\n```"},"comment":{"url":"https://api.github.com/repos/adonisjs/adonis-framework/issues/comments/283914304","html_url":"https://github.com/adonisjs/adonis-framework/issues/461#issuecomment-283914304","issue_url":"https://api.github.com/repos/adonisjs/adonis-framework/issues/461","id":283914304,"user":{"login":"haakym","id":832687,"avatar_url":"https://avatars3.githubusercontent.com/u/832687?v=3","gravatar_id":"","url":"https://api.github.com/users/haakym","html_url":"https://github.com/haakym","followers_url":"https://api.github.com/users/haakym/followers","following_url":"https://api.github.com/users/haakym/following{/other_user}","gists_url":"https://api.github.com/users/haakym/gists{/gist_id}","starred_url":"https://api.github.com/users/haakym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haakym/subscriptions","organizations_url":"https://api.github.com/users/haakym/orgs","repos_url":"https://api.github.com/users/haakym/repos","events_url":"https://api.github.com/users/haakym/events{/privacy}","received_events_url":"https://api.github.com/users/haakym/received_events","type":"User","site_admin":false},"created_at":"2017-03-03T10:01:49Z","updated_at":"2017-03-03T10:01:49Z","body":"@RomainLanz \r\n\r\nUninstalled then reinstalled adonis cli and tried again new creating a new project, same issue.\r\n\r\nUninstalled cli then installed yarn then reinstalled adonis cli and ran using --yarn flag and got the same issue."}}
{"actor":{"display_login":"haakym"}}