執行報錯:sockjs.js?9be2:1606 GET http://localhost:7777/sockjs-node/info?t=1609136473067 net::ERR_CONNECT
技術標籤:vue
建立的vue專案執行報錯
在配置了vue.config.js檔案輸入以下程式碼後,
module.exports = {
devServer: {
port: 8081,
public: 'localhost:7777',
host: 'localhost'
}
}
報錯:sockjs.js?9be2:1606 GET http://localhost:7777/sockjs-node/info?t=1609136473067 net::ERR_CONNECT
修改vue.config.js
devServer: {
port: 8080,
host: 'localhost'
}
無報錯了。
相關推薦
執行報錯:sockjs.js?9be2:1606 GET http://localhost:7777/sockjs-node/info?t=1609136473067 net::ERR_CONNECT
技術標籤:vue 建立的vue專案執行報錯 在配置了vue.config.js檔案輸入以下程式碼後,
linux 下 docker 版的 sqlserver 執行報錯:This program requires a machine with at least 2000 megabytes of memory.
可能為了保證資料庫執行穩定,sqlserver 限制了執行機器的最小記憶體,網上有相關的文章提到可以修改此限制,但是也要根據實際情況來決定是否真的要在小記憶體伺服器中跑哦~ 參考:https://blog.csdn.net/weixin_421
java執行報錯:“Error:java: 不支援發行版本 12“,解決辦法
java執行報錯:“Error:java: 不支援發行版本 12” 解決辦法 寫在前面,系本人學識淺薄,懂得不多,第一次寫部落格,目的也是在能幫助初學者解決問題就OK,如有書寫不當,望見諒。
pytest 執行報錯:HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
同事將她的專案檔案發給我,我在執行時報錯如下: import file mismatch: imported module \'tests.desktop.consumer_pages.test_details_page\' has this __file__ attribute:
解決Python flask執行報錯:UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd2 in position 0: invalid continuation byte
解決Python flask執行報錯:UnicodeDecodeError: \'utf-8\' codec can\'t decode byte 0xd2 in position 0: invalid continuation byte
專案執行報錯:org.springframework.jmx.export.UnableToRegisterMBeanException
1. 情況描述:專案本地單元測試通過,打包放到tomcat裡面執行報錯 2. 報錯資訊:
執行報錯:The activity must be exported or contain an intent-filter
在測試一個activity時出現了以下錯誤: (1)這裡一般是因為此activity不是Launcher Activity,也沒有設定為 android:exported=\"true\"
執行報錯:java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils
啟動工程報錯:java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils ? 1 2 3 4 5 6 7 8 9 10 11 12 13
Flutter 3 執行報錯 :You need Java 11 or higher to build your app with this version of gradle
今天嘗試了執行Flutter 3,沒想到執行後,提示 如圖 一看,那就是Java需要11的版本,於是我就安裝了Java 11,並且配置了環境變數,但是依然不行
報錯:Zookeeper Unable to open socket to localhost/0:0:0:0:0:0:0:1:2181
報錯背景 單節點zokeeper 進入zookeeper客戶端的時候報錯:zkCli.sh 報錯現象 2020-07-03 18:39:47,943 [myid:localhost:2181] - INFO[main-SendThread(localhost:2181):ClientCnxn$SendThread@1112] - Opening soc
k8s登入harbor報錯:Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request cance
[root@k8s-node02 ~]# docker login 192.168.180.105:1180 Username: admin Password: Error response from daemon: Get http://192.168.180.105:1180/v2/: net/http: request canceled while waiting for connecti
報錯: java.lang.IllegalStateException: Cannot get a STRING value from a NUMERIC cell
報錯如下: Exception in thread \"main\" java.lang.IllegalStateException: Cannot get a STRING value from a NUMERIC cell
執行electron main.js報錯:無法載入檔案 C:\Users\Administrator\AppData\Roaming\npm\electron.ps1,因為在此係統中禁止執行指令碼。
技術標籤:electronnpmnode.js 全域性安裝electron,執行electron main.js命令時報錯 無法載入檔案 C:\\Users\\Administrator\\AppData\\Roaming\\npm\\electron.ps1,因為在此係統中禁止執行指令碼。解決方案:
jquery報錯:jquery.tools.min.js:15 Uncaught TypeError: Cannot read property 'msie' of undefined
jquery報錯:jquery.tools.min.js:15 Uncaught TypeError: Cannot read property \'msie\' of undefined 背景:
eclipse執行tomcat報錯:the specified jre does not exists
1.確認是否安裝Java成功 在cmd執行視窗輸入 java在cmd執行視窗輸入 java -version 2.檢視eclipse配置jre路徑是否正確
SpringBoot Test 多執行緒報錯:dataSource already closed
1:前言 最近在專案中使用多執行緒對大任務拆分處理時,進行資料庫操作的時候報錯了。
Linux 執行 go 專案報錯:copy_file_range: bad file descriptor
這兩天在 Linux 環境部署一個 Go 專案遇到一個報錯:copy_file_range: bad file descriptor。網上查詢各種方法,花了兩天的時間,經過一番折騰後才解決,覺得非常有必要記錄一下過程。
小白踩坑記:springboot執行一直報錯:There was an unexpected error (type=Not Found, status=404).
技術標籤:筆記java學習小白踩坑spring bootspring 唉,最近在學習springboot整合thymeleaf模板引擎時,明明都配置的好好的,卻一直給爺報錯,給小爺整懵了:更奇特的是,就挺禿然的就發現似乎哪裡有問題了,一經
報錯:crontab執行時區與系統時間不一致問題
技術標籤:crontablinux [[email protected] ops]# tail -n 1 /var/log/cron Dec 16 03:08:01 rabbitmq1 crond[1842]: (*system*) RELOAD (/etc/crontab)
執行 jupyter lab 報錯:PermissionError: [Errno 13] Permission denied.md
技術標籤:Python 問題描述 PermissionError: [Errno 13] Permission denied: ‘/home/xxx/.local/share/jupyter/runtime/nbserver-7983-open.html’