久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<tfoot id='RaOew'></tfoot>
      <bdo id='RaOew'></bdo><ul id='RaOew'></ul>
  • <legend id='RaOew'><style id='RaOew'><dir id='RaOew'><q id='RaOew'></q></dir></style></legend>

      <i id='RaOew'><tr id='RaOew'><dt id='RaOew'><q id='RaOew'><span id='RaOew'><b id='RaOew'><form id='RaOew'><ins id='RaOew'></ins><ul id='RaOew'></ul><sub id='RaOew'></sub></form><legend id='RaOew'></legend><bdo id='RaOew'><pre id='RaOew'><center id='RaOew'></center></pre></bdo></b><th id='RaOew'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='RaOew'><tfoot id='RaOew'></tfoot><dl id='RaOew'><fieldset id='RaOew'></fieldset></dl></div>

      <small id='RaOew'></small><noframes id='RaOew'>

      1. 如何為項目指定本地版本的 Node?

        How do I specify a local version of Node for a project?(如何為項目指定本地版本的 Node?)
          <tbody id='DVNuk'></tbody>

          1. <tfoot id='DVNuk'></tfoot>
            <i id='DVNuk'><tr id='DVNuk'><dt id='DVNuk'><q id='DVNuk'><span id='DVNuk'><b id='DVNuk'><form id='DVNuk'><ins id='DVNuk'></ins><ul id='DVNuk'></ul><sub id='DVNuk'></sub></form><legend id='DVNuk'></legend><bdo id='DVNuk'><pre id='DVNuk'><center id='DVNuk'></center></pre></bdo></b><th id='DVNuk'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='DVNuk'><tfoot id='DVNuk'></tfoot><dl id='DVNuk'><fieldset id='DVNuk'></fieldset></dl></div>
            • <small id='DVNuk'></small><noframes id='DVNuk'>

              1. <legend id='DVNuk'><style id='DVNuk'><dir id='DVNuk'><q id='DVNuk'></q></dir></style></legend>
                  <bdo id='DVNuk'></bdo><ul id='DVNuk'></ul>
                • 本文介紹了如何為項目指定本地版本的 Node?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我有一個項目,我們試圖讓 Node 啟動并在多個開發人員的機器上運行.問題在于,并非所有開發人員都是 Node(甚至 JavaScript)開發人員,我們希望確保他們擁有運行特定項目所需的 Node 版本(開發人員將在他們的機器上擁有多個 Node 項目).

                  I've got a project where we're trying to get Node up and running across multiple developers' machines. The problem is that not all of the developers are Node (or even JavaScript) developers, and we want to ensure that they have the Node version necessary to run a specific project (developers will have multiple Node projects on their machines).

                  我讀到了 package.json 的engines"字段,但我似乎找不到任何方法來安裝我需要的 Node 版本.為了測試,我通過 NVM 將我當前的節點版本設置為 v0.10.29,創建了一個 package.json 指定 v0.11.13 的必要引擎,并嘗試通過 node 命令以及通過一個 package.json 定義的 npm start 命令.

                  I read about package.json's "engines" field, but I couldn't seem to find any way to get the version of Node installed that I needed. To test, I set my current node version to v0.10.29 via NVM, created a package.json specifying a necessary engine of v0.11.13, and tried to start Node via the node command as well as via a package.json-defined npm start command.

                  blackjack:node-engines-test sent1nel$ node -v
                  v0.10.29
                  blackjack:node-engines-test sent1nel$ cat package.json
                  {
                    "name": "node-engines-test",
                    "version": "0.0.0",
                    "description": "",
                    "main": "index.js",
                    "scripts": {
                      "test": "echo "Error: no test specified" && exit 1"
                    },
                    "engineStrict": true,
                    "engines": {
                      "node": "v0.11.13"
                    },
                    "start": "node index.js",
                    "author": "",
                    "license": "ISC"
                  }
                  blackjack:node-engines-test sent1nel$ cat index.js
                  console.log('Version: ' + process.version);
                  blackjack:node-engines-test sent1nel$ node index.js
                  Version: v0.10.29
                  blackjack:node-engines-test sent1nel$ npm start
                  blackjack:node-engines-test sent1nel$
                  

                  npm install 似乎也不關心節點引擎版本.

                  npm install doesn't seem to care about the node engine version either.

                  blackjack:node-engines-test sent1nel$ npm install
                  npm WARN package.json node-engines-test@0.0.0 No description
                  npm WARN package.json node-engines-test@0.0.0 No repository field.
                  npm WARN package.json node-engines-test@0.0.0 No README data
                  blackjack:node-engines-test sent1nel$ node -v
                  v0.10.29
                  

                  什么給了?!

                  推薦答案

                  我相信engines 和 engineStrict 用于包被 已安裝(通過 npm),而不是在您嘗試使用 node.執行 某些東西時.這些選項警告/阻止用戶安裝不適合(或兼容)他們當前使用的節點版本的包.

                  I believe that the engines and engineStrict are for when the package is being installed (via npm), not when you're trying to execute something with node. These options warn/prevent users from installing a package that is not designed to work (or compatible) with the node version they are currently using.

                  這篇關于如何為項目指定本地版本的 Node?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Browser waits for ajax call to complete even after abort has been called (jQuery)(即使在調用 abort (jQuery) 之后,瀏覽器也會等待 ajax 調用完成)
                  JavaScript innerHTML is not working for IE?(JavaScript innerHTML 不適用于 IE?)
                  XMLHttpRequest cannot load, No #39;Access-Control-Allow-Origin#39; header is present on the requested resource(XMLHttpRequest 無法加載,請求的資源上不存在“Access-Control-Allow-Origin標頭) - IT屋-程序員軟件開發技術分
                  Is it possible for XHR HEAD requests to not follow redirects (301 302)(XHR HEAD 請求是否有可能不遵循重定向 (301 302))
                  XMLHttpRequest 206 Partial Content(XMLHttpRequest 206 部分內容)
                  Restrictions of XMLHttpRequest#39;s getResponseHeader()?(XMLHttpRequest 的 getResponseHeader() 的限制?)

                    <tbody id='vX947'></tbody>

                    <i id='vX947'><tr id='vX947'><dt id='vX947'><q id='vX947'><span id='vX947'><b id='vX947'><form id='vX947'><ins id='vX947'></ins><ul id='vX947'></ul><sub id='vX947'></sub></form><legend id='vX947'></legend><bdo id='vX947'><pre id='vX947'><center id='vX947'></center></pre></bdo></b><th id='vX947'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='vX947'><tfoot id='vX947'></tfoot><dl id='vX947'><fieldset id='vX947'></fieldset></dl></div>

                    • <tfoot id='vX947'></tfoot>
                      • <bdo id='vX947'></bdo><ul id='vX947'></ul>
                        <legend id='vX947'><style id='vX947'><dir id='vX947'><q id='vX947'></q></dir></style></legend>

                          <small id='vX947'></small><noframes id='vX947'>

                            主站蜘蛛池模板: 国产99久久精品一区二区永久免费 | 精品综合久久 | 久久久久国产精品www | 免费激情网站 | 成人做爰www免费看视频网站 | 久久亚洲一区 | 日韩精品色网 | 国产专区视频 | 日韩免费看片 | 久久精品国产99国产精品 | 免费观看毛片 | 日韩手机在线视频 | 中文字幕一区二区三区四区 | 午夜一区二区三区视频 | 成人不卡视频 | 国产69久久精品成人看动漫 | 欧美在线一区二区三区 | 国产精品一区一区三区 | 精品在线一区 | 91久久夜色精品国产网站 | 91免费看片神器 | 91九色视频 | 久久免费精品 | 91美女视频| 色婷婷精品久久二区二区蜜臂av | 久久伊人精品 | 日韩成人av在线 | 99久久婷婷国产亚洲终合精品 | 伊人色综合久久天天五月婷 | 国产在线播放av | 欧美一区二区在线观看视频 | 99精品国产一区二区三区 | 亚洲精品欧美一区二区三区 | 欧美日韩在线一区 | 爱综合| 欧美精品久久久久久久久久 | 午夜在线视频一区二区三区 | av中文字幕网| 久久精品久久综合 | 亚洲精品电影网在线观看 | 欧美黄色片 |