{"action":"opened","issue":{"url":"https://api.github.com/repos/cerner/terra-core/issues/1447","repository_url":"https://api.github.com/repos/cerner/terra-core","labels_url":"https://api.github.com/repos/cerner/terra-core/issues/1447/labels{/name}","comments_url":"https://api.github.com/repos/cerner/terra-core/issues/1447/comments","events_url":"https://api.github.com/repos/cerner/terra-core/issues/1447/events","html_url":"https://github.com/cerner/terra-core/issues/1447","id":317712656,"number":1447,"title":"Unable to build NPM modules with terra-table","user":{"login":"jdnarvaez","id":3358381,"avatar_url":"https://avatars3.githubusercontent.com/u/3358381?v=4","gravatar_id":"","url":"https://api.github.com/users/jdnarvaez","html_url":"https://github.com/jdnarvaez","followers_url":"https://api.github.com/users/jdnarvaez/followers","following_url":"https://api.github.com/users/jdnarvaez/following{/other_user}","gists_url":"https://api.github.com/users/jdnarvaez/gists{/gist_id}","starred_url":"https://api.github.com/users/jdnarvaez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdnarvaez/subscriptions","organizations_url":"https://api.github.com/users/jdnarvaez/orgs","repos_url":"https://api.github.com/users/jdnarvaez/repos","events_url":"https://api.github.com/users/jdnarvaez/events{/privacy}","received_events_url":"https://api.github.com/users/jdnarvaez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-25T16:57:58Z","updated_at":"2018-04-25T16:57:58Z","closed_at":null,"author_association":"NONE","body":"# Issue Description\r\nI've added terra-table as a dependency and when trying to build my project it now fails with the following error:\r\n\r\n```\r\nnpm ERR! path /Users/jn015941/Workspaces/pacs_viewer_engine/client/node_modules/.staging/terra-i18n-d0b4149a\r\nnpm ERR! code ENOENT\r\nnpm ERR! errno -2\r\nnpm ERR! syscall rename\r\nnpm ERR! enoent ENOENT: no such file or directory, rename '/Users/jn015941/Workspaces/pacs_viewer_engine/client/node_modules/.staging/terra-i18n-d0b4149a' -> '/Users/jn015941/Workspaces/pacs-viewer-component/node_modules/terra-table/node_modules/terra-i18n'\r\nnpm ERR! enoent This is related to npm not being able to find a file.\r\n\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ '/usr/local/Cellar/node/8.9.0/bin/node',\r\n1 verbose cli   '/usr/local/bin/npm',\r\n1 verbose cli   'run',\r\n1 verbose cli   'rails-server:local' ]\r\n2 info using npm@5.5.1\r\n3 info using node@v8.9.0\r\n4 verbose run-script [ 'prerails-server:local',\r\n4 verbose run-script   'rails-server:local',\r\n4 verbose run-script   'postrails-server:local' ]\r\n5 info lifecycle pacs_viewer_engine@~prerails-server:local: pacs_viewer_engine@\r\n6 info lifecycle pacs_viewer_engine@~rails-server:local: pacs_viewer_engine@\r\n7 verbose lifecycle pacs_viewer_engine@~rails-server:local: unsafe-perm in lifecycle true\r\n8 verbose lifecycle pacs_viewer_engine@~rails-server:local: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/jn015941/Workspaces/pacs_viewer_engine/node_modules/.bin:/opt/local/bin:/opt/local/sbin:/Users/jn015941/.rbenv/shims:/Users/jn015941/.rvm/gems/ruby-2.4.2@pacs_viewer_engine/bin:/Users/jn015941/.rvm/gems/ruby-2.4.2@global/bin:/Users/jn015941/.rvm/rubies/ruby-2.4.2/bin:/Users/jn015941/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/jn015941/Workspaces/apache-maven/bin\r\n9 verbose lifecycle pacs_viewer_engine@~rails-server:local: CWD: /Users/jn015941/Workspaces/pacs_viewer_engine\r\n10 silly lifecycle pacs_viewer_engine@~rails-server:local: Args: [ '-c',\r\n10 silly lifecycle   'npm run clean:all:local && cd ../pacs-viewer-component && npm install && cd ../pacs_viewer_engine && npm install && npm run build:development && npm run rails-server' ]\r\n11 silly lifecycle pacs_viewer_engine@~rails-server:local: Returned: code: 254  signal: null\r\n12 info lifecycle pacs_viewer_engine@~rails-server:local: Failed to exec rails-server:local script\r\n13 verbose stack Error: pacs_viewer_engine@ rails-server:local: `npm run clean:all:local && cd ../pacs-viewer-component && npm install && cd ../pacs_viewer_engine && npm install && npm run build:development && npm run rails-server`\r\n13 verbose stack Exit status 254\r\n13 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:280:16)\r\n13 verbose stack     at emitTwo (events.js:126:13)\r\n13 verbose stack     at EventEmitter.emit (events.js:214:7)\r\n13 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)\r\n13 verbose stack     at emitTwo (events.js:126:13)\r\n13 verbose stack     at ChildProcess.emit (events.js:214:7)\r\n13 verbose stack     at maybeClose (internal/child_process.js:925:16)\r\n13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)\r\n14 verbose pkgid pacs_viewer_engine@\r\n15 verbose cwd /Users/jn015941/Workspaces/pacs_viewer_engine\r\n16 verbose Darwin 16.7.0\r\n17 verbose argv \"/usr/local/Cellar/node/8.9.0/bin/node\" \"/usr/local/bin/npm\" \"run\" \"rails-server:local\"\r\n18 verbose node v8.9.0\r\n19 verbose npm  v5.5.1\r\n20 error code ELIFECYCLE\r\n21 error errno 254\r\n22 error pacs_viewer_engine@ rails-server:local: `npm run clean:all:local && cd ../pacs-viewer-component && npm install && cd ../pacs_viewer_engine && npm install && npm run build:development && npm run rails-server`\r\n22 error Exit status 254\r\n23 error Failed at the pacs_viewer_engine@ rails-server:local script.\r\n23 error This is probably not a problem with npm. There is likely additional logging output above.\r\n24 verbose exit [ 254, true ]\r\n```\r\n\r\nThis issue seems sporadic but has been happening consistently as of today.\r\n\r\n## Issue Type\r\n- [ ] New Feature\r\n- [ ] Enhancement\r\n- [X] Bug\r\n- [ ] Other\r\n\r\n## Expected Behavior\r\nThe project build should not fail because of the dependency.\r\n\r\n## Current Behavior\r\nBuild fails to complete.\r\n\r\n## Steps to Reproduce\r\nAdd terra-table and terra-i18n to a project and build it.\r\n\r\n## Environment\r\n* Component Version: 2.6.0\r\n* Browser Name and Version: Chrome/Safari\r\n* Operating System and version (desktop or mobile): OS X Sierra\r\n"}}
{"actor":{"display_login":"jdnarvaez"}}