{"id":38761,"date":"2023-01-18T02:28:26","date_gmt":"2023-04-10T02:30:04","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e6%9e%9c%e6%97%a0%e6%b3%95%e6%9b%b4%e6%96%b0angular-cli%e5%b9%b6%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ng-new%e6%97%b6%e4%bc%9a%e5%87%ba%e7%8e%b0%e9%94%99%e8%af%af%e3%80%82\/"},"modified":"2024-04-29T10:19:23","modified_gmt":"2024-04-29T02:19:23","slug":"%e5%a6%82%e6%9e%9c%e6%97%a0%e6%b3%95%e6%9b%b4%e6%96%b0angular-cli%e5%b9%b6%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ng-new%e6%97%b6%e4%bc%9a%e5%87%ba%e7%8e%b0%e9%94%99%e8%af%af%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e6%9e%9c%e6%97%a0%e6%b3%95%e6%9b%b4%e6%96%b0angular-cli%e5%b9%b6%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ng-new%e6%97%b6%e4%bc%9a%e5%87%ba%e7%8e%b0%e9%94%99%e8%af%af%e3%80%82\/","title":{"rendered":"\u5982\u679c\u65e0\u6cd5\u66f4\u65b0angular\/cli\u5e76\u5c1d\u8bd5\u4f7f\u7528ng new\u65f6\u4f1a\u51fa\u73b0\u9519\u8bef"},"content":{"rendered":"<p>\u5f88\u4e45\u6ca1\u78b0Angular\u4e86\uff0c\u6211\u60f3\u8981\u91cd\u65b0\u63a5\u89e6\u5b83\uff0c<br \/>\n\u6211\u60f3\u8981\u66f4\u65b0@angular\/cli\uff0c\u4f46\u5728\u6b64\u8fc7\u7a0b\u4e2d\u9047\u5230\u4e86\u4e00\u4e9b\u95ee\u9898\uff0c<br \/>\n\u6240\u4ee5\u6211\u5c06\u628a\u8fd9\u4e2a\u8fc7\u7a0b\u8bb0\u5f55\u4e0b\u6765\u3002<\/p>\n<h1>\u603b\u7ed3<\/h1>\n<p>npm cache clear -f \u3057\u306a\u3044\u3068\u3044\u3051\u306a\u304b\u3063\u305f<\/p>\n<h1>\u73af\u5883<\/h1>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">PC: MacBook Pro (Intel Core 2016)<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">OS: macOS Montery12.0.1<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">@angular\/cli v9\u7cfb<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">Node.js v16.10.0 (nodenv\u3067\u7ba1\u7406)<\/ul>\n<h1>\u6211\u6253\u7b97\u505a\u7684\u4e8b\u60c5(wo3 da3suan4 zuo4 de shi4qing)<\/h1>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">@angular\/cli \u3092 update<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u6570\u5e74\u3076\u308a\u306b\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306e \u30c4\u30a2\u30fc\u30fb\u30aa\u30d6\u30fb\u30d2\u30fc\u30ed\u30fc\u30ba \u3092\u5b9f\u65bd<\/ul>\n<h1>\u9996\u5148\u662fcli\u7684\u66f4\u65b0\u3002<\/h1>\n<p>\u9996\u5148\uff0c\u7531\u4e8e@angular\/cli\u7248\u672c\u8fc7\u65e7\uff0c\u6211\u5c1d\u8bd5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u66f4\u65b0\u3002<\/p>\n<pre class=\"post-pre\"><code>npm uninstall -g @angular\/cli\r\nnpm i -g @angular\/cli@latest\r\n<\/code><\/pre>\n<h1>\u7acb\u5373\u521b\u5efa\u65b0\u7684 ng \u9879\u76ee<\/h1>\n<p>\u6211\u8ba4\u4e3a\u8fd9\u6837\u505a\u53ef\u4ee5\u8fdb\u884c\u66f4\u65b0\uff0c\u7136\u540e\u6211\u6267\u884c\u4e86ng new\uff0c\u4f46\u51fa\u73b0\u4e86\u4ee5\u4e0b\u9519\u8bef\u3002<\/p>\n<h2>\u9519\u8bef\u6d88\u606f<\/h2>\n<pre class=\"post-pre\"><code>% ng new angular-tour-of-heroes   \r\n? What name would you like to use for the new workspace and initial project? p\r\n? Would you like to add Angular routing? Yes\r\n? Which stylesheet format would you like to use? CSS\r\n\u280f Installing packages (npm)...npm ERR! code ERESOLVE\r\nnpm ERR! ERESOLVE unable to resolve dependency tree\r\nnpm ERR! \r\nnpm ERR! While resolving: p@0.0.0\r\nnpm ERR! Found: jasmine-core@3.7.1\r\nnpm ERR! node_modules\/jasmine-core\r\nnpm ERR!   dev jasmine-core@\"~3.7.0\" from the root project\r\nnpm ERR! \r\nnpm ERR! Could not resolve dependency:\r\nnpm ERR! peer jasmine-core@\"&gt;=3.8\" from karma-jasmine-html-reporter@1.7.0\r\nnpm ERR! node_modules\/karma-jasmine-html-reporter\r\nnpm ERR!   dev karma-jasmine-html-reporter@\"^1.5.0\" from the root project\r\nnpm ERR! \r\nnpm ERR! Fix the upstream dependency conflict, or retry\r\nnpm ERR! this command with --force, or --legacy-peer-deps\r\nnpm ERR! to accept an incorrect (and potentially broken) dependency resolution.\r\nnpm ERR! \r\nnpm ERR! See \/Users\/hashito\/.npm\/eresolve-report.txt for a full report.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR!     \/Users\/hashito\/.npm\/_logs\/2021-07-13T11_51_15_412Z-debug.log\r\n\u2716 Package install failed, see above.\r\nThe Schematic workflow failed. See above.\r\n<\/code><\/pre>\n<p>\u8fd9\u662f\u4ec0\u4e48\u4e1c\u897f\uff1f<br \/>\n\u53d1\u5e16\u8005\u9677\u5165\u6050\u614c\u3002<\/p>\n<h1>\u67e5\u770bcli\u7684\u7248\u672c<\/h1>\n<p>\u66ab\u6642\u51b7\u975c\u4e0b\u4f86\uff0c\u5148\u78ba\u8a8d\u4e00\u4e0b CLI \u7684\u7248\u672c\u5427\u3002<\/p>\n<pre class=\"post-pre\"><code>% ng v\r\n     _                      _                 ____ _     ___\r\n    \/ \\   _ __   __ _ _   _| | __ _ _ __     \/ ___| |   |_ _|\r\n   \/ \u25b3 \\ | '_ \\ \/ _` | | | | |\/ _` | '__|   | |   | |    | |\r\n  \/ ___ \\| | | | (_| | |_| | | (_| | |      | |___| |___ | |\r\n \/_\/   \\_\\_| |_|\\__, |\\__,_|_|\\__,_|_|       \\____|_____|___|\r\n                |___\/\r\n\r\n\r\nAngular CLI: 9.~~\r\nNode: 16.10.0\r\n<\/code><\/pre>\n<p>\u54ce\u5440\uff1f<br \/>\n\u660e\u660e\u5df2\u7ecf\u5e94\u8be5\u662f\u6700\u65b0\u768413\u7248\u672c\u4e86\uff0c\u4e3a\u4ec0\u4e48\u8fd8\u4e0d\u662f\u5462\uff1f<br \/>\n\u521a\u521a\u5237\u65b0\u8fc7\uff0c\u4e3a\u4ec0\u4e48\u4f1a\u8fd9\u6837\u5462\uff1f<\/p>\n<h1>Reason<\/h1>\n<p>\u7576\u6211\u9032\u884c\u8abf\u67e5\u6642\uff0c\u767c\u73fe npm \u7684\u5feb\u53d6\u662f\u539f\u56e0\u3002<\/p>\n<p>\u6240\u4ee5\uff0c\u4e3a\u4e86\u5b89\u5168\u8d77\u89c1\uff0c\u6211\u91cd\u65b0\u5b89\u88c5\u4e86 @angular\/cli\uff0c\u5e76\u6267\u884c\u4e86\u4ee5\u4e0b\u547d\u4ee4\u3002<\/p>\n<pre class=\"post-pre\"><code>% npm uninstall -g @angular\/cli\r\n% npm cache clean -f\r\n% npm i -g @angular\/cli@latest\r\n<\/code><\/pre>\n<p>\u7136\u540e\uff0c\u518d\u6b21\u786e\u8ba4\u7248\u672c\u3002<\/p>\n<pre class=\"post-pre\"><code>% ng v\r\n     _                      _                 ____ _     ___\r\n    \/ \\   _ __   __ _ _   _| | __ _ _ __     \/ ___| |   |_ _|\r\n   \/ \u25b3 \\ | '_ \\ \/ _` | | | | |\/ _` | '__|   | |   | |    | |\r\n  \/ ___ \\| | | | (_| | |_| | | (_| | |      | |___| |___ | |\r\n \/_\/   \\_\\_| |_|\\__, |\\__,_|_|\\__,_|_|       \\____|_____|___|\r\n                |___\/\r\n\r\n\r\nAngular CLI: 13.1.2\r\nNode: 16.10.0\r\nPackage Manager: npm 7.24.0\r\nOS: darwin x64\r\n\r\nAngular: undefined\r\n... \r\n\r\nPackage                      Version\r\n------------------------------------------------------\r\n@angular-devkit\/architect    0.1301.2 (cli-only)\r\n@angular-devkit\/core         13.1.2 (cli-only)\r\n@angular-devkit\/schematics   13.1.2 (cli-only)\r\n@schematics\/angular          13.1.2 (cli-only)\r\n<\/code><\/pre>\n<p>\u662f\u7684\uff0c\u66f4\u65b0\u5df2\u7d93\u9806\u5229\u5b8c\u6210\uff0c\u73fe\u5728\u6211\u5011\u6703\u91cd\u65b0\u9032\u884c ng new\u3002<\/p>\n<pre class=\"post-pre\"><code>% ng new angular-tour-of-heroes\r\n? Would you like to add Angular routing? Yes\r\n? Which stylesheet format would you like to use? CSS\r\nCREATE angular-tour-of-heroes\/README.md (1065 bytes)\r\nCREATE angular-tour-of-heroes\/.editorconfig (274 bytes)\r\nCREATE angular-tour-of-heroes\/.gitignore (620 bytes)\r\nCREATE angular-tour-of-heroes\/angular.json (3135 bytes)\r\nCREATE angular-tour-of-heroes\/package.json (1086 bytes)\r\nCREATE angular-tour-of-heroes\/tsconfig.json (863 bytes)\r\nCREATE angular-tour-of-heroes\/.browserslistrc (600 bytes)\r\nCREATE angular-tour-of-heroes\/karma.conf.js (1439 bytes)\r\nCREATE angular-tour-of-heroes\/tsconfig.app.json (287 bytes)\r\nCREATE angular-tour-of-heroes\/tsconfig.spec.json (333 bytes)\r\nCREATE angular-tour-of-heroes\/.vscode\/extensions.json (130 bytes)\r\nCREATE angular-tour-of-heroes\/.vscode\/launch.json (474 bytes)\r\nCREATE angular-tour-of-heroes\/.vscode\/tasks.json (938 bytes)\r\nCREATE angular-tour-of-heroes\/src\/favicon.ico (948 bytes)\r\nCREATE angular-tour-of-heroes\/src\/index.html (305 bytes)\r\nCREATE angular-tour-of-heroes\/src\/main.ts (372 bytes)\r\nCREATE angular-tour-of-heroes\/src\/polyfills.ts (2338 bytes)\r\nCREATE angular-tour-of-heroes\/src\/styles.css (80 bytes)\r\nCREATE angular-tour-of-heroes\/src\/test.ts (745 bytes)\r\nCREATE angular-tour-of-heroes\/src\/assets\/.gitkeep (0 bytes)\r\nCREATE angular-tour-of-heroes\/src\/environments\/environment.prod.ts (51 bytes)\r\nCREATE angular-tour-of-heroes\/src\/environments\/environment.ts (658 bytes)\r\nCREATE angular-tour-of-heroes\/src\/app\/app-routing.module.ts (245 bytes)\r\nCREATE angular-tour-of-heroes\/src\/app\/app.module.ts (393 bytes)\r\nCREATE angular-tour-of-heroes\/src\/app\/app.component.css (0 bytes)\r\nCREATE angular-tour-of-heroes\/src\/app\/app.component.html (23364 bytes)\r\nCREATE angular-tour-of-heroes\/src\/app\/app.component.spec.ts (1121 bytes)\r\nCREATE angular-tour-of-heroes\/src\/app\/app.component.ts (226 bytes)\r\n\u2714 Packages installed successfully.\r\n<\/code><\/pre>\n<p>\u8fd8\u5269\u4e0b\u7684\u53ea\u662f\u52a8\u5b83\u800c\u5df2<\/p>\n<pre class=\"post-pre\"><code>% cd angular-tour-of-heroes\r\n% ng serve -o\r\n<\/code><\/pre>\n<p>\u662f\u7684\uff0c\u987a\u5229\u642c\u8fc1\u4e86\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d366f37434c4406c6f809\/31-0.png\" alt=\"Screen Shot 2021-12-28 at 8.03.21.png\" \/><\/div>\n<h1>\u603b\u7ed3<\/h1>\n<ul class=\"post-ul\">npm \u3092 \u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u6642\u306f\u3001cache \u306b\u6ce8\u610f<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u5f88\u4e45\u6ca1\u78b0Angular\u4e86\uff0c\u6211\u60f3\u8981\u91cd\u65b0\u63a5\u89e6\u5b83\uff0c \u6211\u60f3\u8981\u66f4\u65b0@angular\/cli\uff0c\u4f46\u5728\u6b64\u8fc7\u7a0b\u4e2d\u9047\u5230\u4e86\u4e00\u4e9b\u95ee\u9898\uff0c [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-38761","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5982\u679c\u65e0\u6cd5\u66f4\u65b0angular\/cli\u5e76\u5c1d\u8bd5\u4f7f\u7528ng new\u65f6\u4f1a\u51fa\u73b0\u9519\u8bef - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5982\u679c\u65e0\u6cd5\u66f4\u65b0angular-cli\u5e76\u5c1d\u8bd5\u4f7f\u7528ng-new\u65f6\u4f1a\u51fa\u73b0\u9519\u8bef\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u679c\u65e0\u6cd5\u66f4\u65b0angular\/cli\u5e76\u5c1d\u8bd5\u4f7f\u7528ng new\u65f6\u4f1a\u51fa\u73b0\u9519\u8bef\" \/>\n<meta property=\"og:description\" content=\"\u5f88\u4e45\u6ca1\u78b0Angular\u4e86\uff0c\u6211\u60f3\u8981\u91cd\u65b0\u63a5\u89e6\u5b83\uff0c \u6211\u60f3\u8981\u66f4\u65b0@angular\/cli\uff0c\u4f46\u5728\u6b64\u8fc7\u7a0b\u4e2d\u9047\u5230\u4e86\u4e00\u4e9b\u95ee\u9898\uff0c [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5982\u679c\u65e0\u6cd5\u66f4\u65b0angular-cli\u5e76\u5c1d\u8bd5\u4f7f\u7528ng-new\u65f6\u4f1a\u51fa\u73b0\u9519\u8bef\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-10T02:30:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T02:19:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d366f37434c4406c6f809\/31-0.png\" \/>\n<meta name=\"author\" content=\"\u97f5, \u79d1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u97f5, \u79d1\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e6%9e%9c%e6%97%a0%e6%b3%95%e6%9b%b4%e6%96%b0angular-cli%e5%b9%b6%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ng-new%e6%97%b6%e4%bc%9a%e5%87%ba%e7%8e%b0%e9%94%99%e8%af%af%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e6%9e%9c%e6%97%a0%e6%b3%95%e6%9b%b4%e6%96%b0angular-cli%e5%b9%b6%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ng-new%e6%97%b6%e4%bc%9a%e5%87%ba%e7%8e%b0%e9%94%99%e8%af%af%e3%80%82\/\",\"name\":\"\u5982\u679c\u65e0\u6cd5\u66f4\u65b0angular\/cli\u5e76\u5c1d\u8bd5\u4f7f\u7528ng new\u65f6\u4f1a\u51fa\u73b0\u9519\u8bef - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-04-10T02:30:04+00:00\",\"dateModified\":\"2024-04-29T02:19:23+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e6%9e%9c%e6%97%a0%e6%b3%95%e6%9b%b4%e6%96%b0angular-cli%e5%b9%b6%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ng-new%e6%97%b6%e4%bc%9a%e5%87%ba%e7%8e%b0%e9%94%99%e8%af%af%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e6%9e%9c%e6%97%a0%e6%b3%95%e6%9b%b4%e6%96%b0angular-cli%e5%b9%b6%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ng-new%e6%97%b6%e4%bc%9a%e5%87%ba%e7%8e%b0%e9%94%99%e8%af%af%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e6%9e%9c%e6%97%a0%e6%b3%95%e6%9b%b4%e6%96%b0angular-cli%e5%b9%b6%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ng-new%e6%97%b6%e4%bc%9a%e5%87%ba%e7%8e%b0%e9%94%99%e8%af%af%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u679c\u65e0\u6cd5\u66f4\u65b0angular\/cli\u5e76\u5c1d\u8bd5\u4f7f\u7528ng new\u65f6\u4f1a\u51fa\u73b0\u9519\u8bef\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e\",\"name\":\"\u97f5, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"caption\":\"\u97f5, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e6%9e%9c%e6%97%a0%e6%b3%95%e6%9b%b4%e6%96%b0angular-cli%e5%b9%b6%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ng-new%e6%97%b6%e4%bc%9a%e5%87%ba%e7%8e%b0%e9%94%99%e8%af%af%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5982\u679c\u65e0\u6cd5\u66f4\u65b0angular\/cli\u5e76\u5c1d\u8bd5\u4f7f\u7528ng new\u65f6\u4f1a\u51fa\u73b0\u9519\u8bef - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u5982\u679c\u65e0\u6cd5\u66f4\u65b0angular-cli\u5e76\u5c1d\u8bd5\u4f7f\u7528ng-new\u65f6\u4f1a\u51fa\u73b0\u9519\u8bef\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u679c\u65e0\u6cd5\u66f4\u65b0angular\/cli\u5e76\u5c1d\u8bd5\u4f7f\u7528ng new\u65f6\u4f1a\u51fa\u73b0\u9519\u8bef","og_description":"\u5f88\u4e45\u6ca1\u78b0Angular\u4e86\uff0c\u6211\u60f3\u8981\u91cd\u65b0\u63a5\u89e6\u5b83\uff0c \u6211\u60f3\u8981\u66f4\u65b0@angular\/cli\uff0c\u4f46\u5728\u6b64\u8fc7\u7a0b\u4e2d\u9047\u5230\u4e86\u4e00\u4e9b\u95ee\u9898\uff0c [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5982\u679c\u65e0\u6cd5\u66f4\u65b0angular-cli\u5e76\u5c1d\u8bd5\u4f7f\u7528ng-new\u65f6\u4f1a\u51fa\u73b0\u9519\u8bef\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-04-10T02:30:04+00:00","article_modified_time":"2024-04-29T02:19:23+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d366f37434c4406c6f809\/31-0.png"}],"author":"\u97f5, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u97f5, \u79d1","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e6%9e%9c%e6%97%a0%e6%b3%95%e6%9b%b4%e6%96%b0angular-cli%e5%b9%b6%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ng-new%e6%97%b6%e4%bc%9a%e5%87%ba%e7%8e%b0%e9%94%99%e8%af%af%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e6%9e%9c%e6%97%a0%e6%b3%95%e6%9b%b4%e6%96%b0angular-cli%e5%b9%b6%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ng-new%e6%97%b6%e4%bc%9a%e5%87%ba%e7%8e%b0%e9%94%99%e8%af%af%e3%80%82\/","name":"\u5982\u679c\u65e0\u6cd5\u66f4\u65b0angular\/cli\u5e76\u5c1d\u8bd5\u4f7f\u7528ng new\u65f6\u4f1a\u51fa\u73b0\u9519\u8bef - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-04-10T02:30:04+00:00","dateModified":"2024-04-29T02:19:23+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e6%9e%9c%e6%97%a0%e6%b3%95%e6%9b%b4%e6%96%b0angular-cli%e5%b9%b6%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ng-new%e6%97%b6%e4%bc%9a%e5%87%ba%e7%8e%b0%e9%94%99%e8%af%af%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e6%9e%9c%e6%97%a0%e6%b3%95%e6%9b%b4%e6%96%b0angular-cli%e5%b9%b6%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ng-new%e6%97%b6%e4%bc%9a%e5%87%ba%e7%8e%b0%e9%94%99%e8%af%af%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e6%9e%9c%e6%97%a0%e6%b3%95%e6%9b%b4%e6%96%b0angular-cli%e5%b9%b6%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ng-new%e6%97%b6%e4%bc%9a%e5%87%ba%e7%8e%b0%e9%94%99%e8%af%af%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5982\u679c\u65e0\u6cd5\u66f4\u65b0angular\/cli\u5e76\u5c1d\u8bd5\u4f7f\u7528ng new\u65f6\u4f1a\u51fa\u73b0\u9519\u8bef"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e","name":"\u97f5, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","caption":"\u97f5, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e6%9e%9c%e6%97%a0%e6%b3%95%e6%9b%b4%e6%96%b0angular-cli%e5%b9%b6%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ng-new%e6%97%b6%e4%bc%9a%e5%87%ba%e7%8e%b0%e9%94%99%e8%af%af%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/38761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=38761"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/38761\/revisions"}],"predecessor-version":[{"id":84683,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/38761\/revisions\/84683"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=38761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=38761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=38761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}