![](/img/trans.png)
[英]One-liner script for start Firebase emulator, serve Angular application while importing and exporting data not working
嘗試為 npm 編寫一個單行腳本,啟動 Firebase 模擬器,Angular 應用程序,導入數據似乎僅適用於身份驗證和存儲。 我在這里錯過了什么嗎? ...
[英]One-liner script for start Firebase emulator, serve Angular application while importing and exporting data not working
嘗試為 npm 編寫一個單行腳本,啟動 Firebase 模擬器,Angular 應用程序,導入數據似乎僅適用於身份驗證和存儲。 我在這里錯過了什么嗎? ...
[英]TypeError: Cannot destructure property 'TITLE' of 'dotenv.parsed' as it is undefined
當我 npm 運行 dev 時,我遇到了這個錯誤: 這是我的 webpack.config.js: 該錯誤發生在第 13 行 ...
[英]npm start error - No production canister_ids.json found. Continuing with local
每當我運行 npm 啟動時,都會出現相同的“錯誤”消息“找不到生產 canister_ids.json。繼續本地” 起初似乎存在代理問題,可在瀏覽器控制台中檢測到。 我設法通過在 webpack.config.js 中編輯代理來解決它但是,npm 啟動時的錯誤繼續存在。 我已經嘗試更改 npm、we ...
[英]Error: error:0308010C:digital envelope routines::unsupported (Node.js v19.4.0)
如何解決這個錯誤 ...
[英]Unable to start react app using npm start
我已經下載了源代碼,但無法使用 npm start 來啟動 React 應用程序。 當我使用 npmstart 時,出現以下錯誤。 以下是 package.json 無法在我的 React 應用程序上使用 npm 啟動命令。 ...
[英]npm start for react project gives error "Cannot find file: index.js"
我一直在使用 vscode 構建一個關於 React 的項目,當我嘗試在瀏覽器中啟動它時,我不斷收到它無法找到文件 index.js 的錯誤,即使它位於正確的文件夾中。 (是的,我導入了 React 而不是 React)。 由於這個原因,我真的暫停了我的項目一段時間,這很奇怪,因為我早些時候在同 ...
[英]when i do `npm install` after create `npx create-react-app my-app` than its gives me error when i launch application `npm start`
Node.js v18.10.0 我已經嘗試再次安裝 node_moduls 和npm audit fix --force ...
[英]I am getting a blank page on my localhost 3000 on running npm start using reactjs
我開始制作一個 React 應用程序,並添加了使用 covid-19 跟蹤器命名的標簽,並在運行 npm 啟動時完美顯示了 h1 標題,即 Covid 19 跟蹤器,但隨后我安裝了依賴項,即 並使用了它的一些標簽,然后當我運行 npm 開始時,我的 localhost:3000 上出現了空白屏幕。 ...
[英]What is the difference between npm prestart and npm poststart?
我熟悉npm start ,但我不知道prestart和poststart到底做了什么。 在開始之前運行哪個腳本(即:前或后)。 我想知道它的正確流動...? 在做了一些研究之后,我發現 prestart 比 start 更先被調用。 ...
[英]How to use npm with an old version of node in docker?
我正在嘗試制作一個將 npm 與節點 14.10.0 一起使用的容器,但我無法讓 npm 使用正確的版本。 我已經嘗試修改官方節點圖像中的 NODE_VERSION 變量並重建它們,並按照本指南從頭開始構建它https://www.kabisa.nl/tech/nvm-in-docker/ 。 在 ...
[英]You need to install 'webpack-dev-server' for running 'webpack serve'. - error getting when give npm start in React Application
[webpack-cli] 你需要安裝 'webpack-dev-server' 來運行 'webpack serve'。 錯誤:找不到模塊“ajv/dist/compile/codegen” 在 React 應用程序中啟動 npm 時出現這樣的錯誤。 ...
[英]While run the React application getting error
您需要安裝“webpack-dev-server”才能運行“webpack serve”。 錯誤:找不到模塊“ajv/dist/compile/codegen” 當給 npm install 運行 React 應用程序時,我收到這樣的錯誤。 請提供解決方案以解決此問題。 ...
[英]Error when trying to install react-router-dom dependency npm on Visual Studio
我在嘗試將 npm 安裝到我的 create-react - app 應用程序時遇到錯誤。 我嘗試刪除並重新安裝我的 node_modules 文件夾以及使用管理員權限安裝它,但我仍然收到相同的錯誤 **這是來自控制台的 output ** **來自 package.json 的依賴項列表 ** ...
[英]react development server keeps crashing
我正在嘗試建立一個電子商務網站來練習更多的反應。 我為我的反應項目安裝了一堆框架,但最近,在本地主機中運行反應不斷崩潰並出現此錯誤信息 - 下面是錯誤的描述 我已經卸載並重新安裝了我的 node.js(基於我在網上看到的建議解決方案),但仍然出現錯誤。 ...
[英]how to run existing react project on vscode?
enter image description here我已經運行了現有的項目,但瀏覽器一直顯示這個。 我看不到項目。 只是反應的圖標在旋轉。 我嘗試 npm 安裝和 npm 運行啟動。 但是在瀏覽器上出現了反應的圖標。 看到項目怎么辦? ...
[英]How can I make npm start open into a different browser
在我的電腦上,默認瀏覽器是 Firefox,但我想在 Chrome 上打開我的 React 項目。 我嘗試將package.json中的腳本更改為"start": "BROWSER=chrome react-scripts start" 。 我還嘗試將 chrome 放在單引號內。 我什至嘗試將 a ...
[英]Error (code ERESOLVE) when in trying to run the command "npm install" on console log
我在一個大學項目中,我有一個項目,其中包含 angular 和 typescript,這些語言我有困難,我在嘗試運行項目時遇到問題為什么在嘗試運行命令安裝時 控制台返回給我: ...
[英]npm start in create react app throws error(tries searching for react-scripts in weird place)
其他項目工作得很好,但是這個項目由於某種原因拋出了這個錯誤: npm(8.19.1 版)的內部腳本似乎試圖從我的桌面(???)而不是從 node_modules 導入反應腳本。 檢查我的 node_module 文件夾顯示正確安裝了 react-scripts。 ...
[英]Why is my 'npm start' script resulting in the error: 'run' is not recognized as an internal or external command, operable program or batch file
在給出命令時- npm start 結果與此一致,我無法獲取本地主機 ip git-test@1.0.0 開始運行 npm lite 'run' 不是內部或外部命令、可運行程序或批處理文件。** 還添加了-“腳本”:{“開始”:“運行 npm lite”,“測試”:“回聲”錯誤:未指定測試“&a ...
[英]npm start not working in react last version
我正在使用 React 17.0.2,但今天我轉到 React 18.0.2 我在使用(npm start)時遇到了一個問題:我嘗試了所有解決方案,例如安裝 react-scripts 和 npm i 並卸載 react 模塊但沒有任何效果 ...