Hello, i tried to install the package on laravel - vue, when after installation i declare the import command on app.js and run 'npm run watch'. There is an error on the path on serialport it says that path cant resolve. how can fix this?
ERROR in ./node_modules/@serialport/bindings/lib/unix-write.js
Module not found: Error: Can't resolve 'fs' in 'C:\xampp\htdocs\sites\Laravel\vuetify-inventory\node_modules\@serialport\bindings\lib'
@ ./node_modules/@serialport/bindings/lib/unix-write.js 1:11-24
@ ./node_modules/@serialport/bindings/lib/darwin.js
@ ./node_modules/@serialport/bindings/lib/index.js
@ ./node_modules/serialport/lib/index.js
@ ./node_modules/serialport-gsm/lib/index.js
@ ./resources/js/app.js
@ multi ./resources/js/app.js ./resources/sass/app.scss
Hello, i tried to install the package on laravel - vue, when after installation i declare the import command on app.js and run 'npm run watch'. There is an error on the path on serialport it says that path cant resolve. how can fix this?
ERROR in ./node_modules/@serialport/bindings/lib/unix-write.js Module not found: Error: Can't resolve 'fs' in 'C:\xampp\htdocs\sites\Laravel\vuetify-inventory\node_modules\@serialport\bindings\lib' @ ./node_modules/@serialport/bindings/lib/unix-write.js 1:11-24 @ ./node_modules/@serialport/bindings/lib/darwin.js @ ./node_modules/@serialport/bindings/lib/index.js @ ./node_modules/serialport/lib/index.js @ ./node_modules/serialport-gsm/lib/index.js @ ./resources/js/app.js @ multi ./resources/js/app.js ./resources/sass/app.scss