pablomatgar / Japanese-Sign-Language-Interpreter

Mobile application developed using Vue.js, Monaca, Framework7, Cordova and Teachable Machine, which recognises gestures from the Japanese Sign Language and converts them to Japanese text, with the possibility of translating them into English or Spanish.
MIT License
2 stars 3 forks source link

`npm run dev` failed #27

Closed yong-asial closed 2 years ago

yong-asial commented 2 years ago
➜  Japanese-Sign-Language-Interpreter git:(main) npm run dev

> jsl@1.0.0 dev
> webpack serve --config ./script/webpack.config.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 'disableHostCheck'. These properties are valid:
   object { allowedHosts?, bonjour?, client?, compress?, devMiddleware?, headers?, historyApiFallback?, host?, hot?, http2?, https?, ipc?, liveReload?, magicHtml?, onAfterSetupMiddleware?, onBeforeSetupMiddleware?, onListening?, open?, port?, proxy?, server?, setupExitSignals?, setupMiddlewares?, static?, watchFiles?, webSocketServer? }

I think it might due to upgrading the dependencies (webpack and webpack-dev-server).

if you wanna use newer version, you might need to change some webpack configuration. if it is hard to resolve, you can revert back to older version.

In any case, please try to do the full testing

pablomatgar commented 2 years ago

I tried the full testing and works