how do I debug the js file in node_modules?
how do I debug the js file in node_modules?
it is not recommended to debug the js file in / node_modules
, and it is a bit troublesome to debug.
if you need to debug the dependencies
package, you need to find the master file of the introduced dependency, such as mint-ui
I introduced. From the / node_modules/mint-ui/package.json
file, I see that the main file is lib/mint-ui.common.js
, which is a built js. Here I can debugger
and take effect;
so the main thing is to correctly find the introduced file ;
< H2 > configuration is as follows: < H2 > webpack.base.config.js const path = require( path ); const os = require( os ); const webpack = require( webpack ); const ExtractTextPlugin = require( extract-text-webpack-plugin ); const HappyPack = ...
recently discovered a strange phenomenon while learning to use NPM,. I can t use node modules clients babel, live-server in terminal after they are installed globally. Terminal returns a prompt for-bash: babel: command not found. I can t fix this p...
has just uploaded to npm a successful project, but download the directory again as follows: node_modules: this is the project. How to solve this? ...
recently, when I was learning yarn to copy the previous npm package.json package, I typed yarn install and then reported the following error. How to solve this problem? info There appears to be trouble with your network connection. Retrying ...
how do I uninstall all npm global packages (including npm itself) and node.js in Windows10 and Unbuntu 16.04.2? A search on the Internet has found a lot of commands. It seems that uninstalling npm and nodejs is not an easy task. Ask for advice. ...
the target file cannot be generated when webpack url-loader is used related codes this is the webpack.config.js code var webpack = require ( "webpack "); var ExtractTextPlugin = require ( extract-text-webpack-plugin ); var HtmlWebpackPlugin = ...
was right before. After pulling the file from git again, npm install and son npm run dev reported this error. I don t know what s going on. ...
I followed the configuration document on the official website and chose the CLI method, which was full of problems at that time. I ran the following command under node 10.12.0, npm 6.4.1, windows7 environment: I @ babel core is obviously...
A package update problem was found when using lerna I created a package in Project A, then downloaded it in Project B, and then updated it to npm so how do I update this package in Project A it seems that there is no such command in lerna ...
for example, there is a package An in dependencies, but it never works. Will A be packaged into vendor when build? ...
like this, which version of the package will be installed when npm install ? ...