grunt-contrib-requirejs icon indicating copy to clipboard operation
grunt-contrib-requirejs copied to clipboard

On Windows bower and node_modules is being created as files instead of folders

Open JohnGalt1717 opened this issue 9 years ago • 5 comments

Is there any way to work around this as the process fails when used on windows as a result.

Thanks!

JohnGalt1717 avatar Sep 29 '16 15:09 JohnGalt1717

is this a grunt-contrib-requirejs problem or this some npm problem?

vladikoff avatar Sep 29 '16 15:09 vladikoff

Happens only in grunt-contrib-requirejs when it rebuilds to folder structure.

JohnGalt1717 avatar Sep 29 '16 15:09 JohnGalt1717

weird!

vladikoff avatar Sep 29 '16 15:09 vladikoff

That's what I said.

Inside the files that it creates are:

../../bower_components

and

../../node_modules

respectively.

Like it's trying to create symbolic links or something?

JohnGalt1717 avatar Sep 29 '16 15:09 JohnGalt1717

so the problem I am seeing is similar to a problem i solved with "follow: true" in things like grunt-contrib-copy and grunt-contrib-sync. if there is no way to configure "follow symbolic links" in the grunt-contrib-requirejs task config options, i will have to just hard code "node_modules/@bower_components/almond/almond" instead of using the symlink. i'd like to know if there is a solution for following symlinks or if i just have to change the module "name" to point to the right file.

omgoshjosh avatar Jan 09 '18 20:01 omgoshjosh