Answer the question
In order to leave comments, you need to log in
How to import a module from node_modules?
I want to build a custom index.js
Now the directory contains the following files and folders:
/node_modules
index.js
package-lock.json
How can I index.js
import a module from in a file /node_modules
so that it can be used?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question