Closed ceceps closed 2 years ago
Refference Note for contributor :
@rizkiheryandi
i had add this script on webpack.mix.js
mix.options({
legacyNodePolyfills: false
});
compile mix is success build but strange badaso dashboard apps cannot login and the post theme module is blank, at login, it redirected to not found route.
I inspect on console browser:
Uncaught ReferenceError: process is not defined
at Module../vendor/badaso/core/src/resources/js/api/index.js (badaso.js:29461)
at __webpack_require__ (badaso.js:310330)
at badaso.js:310625
at badaso.js:310942
at badaso.js:310944
if remove that script again and compile again but with has an error process/browser
, the apps can show and login as usually .
@ceceps
Dont need to add egacyNodePolyfills: false
You can just ignore the error on yarn / npm log for now, because badaso still running as usually, but for sure we will try to fix it soon.
any fix update
need to find the better library replacement or waiting for the update #430
To fix this issue, you can update the jsPDF module to latest version https://github.com/parallax/jsPDF/releases/tag/v2.4.0
you can run npm update
Describe the bug Error when run
yarn dev
after second executionTo Reproduce Steps to reproduce the behavior: my setup
yarn dev
it's successful but has the warningno exit code
Expected behavior run smooth with laravel mix successfull message
Screenshots