{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/3406","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/3406/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/3406/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/3406/events","html_url":"https://github.com/angular/angular-cli/issues/3406","id":193541756,"number":3406,"title":"Cannot find module 'enhanced-resolve' [windows 10, yarn]","user":{"login":"FaKeller","id":1327610,"avatar_url":"https://avatars.githubusercontent.com/u/1327610?v=3","gravatar_id":"","url":"https://api.github.com/users/FaKeller","html_url":"https://github.com/FaKeller","followers_url":"https://api.github.com/users/FaKeller/followers","following_url":"https://api.github.com/users/FaKeller/following{/other_user}","gists_url":"https://api.github.com/users/FaKeller/gists{/gist_id}","starred_url":"https://api.github.com/users/FaKeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FaKeller/subscriptions","organizations_url":"https://api.github.com/users/FaKeller/orgs","repos_url":"https://api.github.com/users/FaKeller/repos","events_url":"https://api.github.com/users/FaKeller/events{/privacy}","received_events_url":"https://api.github.com/users/FaKeller/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-05T16:17:37Z","updated_at":"2016-12-06T10:54:23Z","closed_at":"2016-12-05T18:29:58Z","body":"### OS?\r\nWindows 10\r\n\r\n\r\n### Versions.\r\nangular-cli: 1.0.0-beta.20-3\r\nnode: 6.5.0\r\nos: win32 x64\r\n\r\n\r\n### Repro steps.\r\n```sh\r\n# Upgrade to beta.20-4\r\nyarn upgrade angular-cli@1.0.0-beta.20-4\r\n# checking the version already throws the below exception\r\nng --version\r\n```\r\n\r\n### The log given by the failure.\r\n\r\n```\r\nCannot find module 'enhanced-resolve/lib/getInnerRequest'\r\nError: Cannot find module 'enhanced-resolve/lib/getInnerRequest'\r\n    at Function.Module._resolveFilename (module.js:455:15)\r\n    at Function.Module._load (module.js:403:25)\r\n    at Module.require (module.js:483:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (C:\\development\\projects\\cf-mantis\\mantis-client\\node_modules\\@ngtools\\webpack\\src\\paths-plugin.js:6:23)\r\n    at Module._compile (module.js:556:32)\r\n    at Object.Module._extensions..js (module.js:565:10)\r\n    at Module.load (module.js:473:32)\r\n    at tryModuleLoad (module.js:432:12)\r\n    at Function.Module._load (module.js:424:3)\r\n    at Module.require (module.js:483:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (C:\\development\\projects\\cf-mantis\\mantis-client\\node_modules\\@ngtools\\webpack\\src\\plugin.js:14:22)\r\n    at Module._compile (module.js:556:32)\r\n    at Object.Module._extensions..js (module.js:565:10)\r\n    at Module.load (module.js:473:32)\r\n    at tryModuleLoad (module.js:432:12)\r\n    at Function.Module._load (module.js:424:3)\r\n    at Module.require (module.js:483:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (C:\\development\\projects\\cf-mantis\\mantis-client\\node_modules\\@ngtools\\webpack\\src\\index.js:6:10)\r\n    at Module._compile (module.js:556:32)\r\n    at Object.Module._extensions..js (module.js:565:10)\r\n    at Module.load (module.js:473:32)\r\n    at tryModuleLoad (module.js:432:12)\r\n    at Function.Module._load (module.js:424:3)\r\n    at Module.require (module.js:483:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (C:\\development\\projects\\cf-mantis\\mantis-client\\node_modules\\angular-cli\\models\\webpack-build-typescript.js:5:17)\r\n    at Module._compile (module.js:556:32)\r\n    at Object.Module._extensions..js (module.js:565:10)\r\n    at Module.load (module.js:473:32)\r\n    at tryModuleLoad (module.js:432:12)\r\n    at Function.Module._load (module.js:424:3)\r\n    at Module.require (module.js:483:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (C:\\development\\projects\\cf-mantis\\mantis-client\\node_modules\\angular-cli\\models\\webpack-config.js:2:34)\r\n    at Module._compile (module.js:556:32)\r\n    at Object.Module._extensions..js (module.js:565:10)\r\n    at Module.load (module.js:473:32)\r\n    at tryModuleLoad (module.js:432:12)\r\n    at Function.Module._load (module.js:424:3)\r\n    at Module.require (module.js:483:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (C:\\development\\projects\\cf-mantis\\mantis-client\\node_modules\\angular-cli\\tasks\\build-webpack.js:6:24)\r\n    at Module._compile (module.js:556:32)\r\n    at Object.Module._extensions..js (module.js:565:10)\r\n    at Module.load (module.js:473:32)\r\n    at tryModuleLoad (module.js:432:12)\r\n    at Function.Module._load (module.js:424:3)\r\n    at Module.require (module.js:483:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (C:\\development\\projects\\cf-mantis\\mantis-client\\node_modules\\angular-cli\\commands\\build.js:3:23)\r\n    at Module._compile (module.js:556:32)\r\n    at Object.Module._extensions..js (module.js:565:10)\r\n    at Module.load (module.js:473:32)\r\n    at tryModuleLoad (module.js:432:12)\r\n    at Function.Module._load (module.js:424:3)\r\n    at Module.require (module.js:483:17)\r\n    at require (internal/module.js:20:19)\r\n    at Class.includedCommands (C:\\development\\projects\\cf-mantis\\mantis-client\\node_modules\\angular-cli\\addon\\index.js:21:16)\r\n    at C:\\development\\projects\\cf-mantis\\mantis-client\\node_modules\\angular-cli\\angular-cli\\lib\\models\\project.js:392:61\r\n    at Array.forEach (native)\r\n    at Project.addonCommands (C:\\development\\projects\\cf-mantis\\mantis-client\\node_modules\\angular-cli\\angular-cli\\lib\\models\\project.js:391:15)\r\n    at Project.eachAddonCommand (C:\\development\\projects\\cf-mantis\\mantis-client\\node_modules\\angular-cli\\angular-cli\\lib\\models\\project.js:426:30)\r\n    at module.exports (C:\\development\\projects\\cf-mantis\\mantis-client\\node_modules\\angular-cli\\angular-cli\\lib\\cli\\lookup-command.js:33:13)\r\n    at CLI.<anonymous> (C:\\development\\projects\\cf-mantis\\mantis-client\\node_modules\\angular-cli\\angular-cli\\lib\\cli\\cli.js:34:26)\r\n    at tryCatch (C:\\development\\projects\\cf-mantis\\mantis-client\\node_modules\\rsvp\\dist\\rsvp.js:538:12)\r\n    at invokeCallback (C:\\development\\projects\\cf-mantis\\mantis-client\\node_modules\\rsvp\\dist\\rsvp.js:553:13)\r\n    at publish (C:\\development\\projects\\cf-mantis\\mantis-client\\node_modules\\rsvp\\dist\\rsvp.js:521:7)\r\n    at flush (C:\\development\\projects\\cf-mantis\\mantis-client\\node_modules\\rsvp\\dist\\rsvp.js:2373:5)\r\n    at _combinedTickCallback (internal/process/next_tick.js:67:7)\r\n    at process._tickCallback (internal/process/next_tick.js:98:9)\r\n```\r\n\r\n\r\n### Mention any other details that might be useful.\r\n\r\nThe problem seems to be related to `yarn install`, as installing with `npm install` does not rise an exception.\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/265120336","html_url":"https://github.com/angular/angular-cli/issues/3406#issuecomment-265120336","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/3406","id":265120336,"user":{"login":"Krisa","id":1253866,"avatar_url":"https://avatars.githubusercontent.com/u/1253866?v=3","gravatar_id":"","url":"https://api.github.com/users/Krisa","html_url":"https://github.com/Krisa","followers_url":"https://api.github.com/users/Krisa/followers","following_url":"https://api.github.com/users/Krisa/following{/other_user}","gists_url":"https://api.github.com/users/Krisa/gists{/gist_id}","starred_url":"https://api.github.com/users/Krisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Krisa/subscriptions","organizations_url":"https://api.github.com/users/Krisa/orgs","repos_url":"https://api.github.com/users/Krisa/repos","events_url":"https://api.github.com/users/Krisa/events{/privacy}","received_events_url":"https://api.github.com/users/Krisa/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T10:54:23Z","updated_at":"2016-12-06T10:54:23Z","body":"That's strangely the error I'm getting on `1.0.0-beta.22-1` (working fine for `1.0.0-beta.20-4`). However not when I install it, but when I run it (`ng build --prod --aot`). Not sure whether that's related or I shall open a new issue for this ..."}}
{"actor":{"display_login":"Krisa"}}