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

How to " npm run develop" #11

Closed
satonos opened this issue Apr 26, 2024 · 1 comment
Closed

How to " npm run develop" #11

satonos opened this issue Apr 26, 2024 · 1 comment

Comments

@satonos
Copy link

satonos commented Apr 26, 2024

When I did it "npm run develop", the error was happend.--Error: Unknown option '--disable-host-check'
I tried to chage some infomation in package.json from #916 but the error is still coming up.

webpack serve --hot --port 8080 --firewall false --config webpack.develop.js

[webpack-cli] Error: Unknown option '--firewall'
[webpack-cli] Run 'webpack --help' to see available commands and options

webpack serve --hot --port 8080 --allowed-hosts all --config webpack.develop.js

[webpack-cli] Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
options has an unknown property '_assetEmittingPreviousFiles'. These properties are valid:
object { allowedHosts?, bonjour?, client?, compress?, devMiddleware?, headers?, historyApiFallback?, host?, hot?, ipc?, liveReload?, onListening?, open?, port?, proxy?, server?, setupExitSignals?, setupMiddlewares?, static?, watchFiles?, webSocketServer? }

@satonos
Copy link
Author

satonos commented Apr 30, 2024

This advice solved my problem.

@satonos satonos closed this as completed Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant