{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/animator-velocity/issues/13","repository_url":"https://api.github.com/repos/aurelia/animator-velocity","labels_url":"https://api.github.com/repos/aurelia/animator-velocity/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/animator-velocity/issues/13/comments","events_url":"https://api.github.com/repos/aurelia/animator-velocity/issues/13/events","html_url":"https://github.com/aurelia/animator-velocity/issues/13","id":170541695,"number":13,"title":"Aurelia CLI build errors with Velocity UI Pack","user":{"login":"aidesigner","id":1740083,"avatar_url":"https://avatars.githubusercontent.com/u/1740083?v=3","gravatar_id":"","url":"https://api.github.com/users/aidesigner","html_url":"https://github.com/aidesigner","followers_url":"https://api.github.com/users/aidesigner/followers","following_url":"https://api.github.com/users/aidesigner/following{/other_user}","gists_url":"https://api.github.com/users/aidesigner/gists{/gist_id}","starred_url":"https://api.github.com/users/aidesigner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aidesigner/subscriptions","organizations_url":"https://api.github.com/users/aidesigner/orgs","repos_url":"https://api.github.com/users/aidesigner/repos","events_url":"https://api.github.com/users/aidesigner/events{/privacy}","received_events_url":"https://api.github.com/users/aidesigner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aurelia/animator-velocity/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-10T23:24:44Z","updated_at":"2016-09-30T06:48:17Z","closed_at":"2016-09-30T06:48:17Z","body":"**I'm submitting a bug report**\r\n\r\n**Library Version:** 0.17.0\r\n**Operating System:** Windows 10\r\n**Node Version:** 6.2.0\r\n**NPM Version:** 3.8.9\r\n**Browser:** Chrome\r\n**Language:** TypeScript\r\n\r\nAs I migrated my project from Aurelia JSPM to the CLI I can no longer get Aurelia Velocity working.  Below is the exact sequence, from scratch, that produces error (Also below).  Aurelia with Velocity animations is really awesome, but I am really stuck on this problem.\r\n\r\n**Create Aurelia CLI project and then execute bash commands:**\r\nau new - Custom/Typescript/Sass/No Test/VSCode\r\nnpm install aurelia-animator-velocity --save\r\ntypings install dt~velocity-animate --save --global\r\n\r\n**Add dependencies into aurelia.json:**\r\n\"velocity-animate\",\r\n  {\r\n    \"name\": \"aurelia-animator-velocity\",\r\n    \"path\": \"../node_modules/aurelia-animator-velocity/dist/amd\",\r\n    \"main\": \"aurelia-animator-velocity\"\r\n  }\r\n\r\n**Add code to app.ts to bring in aurelia-animator-velocity:**\r\nimport {VelocityAnimator} from \"aurelia-animator-velocity\";\r\n\r\n**Comment out below in aurelia-animator-velocity.d.ts ([Separate Issue](https://github.com/aurelia/animator-velocity/issues/8)):**\r\n//import velocity from 'velocity-animate';\r\n\r\n**Running \"au build\" produces error below.**  The current issue is the path to velocity.ui.js should not contains src.  Not sure if this a CLI issue or a velocity.ui.js path issue within animator-velocity.\r\n```\r\n...\r\nTracing aurelia-animator-velocity...\r\n{ uid: 8,\r\n  name: 'writeBundles',\r\n  branch: false,\r\n  error:\r\n   { Error: ENOENT: no such file or directory, open 'C:\\Users\\...\\Documents\\Visual Studio 2015\\Projects\\Web\\AureliaVelocityWebsite\\src\\node_modules\\velocity-animate\\velocity.ui.js'\r\n       at Error (native)\r\n       at Object.fs.openSync (fs.js:634:18)\r\n       at Object.fs.readFileSync (fs.js:502:33)\r\n       at Object.exports.readFileSync (C:\\Users\\...\\Documents\\Visual Studio 2015\\Projects\\Web\\AureliaVelocityWebsite\\node_modules\\aurelia-cli\\lib\\file-system.js:38:13)\r\n       at amodroTrace.fileRead (C:\\Users\\...\\Documents\\Visual Studio 2015\\Projects\\Web\\AureliaVelocityWebsite\\node_modules\\aurelia-cli\\lib\\build\\bundled-source.js:83:31)\r\n       at Object.context.fileRead (C:\\Users\\...\\Documents\\Visual Studio 2015\\Projects\\Web\\AureliaVelocityWebsite\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:176:18)\r\n       at Object.context.load (C:\\Users\\...\\Documents\\Visual Studio 2015\\Projects\\Web\\AureliaVelocityWebsite\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:357:30)\r\n       at Object.Module.load (eval at <anonymous> (C:\\Users\\...\\Documents\\Visual Studio 2015\\Projects\\Web\\AureliaVelocityWebsite\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:14:9), <anonymous>:832:29)\r\n       at Object.Module.fetch (eval at <anonymous> (C:\\Users\\...\\Documents\\Visual Studio 2015\\Projects\\Web\\AureliaVelocityWebsite\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:14:9), <anonymous>:822:66)\r\n       at Object.Module.check (eval at <anonymous> (C:\\Users\\...\\Documents\\Visual Studio 2015\\Projects\\Web\\AureliaVelocityWebsite\\node_modules\\aurelia-cli\\lib\\build\\amodro-trace\\lib\\loader\\Loader.js:14:9), <anonymous>:854:30)\r\n     errno: -4058,\r\n     code: 'ENOENT',\r\n     syscall: 'open',\r\n     path: 'C:\\\\Users\\\\...\\\\Documents\\\\Visual Studio 2015\\\\Projects\\\\Web\\\\AureliaVelocityWebsite\\\\node_modules\\\\velocity-animate\\\\velocity\\\\velocity.ui.js',\r\n     moduleTree: [ 'aurelia-animator-velocity' ],\r\n     fileName: 'C:/Users/.../Documents/Visual Studio 2015/Projects/Web/AureliaVelocityWebsite/node_modules/aurelia-animator-velocity/dist/amd/aurelia-animator-velocity.js' },\r\n  duration: [ 2, 545471137 ],\r\n  time: 1470870577009 }\r\n```"},"comment":{"url":"https://api.github.com/repos/aurelia/animator-velocity/issues/comments/250672233","html_url":"https://github.com/aurelia/animator-velocity/issues/13#issuecomment-250672233","issue_url":"https://api.github.com/repos/aurelia/animator-velocity/issues/13","id":250672233,"user":{"login":"EisenbergEffect","id":131485,"avatar_url":"https://avatars.githubusercontent.com/u/131485?v=3","gravatar_id":"","url":"https://api.github.com/users/EisenbergEffect","html_url":"https://github.com/EisenbergEffect","followers_url":"https://api.github.com/users/EisenbergEffect/followers","following_url":"https://api.github.com/users/EisenbergEffect/following{/other_user}","gists_url":"https://api.github.com/users/EisenbergEffect/gists{/gist_id}","starred_url":"https://api.github.com/users/EisenbergEffect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EisenbergEffect/subscriptions","organizations_url":"https://api.github.com/users/EisenbergEffect/orgs","repos_url":"https://api.github.com/users/EisenbergEffect/repos","events_url":"https://api.github.com/users/EisenbergEffect/events{/privacy}","received_events_url":"https://api.github.com/users/EisenbergEffect/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T06:48:17Z","updated_at":"2016-09-30T06:48:17Z","body":"Closing this since the other issue tracks the real problem."}}
{"actor":{"display_login":"EisenbergEffect"}}