Module not installing into node_modules folder
See original GitHub issuePrerequisites
- Using yarn
- Using an up-to-date master branch
- Using latest version of devtools. See wiki for howto update
- Link to stacktrace in a Gist (for bugs)
- For issue in production release, devtools output of
DEBUG_PROD=true yarn build && yarn start
Expected Behavior
* = name of the typeface on yarn add typeface-* "typeface-": “version” => package.json (exist) ./flow-typed/npm/typeface-_vversion.js (exist) ./node_modules/typeface-*
Current Behavior
* = name of the typeface on yarn add typeface-* "typeface-": “version” => package.json (exist) ./flow-typed/npm/typeface-_vversion.js (not exist) ./node_modules/typeface-*
Possible Solution
use npm instead yarn or remove node_modules folder and ‘yarn install’
Steps to Reproduce (for bugs)
* = name of the typeface yarn add typeface-*
Your Environment
- Node version : v10.13.0
- NPM version : 6.4.1
- Yarn version : 1.12.1
- Operating System and version : win 10
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
npm install doesn't create node_modules directory
1) In Command prompt -> Goto your project directory. · 2) Command : npm init · 3) It asks you to set up...
Read more >npm install not installing dependencies listed in package.json ...
If I do npm install jquery --save , the package.json isn't modified yet the dependency is present in node_modules folder.
Read more >How to clean node modules folder of packages that are not in ...
Your answer You could remove your node_modules/ folder and then reinstall the dependencies from package. json. This would erase all installed ...
Read more >npm install | how it works - StackChief
When run without arguments, npm install downloads dependencies defined in a package.json file and generates a node_modules folder with the installed modules ......
Read more >How to clean up node modules? | by Mario Kandut - Medium
Delete the folder and reinstall ; Use npm prune (starting with npm version 6). Manually remove and reinstall. You could remove your node_modules/...
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 Free
Top 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
Oh I think what you’re asking is how to make
<folder>
fallback to<folder>/index.css
if<folder>/index.js
does not exist.In that case, you change this line to:
In this case, the resolution will check
.js
first and.css
last. If you want to change the resolution order, re-arrange that array accordingly.yes first it’s a report for a “quantum” bug 😃 last for extensions is extra 😃