Title: Instructions for Global History Installation from README.md may lead to "EPERM: operation not permitted..." error · Issue #3653 · angular/angular-cli · GitHub
Open Graph Title: Instructions for Global History Installation from README.md may lead to "EPERM: operation not permitted..." error · Issue #3653 · angular/angular-cli
X Title: Instructions for Global History Installation from README.md may lead to "EPERM: operation not permitted..." error · Issue #3653 · angular/angular-cli
Description: Following the instructions under "Global Library Installation" from https://github.com/angular/angular-cli#global-library-installation to install bootstrap may lead to an EPERM error. The instructions is implicity say that is fine to hav...
Open Graph Description: Following the instructions under "Global Library Installation" from https://github.com/angular/angular-cli#global-library-installation to install bootstrap may lead to an EPERM error. The instructi...
X Description: Following the instructions under "Global Library Installation" from https://github.com/angular/angular-cli#global-library-installation to install bootstrap may lead to an EPERM error. The...
Opengraph URL: https://github.com/angular/angular-cli/issues/3653
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Instructions for Global History Installation from README.md may lead to \"EPERM: operation not permitted...\" error","articleBody":"Following the instructions under \"Global Library Installation\" from https://github.com/angular/angular-cli#global-library-installation to install bootstrap may lead to an EPERM error. The instructions is _implicity_ say that is fine to have `ng serve` running while executing `npm install bootstrap@next`:\r\n\u003e _Restart_ `ng serve` if you're running it, and Bootstrap 4 should be working on your app.\r\n\r\nI think it shouldn't say restart - The instructions should say that before running the `npm install bootstrap@next` command make sure that all instances of `ng serve` command are stopped.\r\n\r\n### OS?\r\nWindows 10\r\n\r\n\r\n### Versions.\r\n```\r\nangular-cli: 1.0.0-beta.22-1\r\nnode: 6.9.1\r\nos: win32 x64\r\n```\r\n\r\n### Repro steps.\r\nrun `ng serve` for your Angular2 project.\r\nAdd Bootstrap 4 by executing the command from example in [README.md](https://github.com/angular/angular-cli/blob/master/README.md) in your Angular2 project folder:\r\n`npm install bootstrap@next`\r\n\r\n\r\n### The log given by the failure.\r\n```\r\n$ npm install bootstrap@next\r\nnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\\chokidar\\node_modules\\fsevents):\r\nnpm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.15: wanted {\"os\":\"darwin\",\"arch\":\"any\"} (current: {\"os\":\"win32\",\"arch\":\"x64\"})\r\nnpm WARN ng2-page-scroll@3.2.1 requires a peer of @angular/core@~2.1.0 but none was installed.\r\nnpm WARN ng2-page-scroll@3.2.1 requires a peer of @angular/common@~2.1.0 but none was installed.\r\nnpm WARN ng2-page-scroll@3.2.1 requires a peer of @angular/compiler@~2.1.0 but none was installed.\r\nnpm WARN ng2-page-scroll@3.2.1 requires a peer of @angular/platform-browser@~2.1.0 but none was installed.\r\nnpm WARN ng2-page-scroll@3.2.1 requires a peer of @angular/router@~3.1.0 but none was installed.\r\nnpm WARN tslint-loader@2.1.5 requires a peer of tslint@^3.0.0 but none was installed.\r\nnpm ERR! Windows_NT 10.0.14393\r\nnpm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"install\" \"bootstrap@next\"\r\nnpm ERR! node v6.9.1\r\nnpm ERR! npm v3.10.8\r\nnpm ERR! path C:\\my_ng2_project\\node_modules\\bootstrap\r\nnpm ERR! code EPERM\r\nnpm ERR! errno -4048\r\nnpm ERR! syscall rename\r\n\r\nnpm ERR! Error: EPERM: operation not permitted, rename 'C:\\my_ng2_project\\node_modules\\bootstrap' -\u003e 'C:\\my_ng2_project\\node_modules\\.bootstrap.DELETE'\r\nnpm ERR! at moveAway (C:\\Program Files\\nodejs\\node_modules\\npm\\lib\\install\\action\\finalize.js:38:5)\r\nnpm ERR! at destStatted (C:\\Program Files\\nodejs\\node_modules\\npm\\lib\\install\\action\\finalize.js:27:7)\r\nnpm ERR! at FSReqWrap.oncomplete (fs.js:123:15)\r\nnpm ERR!\r\nnpm ERR! Error: EPERM: operation not permitted, rename 'C:\\my_ng2_project\\node_modules\\bootstrap' -\u003e 'C:\\my_ng2_project\\node_modules\\.bootstrap.DELETE'\r\nnpm ERR! at Error (native)\r\nnpm ERR! { Error: EPERM: operation not permitted, rename 'C:\\my_ng2_project\\node_modules\\bootstrap' -\u003e 'C:\\my_ng2_project\\node_modules\\.bootstrap.DELETE'\r\nnpm ERR! at moveAway (C:\\Program Files\\nodejs\\node_modules\\npm\\lib\\install\\action\\finalize.js:38:5)\r\nnpm ERR! at destStatted (C:\\Program Files\\nodejs\\node_modules\\npm\\lib\\install\\action\\finalize.js:27:7)\r\nnpm ERR! at FSReqWrap.oncomplete (fs.js:123:15)\r\nnpm ERR!\r\nnpm ERR! Error: EPERM: operation not permitted, rename 'C:\\my_ng2_project\\node_modules\\bootstrap' -\u003e 'C:\\my_ng2_project\\node_modules\\.bootstrap.DELETE'\r\nnpm ERR! at Error (native) parent: 'my-ng2-project' }\r\nnpm ERR!\r\nnpm ERR! Please try running this command again as root/Administrator.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR! C:\\my_ng2_project\\npm-debug.log\r\n```\r\n","author":{"url":"https://github.com/ikilled","@type":"Person","name":"ikilled"},"datePublished":"2016-12-20T11:40:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/3653/angular-cli/issues/3653"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9a61bfe4-ed33-e4b8-0653-9e328e27b782 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8926:EB2E7:5D7EFDF:7F72CAB:69784B5F |
| html-safe-nonce | 3d904c01c25f2f298079cc936a23a3336a11d2c5fcd007fcc6ce008b7d47ee4e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTI2OkVCMkU3OjVEN0VGREY6N0Y3MkNBQjo2OTc4NEI1RiIsInZpc2l0b3JfaWQiOiI4NjEwMDYxMjkxNTU0ODg0NDQ3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 92698c92ea9bfde2f39f2317549025e2ebf1368e6c38454222b948df227552aa |
| hovercard-subject-tag | issue:196651869 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/3653/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8678bc6a411c84f58855680e016081671f3d3276d356d8572e639eee6abb6f2a/angular/angular-cli/issues/3653 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8678bc6a411c84f58855680e016081671f3d3276d356d8572e639eee6abb6f2a/angular/angular-cli/issues/3653 |
| og:image:alt | Following the instructions under "Global Library Installation" from https://github.com/angular/angular-cli#global-library-installation to install bootstrap may lead to an EPERM error. The instructi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ikilled |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 520b65a872113b919c1bbdb03834a50af15859fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width