Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于运行的问题 #3

Open
yinjiaoyuan opened this issue Oct 27, 2020 · 1 comment
Open

关于运行的问题 #3

yinjiaoyuan opened this issue Oct 27, 2020 · 1 comment

Comments

@yinjiaoyuan
Copy link

我git clone后npm run serve,然后在浏览器输入http://xxx.xxx.xxx:8080访问不了,npm run serve打印的信息如下:
[root@localhost videojs-flvh265]# npm run serve

[email protected] serve
webpack-dev-server --open --config webpack.config.js

ℹ 「wds」: Project is running at http://localhost:8080/
ℹ 「wds」: webpack output is served from /dist
ℹ 「wds」: Content not from webpack is served from /home/root/webassembly/videojs-flvh265
ℹ 「wdm」: Hash: 2e9fb5116ab37379bb7f
Version: webpack 4.44.2
Time: 7312ms
Built at: 2020/10/27 下午4:15:40
Asset Size Chunks Chunk Names
index.js 2.39 MiB main [emitted] main
Entrypoint main = index.js
[0] multi (webpack)-dev-server/client?http://localhost:8080 ./src/main.js 40 bytes {main} [built]
[./dist/videojs-flvh265.js] 95.3 KiB {main} [built]
[./node_modules/@babel/runtime/helpers/assertThisInitialized.js] 219 bytes {main} [built]
[./node_modules/@babel/runtime/helpers/construct.js] 659 bytes {main} [built]
[./node_modules/strip-ansi/index.js] 161 bytes {main} [built]
[./node_modules/video.js/dist/video.es.js] 1.45 MiB {main} [built]
[./node_modules/webpack-dev-server/client/index.js?http://localhost:8080] (webpack)-dev-server/client?http://localhost:8080 4.29 KiB {main} [built]
[./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.51 KiB {main} [built]
[./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.53 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/createSocketUrl.js] (webpack)-dev-server/client/utils/createSocketUrl.js 2.91 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/log.js] (webpack)-dev-server/client/utils/log.js 964 bytes {main} [built]
[./node_modules/webpack-dev-server/client/utils/reloadApp.js] (webpack)-dev-server/client/utils/reloadApp.js 1.59 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/sendMessage.js] (webpack)-dev-server/client/utils/sendMessage.js 402 bytes {main} [built]
[./node_modules/webpack/hot sync ^./log$] (webpack)/hot sync nonrecursive ^./log$ 170 bytes {main} [built]
[./src/main.js] 1.65 KiB {main} [built]
+ 77 hidden modules
ℹ 「wdm」: Compiled successfully.

@coffe1891
Copy link
Owner

是不是你的8080端口被占用了?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants