Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

npm run dev & prod

Kitejack   ( User )

Commented 3 years ago

Hi !
I have this problem when i run :
npm run dev or npm run prod :

npm run prod

> [email protected] prod /System/Volumes/Data/projets_internet/akaunting
> npm run production


> [email protected] production /System/Volumes/Data/projets_internet/akaunting
> cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

WARNING: The `bg-variant` mixin has been deprecated as of v4.4.0. It will be removed entirely in v5.
on line 8 of node_modules/bootstrap/scss/mixins/_deprecate.scss, in mixin `deprecate`
from line 15 of node_modules/bootstrap/scss/mixins/_background-variant.scss, in mixin `bg-variant`
from line 7 of resources/assets/sass/core/utilities/_backgrounds.scss
from line 6 of resources/assets/sass/custom/_utilities.scss
from line 69 of stdin

WARNING: The `bg-variant` mixin has been deprecated as of v4.4.0. It will be removed entirely in v5.
on line 8 of node_modules/bootstrap/scss/mixins/_deprecate.scss, in mixin `deprecate`
from line 15 of node_modules/bootstrap/scss/mixins/_background-variant.scss, in mixin `bg-variant`
from line 7 of resources/assets/sass/core/utilities/_backgrounds.scss
from line 6 of resources/assets/sass/custom/_utilities.scss
from line 69 of stdin

.... and it don't finish compile job ?! turn in loop...

i have got :
node : v14.15.5
npm : 6.14.11
PHP 7.4.15


Thanks for your help !



Kitejack   ( User )

Commented 3 years ago

So,
I do this :
rm -rf node_modules
rm package-lock.json
npm cache clear --force
yarn
npm install

and it's ok !

Please login or register to leave a response.

Showing 1 to 2 of 2 discussions