You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Yarn v0.19.1 to install some dependencies. I deleted my node_modules folder completely and did a fresh yarn install.
I am trying to install the dependency leaflet using yarn add leaflet (also tried just yarn when leaflet is present in my package.json. The module installs successfully, except during the Cleaning Modules... phase, Yarn removes the images folder which would typically live within leaflet/dist/images. When I do a npm install leaflet this folder does not get removed.
During a yarn install, the images folder is present until the Cleaning modules phase happens.
I checked the package.json in the leaflet library and nothing seemed out of the ordinary there. It runs a jake file, but even within that file nothing is being deleted related to images.
I don't believe this is a leaflet issue, but if it is I can direct this issue their way.
Here is what the folder looks like, within my node_modules folder, for both package manager installs:
Yarn
NPM
Reproduction steps
Not working
yarn add leaflet
View the node_modules/leaflet/dist folder
Notice no images folder
Working
npm install leaflet
View the node_modules/leaflet/dist folder
Notice a folder named images with image files (.png) inside
Expected behavior
The images folder should be present within the leaflet/dist folder
Versions
Node v.7.4.0
Yarn v0.19.1
OS X 10.11.6
The text was updated successfully, but these errors were encountered:
There was a .yarnclean file in my project. This added some files/folders to ignore when installing dependencies. Running yarn clean added this file and I wasn't aware until I saw this issue. Viewing the docs also gave the same info.
I resolved this by removing images from the set of ignored directories.
hitting this a couple of times already... removing .yarnclean works but it does seem like yarn clean is removing files a bit too aggressively - the resource files (.png, .svg, etc) are actually referenced by other files and shouldn't be removed
Bug
I am using Yarn v0.19.1 to install some dependencies. I deleted my
node_modules
folder completely and did a fresh yarn install.I am trying to install the dependency leaflet using
yarn add leaflet
(also tried justyarn
when leaflet is present in mypackage.json
. The module installs successfully, except during theCleaning Modules...
phase, Yarn removes the images folder which would typically live withinleaflet/dist/images
. When I do a npm install leaflet this folder does not get removed.During a
yarn
install, the images folder is present until theCleaning modules
phase happens.I checked the
package.json
in the leaflet library and nothing seemed out of the ordinary there. It runs a jake file, but even within that file nothing is being deleted related to images.I don't believe this is a leaflet issue, but if it is I can direct this issue their way.
Here is what the folder looks like, within my node_modules folder, for both package manager installs:
Yarn
NPM
Reproduction steps
Not working
yarn add leaflet
node_modules/leaflet/dist
folderimages
folderWorking
npm install leaflet
node_modules/leaflet/dist
folderimages
with image files (.png) insideExpected behavior
The images folder should be present within the
leaflet/dist
folderVersions
Node v.7.4.0
Yarn v0.19.1
OS X 10.11.6
The text was updated successfully, but these errors were encountered: