npm bugs when building node_modules
See original GitHub issueSuperset version
0.18.2
Question
when I built my node_modules, I got the following tips. I don’t know how can resolve it:
Actual results
ERROR in ./~/_css-loader@0.28.3@css-loader!./~/_less-loader@4.0.3@less-loader/dist!./stylesheets/react-select/select.less
Module build failed:
&:hover {
box-shadow: @select-input-hover-box-shadow;
^
Variable @select-input-hover-box-shadow is undefined
in /Users/Alex/Desktop/superset/superset/assets/node_modules/_react-select@1.0.0-rc.5@react-select/less/control.less (line 64, column 14)
@ ./stylesheets/react-select/select.less 4:14-162
@ ./javascripts/css-theme.js
npm ERR! Darwin 15.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v6.10.3
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! superset@0.17.6 build: `NODE_ENV=production webpack --colors --progress`
npm ERR! # **Exit status 2**
npm ERR!
npm ERR! Failed at the superset@0.17.6 build script 'NODE_ENV=production webpack --colors --progress'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the superset package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! NODE_ENV=production webpack --colors --progress
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs superset
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls superset
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/Alex/Desktop/superset/superset/assets/npm-debug.log
Steps to reproduce
cd superset/assets cnpm install -d //生成依赖包目录node_modules,下载依赖 npm run build //执行webpack打包
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
npm bugs when building node_modules · Issue #2866 - GitHub
Superset version 0.18.2 Question when I built my node_modules, I got the following tips. I don't know how can resolve it: Actual results ......
Read more >npm install not creating node_modules folder - Stack Overflow
This bug may be caused by many different things. Maybe your global packages are corrupted in some way. 1 Install Node Version Manager...
Read more >Common errors | npm Docs
Broken npm installation If your npm is broken: On Mac or Linux, reinstall npm. Windows: If you're on Windows and you have a...
Read more >patch-package | Fix broken node modules instantly - YouTube
patch-package is a tool that has saved me a couple of times when I found a bug in an npm package and needed...
Read more >How To Use Node.js Modules with npm and package.json
The Node.js Package Manager (npm) is the default and most popular package manager ... bugs , and homepage fields for your package.json file....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This was caused by no statement on the variable: select-input-hover-box-shadow.
Please try the following:
Good luck!
patrickcnkm , thanks ji, its works for me.