Jump to content

Proble z npm install i npm run build


myszz

Recommended Posts

Witam, mam szablon Classic rocket,  mam problem gdy próbuje zainstalować webpacka, gdy wpisuję comendę npm install to pojawia mi się: 

> [email protected] install C:\Bitnami\prestashop-1.7.6.1-1\apps\prestashop\htdocs\themes\Dron\_dev\node_modules\node-sass
> node scripts/install.js

Cached binary found at C:\Users\Mysz\AppData\Roaming\npm-cache\node-sass\4.12.0\win32-x64-64_binding.node

> [email protected] postinstall C:\Bitnami\prestashop-1.7.6.1-1\apps\prestashop\htdocs\themes\Dron\_dev\node_modules\node-sass
> node scripts/build.js

Binary found at C:\Bitnami\prestashop-1.7.6.1-1\apps\prestashop\htdocs\themes\Dron\_dev\node_modules\node-sass\vendor\win32-x64-64\binding.node
Testing binary
Binary is fine
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

added 1065 packages from 642 contributors and audited 11721 packages in 81.205s
found 18 vulnerabilities (2 low, 5 moderate, 11 high)
  run `npm audit fix` to fix them, or `npm audit` for details

a gdy wpisuję: npm run build, to wyświetla mi się: 

> [email protected] build C:\Bitnami\prestashop-1.7.6.1-1\apps\prestashop\htdocs\themes\Dron\_dev
> NODE_ENV=production webpack --progress --colors --debug --display-chunks

 10% building modules 1/2 modules 1 active ...p\htdocs\themes\Dron\_dev\js\theme 10% building modules 1/3 modules 2 active ...tdocs\themes\Dron\_dev\css\theme.s 10% building modules 2/3 modules 1 active ...p\htdocs\themes\Dron\_dev\js\theme 10% building modules 4/5 modules 1 active ...tdocs\themes\Dron\_dev\css\theme.s 10% building modules 4/6 modules 2 active ...ode_modules\style-loader\addStyles 10% building modules 4/7 modules 3 active ...ocs\themes\Dron\_dev\js\responsive 10% building modules 4/8 modules 4 active ...tdocs\themes\Dron\_dev\js\checkout 10% building modules 4/9 modules 5 active ...tdocs\themes\Dron\_dev\js\customer 10% building modules 4/10 modules 6 active ...htdocs\themes\Dron\_dev\js\listin 10% building modules 4/11 modules 7 active ...htdocs\themes\Dron\_dev\js\produc 10% building modules 4/12 modules 8 active ...op\htdocs\themes\Dron\_dev\js\car 10% building modules 4/13 modules 9 active ...\themes\Dron\_dev\js\lib\slick.mi 10% building modules 4/14 modules 10 active ...emes\Dron\_dev\js\components\sli 10% building modules 4/15 modules 11 active ..._dev\js\lib\jquery.hoverIntent.m 10% building modules 4/16 modules 12 active ...hemes\Dron\_dev\js\components\fo 10% building modules 4/17 modules 13 active ...s\Dron\_dev\js\components\top-me 10% building modules 4/18 modules 14 active ...Dron\_dev\js\components\block-ca 10% building modules 5/18 modules 13 active ...Dron\_dev\js\components\block-ca 10% building modules 5/19 modules 14 active ...on\_dev\node_modules\events\even 10% building modules 6/19 modules 13 active ...on\_dev\node_modules\events\even 10% building modules 7/20 modules 13 active ...on\_dev\node_modules\events\even 10% building modules 8/20 modules 12 active ...on\_dev\node_modules\events\even 11% building modules 9/20 modules 11 active ...on\_dev\node_modules\events\even 11% building modules 10/20 modules 10 active ...on\_dev\node_modules\events\eve 11% building modules 11/20 modules 9 active ...on\_dev\node_modules\events\even 11% building modules 12/20 modules 8 active ...on\_dev\node_modules\events\even 11% building modules 13/20 modules 7 active ...on\_dev\node_modules\events\even 11% building modules 14/20 modules 6 active ...on\_dev\node_modules\events\even 11% building modules 15/20 modules 5 active ...on\_dev\node_modules\events\even 11% building modules 16/20 modules 4 active ...on\_dev\node_modules\events\even 12% building modules 17/20 modules 3 active ...on\_dev\node_modules\events\even 12% building modules 17/21 modules 4 active ...\node_modules\style-loader\fixUr 12% building modules 17/22 modules 5 active ...ode_modules\bootstrap\js\src\ale 12% building modules 17/23 modules 6 active ...node_modules\bootstrap\js\src\ut 12% building modules 17/24 modules 7 active ...de_modules\bootstrap\js\src\butt 12% building modules 17/25 modules 8 active ..._modules\bootstrap\js\src\collap 12% building modules 17/26 modules 9 active ..._modules\bootstrap\js\src\dropdo 12% building modules 17/27 modules 10 active ...ode_modules\bootstrap\js\src\mo 12% building modules 17/28 modules 11 active ...e_modules\bootstrap\js\src\popo 12% building modules 17/29 modules 12 active ...\node_modules\bootstrap\js\src\ 12% building modules 18/29 modules 11 active ...\node_modules\bootstrap\js\src\ 12% building modules 18/30 modules 12 active ...e_modules\bootstrap\js\src\tool 12% building modules 18/31 modules 13 active ...ode_modules\bootstrap\js\src\to 12% building modules 18/32 modules 14 active ...v\node_modules\lazysizes\lazysi 12% building modules 18/33 modules 15 active ...in\dist\jquery.bootstrap-touchs 12% building modules 19/33 modules 14 active ...in\dist\jquery.bootstrap-touchs 12% building modules 20/33 modules 13 active ...in\dist\jquery.bootstrap-touchs 12% building modules 21/33 modules 12 active ...in\dist\jquery.bootstrap-touchs 12% building modules 22/33 modules 11 active ...in\dist\jquery.bootstrap-touchs 12% building modules 23/33 modules 10 active ...in\dist\jquery.bootstrap-touchs 12% building modules 24/33 modules 9 active ...in\dist\jquery.bootstrap-touchsp 13% building modules 25/33 modules 8 active ...in\dist\jquery.bootstrap-touchsp 13% building modules 26/33 modules 7 active ...in\dist\jquery.bootstrap-touchsp 13% building modules 27/33 modules 6 active ...in\dist\jquery.bootstrap-touchsp 13% building modules 28/33 modules 5 active ...in\dist\jquery.bootstrap-touchsp 13% building modules 29/33 modules 4 active ...in\dist\jquery.bootstrap-touchsp 13% building modules 30/33 modules 3 active ...in\dist\jquery.bootstrap-touchsp 13% building modules 31/33 modules 2 active ...in\dist\jquery.bootstrap-touchsp 13% building modules 32/33 modules 1 active ...tdocs\themes\Dron\_dev\css\theme 13% building modules 32/34 modules 2 active ...s\bootstrap\js\src\tools\sanitiz 13% building modules 33/34 modules 1 active ...tdocs\themes\Dron\_dev\css\theme 13% building modules 33/35 modules 2 active ..._modules\popper.js\dist\esm\popp 14% building modules 34/35 modules 1 active ...tdocs\themes\Dron\_dev\css\theme 14% building modules 34/36 modules 2 active ...ode_modules\webpack\buildin\glob 14% building modules 35/36 modules 1 active ...tdocs\themes\Dron\_dev\css\theme 14% building modules 36/37 modules 1 active ...de_modules\css-loader\lib\css-ba 14% building modules 37/38 modules 1 active ...ron\_dev\node_modules\buffer\ind 14% building modules 37/39 modules 2 active ...ocs\themes\Dron\_dev\img\faceboo 14% building modules 37/40 modules 3 active ...docs\themes\Dron\_dev\img\twitte 14% building modules 37/41 modules 4 active ...htdocs\themes\Dron\_dev\img\gplu 14% building modules 37/42 modules 5 active ...cs\themes\Dron\_dev\img\pinteres 14% building modules 37/43 modules 6 active ...docs\themes\Dron\_dev\img\youtub 14% building modules 37/44 modules 7 active ...p\htdocs\themes\Dron\_dev\img\rs 14% building modules 37/45 modules 8 active ...htdocs\themes\Dron\_dev\img\vime 14% building modules 37/46 modules 9 active ...cs\themes\Dron\_dev\img\instagra 14% building modules 37/47 modules 10 active ...hemes\Dron\_dev\img\facebook-gr 14% building modules 37/48 modules 11 active ...themes\Dron\_dev\img\twitter-gr 14% building modules 37/49 modules 12 active ...hemes\Dron\_dev\img\facebook-bl 14% building modules 37/50 modules 13 active ...themes\Dron\_dev\img\twitter-bl 14% building modules 37/51 modules 14 active ...s\themes\Dron\_dev\img\gplus-gr 14% building modules 37/52 modules 15 active ...s\themes\Dron\_dev\img\gplus-bl 14% building modules 37/53 modules 16 active ...emes\Dron\_dev\img\pinterest-gr 14% building modules 37/54 modules 17 active ...emes\Dron\_dev\img\pinterest-bl 14% building modules 37/55 modules 18 active ...ns\iconfont\MaterialIcons-Regul 14% building modules 37/56 modules 19 active ...\iconfont\MaterialIcons-Regular 14% building modules 37/57 modules 20 active ...s\iconfont\MaterialIcons-Regula 14% building modules 37/58 modules 21 active ...ns\iconfont\MaterialIcons-Regul 14% building modules 38/58 modules 20 active ...ns\iconfont\MaterialIcons-Regul 14% building modules 39/58 modules 19 active ...ns\iconfont\MaterialIcons-Regul 14% building modules 40/58 modules 18 active ...ns\iconfont\MaterialIcons-Regul 14% building modules 41/58 modules 17 active ...ns\iconfont\MaterialIcons-Regul 15% building modules 42/58 modules 16 active ...ns\iconfont\MaterialIcons-Regul 15% building modules 43/58 modules 15 active ...ns\iconfont\MaterialIcons-Regul 15% building modules 44/58 modules 14 active ...ns\iconfont\MaterialIcons-Regul 15% building modules 45/58 modules 13 active ...ns\iconfont\MaterialIcons-Regul 15% building modules 46/58 modules 12 active ...ns\iconfont\MaterialIcons-Regul 15% building modules 47/58 modules 11 active ...ns\iconfont\MaterialIcons-Regul 15% building modules 48/58 modules 10 active ...ns\iconfont\MaterialIcons-Regul 15% building modules 49/58 modules 9 active ...ns\iconfont\MaterialIcons-Regula 16% building modules 50/58 modules 8 active ...ns\iconfont\MaterialIcons-Regula 16% building modules 51/58 modules 7 active ...ns\iconfont\MaterialIcons-Regula 16% building modules 52/58 modules 6 active ...ns\iconfont\MaterialIcons-Regula 16% building modules 53/58 modules 5 active ...ns\iconfont\MaterialIcons-Regula 16% building modules 54/58 modules 4 active ...ns\iconfont\MaterialIcons-Regula 16% building modules 55/58 modules 3 active ...ns\iconfont\MaterialIcons-Regula 16% building modules 56/58 modules 2 active ...ns\iconfont\MaterialIcons-Regula 16% building modules 57/58 modules 1 active ...ns\iconfont\MaterialIcons-Regula 16% building modules 58/59 modules 1 active ...on\_dev\node_modules\isarray\ind 16% building modules 58/60 modules 2 active ...on\_dev\node_modules\ieee754\ind 16% building modules 58/61 modules 3 active ...\_dev\node_modules\base64-js\ind 17% building modules 59/61 modules 2 active ...\_dev\node_modules\base64-js\ind 17% building modules 60/61 modules 1 active ...\_dev\node_modules\base64-js\ind 17% building modules 61/62 modules 1 active ...tdocs\themes\Dron\_dev\css\themeHash: 605c557f979a851fbd91
Version: webpack 2.7.0
Time: 17834ms
                                        Asset       Size  Chunks             Chunk Names
  ../css/5c7f002bb001307cc0e7c2d9bf2b49c5.svg    1.82 kB          [emitted]
  ../css/91dacb450ecece35acc0acef32dfb0aa.svg  468 bytes          [emitted]
  ../css/0139818ab4ac16ff52d2d029013cb338.svg  465 bytes          [emitted]
  ../css/7b652a3485cdc0d5a5c6fcddad221aa8.svg  540 bytes          [emitted]
  ../css/126b45cc418ea922d1a78af189061e2e.svg  419 bytes          [emitted]
  ../css/ddd449d2530e09f5988e6c77c5688f2c.svg  537 bytes          [emitted]
  ../css/9c48dcbcd36d6c5b84c8be46ce841c81.svg  660 bytes          [emitted]
  ../css/460c0b648256e282ed641282fe20f604.svg  565 bytes          [emitted]
  ../css/fd22b6e5f1545ed1074b8723ddb00939.svg  437 bytes          [emitted]
  ../css/c87b2ea048dbf0856519524fada18666.svg  562 bytes          [emitted]
  ../css/8fcae0bddbfb915409359a59c81dd9e3.svg  671 bytes          [emitted]
  ../css/90464e8f4507d7cc4dc4032c752c11fa.svg  336 bytes          [emitted]
  ../css/ffa43ee2d7f6db73af85bfa35912c205.svg    1.72 kB          [emitted]
  ../css/e6e15fd8fcc626ab2b5e20cc9d708919.svg    1.82 kB          [emitted]
  ../css/36c755ebbafc8e434277d60c9ba6dc52.svg  996 bytes          [emitted]
  ../css/b0f5367f9035ead4ddc335407fa4ee83.svg    1.83 kB          [emitted]
  ../css/e79bfd88537def476913f3ed52f4f4b3.eot     143 kB          [emitted]
  ../css/a37b0c01c0baf1888ca812cc0508f6e2.ttf     128 kB          [emitted]
 ../css/012cf6a10129e2275d79d6adac7f3b02.woff    57.6 kB          [emitted]
../css/570eb83859dc23dd0eec423a49e147fe.woff2    44.3 kB          [emitted]
                                     theme.js     165 kB       0  [emitted]  main
                             ..\css\theme.css     168 kB       0  [emitted]  main
chunk    {0} theme.js, ..\css\theme.css (main) 364 kB [entry] [rendered]
    [1] ./~/bootstrap/js/src/util.js 5.43 kB {0} [built]
    [4] ./~/bootstrap/js/src/tooltip.js 23.7 kB {0} [built]
    [6] ./js/theme.js 3.21 kB {0} [built]
    [7] ./css/theme.scss 41 bytes {0} [built]
    [8] ./js/cart.js 9.33 kB {0} [built]
    [9] ./js/checkout.js 3.62 kB {0} [built]
   [13] ./js/customer.js 1.78 kB {0} [built]
   [14] ./js/lib/jquery.hoverIntent.min.js 2.73 kB {0} [built]
   [15] ./js/lib/slick.min.js 51.7 kB {0} [built]
   [16] ./js/listing.js 4.95 kB {0} [built]
   [17] ./js/product.js 4.28 kB {0} [built]
   [18] ./js/responsive.js 3.38 kB {0} [built]
   [19] ./~/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.js 22.6 kB {0} [built]
   [30] ./~/lazysizes/lazysizes.js 18 kB {0} [built]
   [32] multi ./js/theme.js ./css/theme.scss 40 bytes {0} [built]
     + 18 hidden modules

WARNING in theme.js from UglifyJs
Dropping side-effect-free statement [./~/popper.js/dist/esm/popper.js:878,6]
Dropping side-effect-free statement [./~/popper.js/dist/esm/popper.js:1277,4]
Dropping side-effect-free statement [./~/popper.js/dist/esm/popper.js:1276,6]
Dropping side-effect-free statement [./~/popper.js/dist/esm/popper.js:1380,4]
Dropping side-effect-free statement [./~/popper.js/dist/esm/popper.js:1414,6]
Dropping side-effect-free statement [./~/popper.js/dist/esm/popper.js:1754,4]
Dropping side-effect-free statement [./js/components/form.js:62,10]
Side effects in initialization of unused variable validation [./js/components/form.js:69,14]
Condition always true [./js/lib/jquery.hoverIntent.min.js:9,32]
Condition always true [./js/lib/slick.min.js:17,26]
Condition always true [./~/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.js:10,6]
Dropping unreachable code [./~/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.js:12,9]
Dropping side-effect-free statement [./~/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.js:126,10]
Dropping side-effect-free statement [./~/events/events.js:46,31]
Child extract-text-webpack-plugin:
    chunk    {0} extract-text-webpack-plugin-output-filename 228 kB [entry] [rendered]
        [0] ./~/css-loader/lib/css-base.js 2.21 kB {0} [built]
        [1] ./img/facebook-blue.svg 89 bytes {0} [built]
        [2] ./img/facebook-gray.svg 89 bytes {0} [built]
        [3] ./img/facebook.svg 89 bytes {0} [built]
        [4] ./img/gplus-blue.svg 89 bytes {0} [built]
        [5] ./img/gplus-gray.svg 89 bytes {0} [built]
        [6] ./img/gplus.svg 89 bytes {0} [built]
        [7] ./img/instagram.svg 89 bytes {0} [built]
        [8] ./img/pinterest-blue.svg 89 bytes {0} [built]
        [9] ./img/pinterest-gray.svg 89 bytes {0} [built]
       [10] ./img/pinterest.svg 89 bytes {0} [built]
       [11] ./img/rss.svg 89 bytes {0} [built]
       [12] ./img/twitter-blue.svg 89 bytes {0} [built]
       [14] ./img/twitter.svg 89 bytes {0} [built]
       [26] ./~/css-loader?{"minimize":true}!./~/postcss-loader!./~/sass-loader/lib/loader.js!./css/theme.scss 169 kB {0} [built]
         + 12 hidden modules

Czy ktoś potrafi mi pomóc? Już po prostu nie mam sił na to i nie wiem jak to rozwiązać :(

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...