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
what I am doing is that check __templates folder all files and do some replacement and later move this folder on project root and this code is written in helpers/replace.js file as below
Error occurred: Error: No files match the pattern: ./__templates/**
at file:///home/recursive/dev/angular-work/node_modules/replace-in-file/src/helpers/paths.js:17:13
at async Promise.all (index 0)
at async pathsAsync (file:///home/recursive/dev/angular-work/node_modules/replace-in-file/src/helpers/paths.js:77:17)
at async replaceInFile (file:///home/recursive/dev/angular-work/node_modules/replace-in-file/src/replace-in-file.js:25:17)
at async replaceDetailsInTemplateFiles (file:///home/recursive/dev/angular-work/node_modules/@xkeshav/package/src/helpers/replace.js:41:21)
I know there is issue of path but when try to change options-->files value with relative but it throw error
so how does we solve this; how do we tell a file which is in src/helpers/ folder to check files which is above src folder ?
The text was updated successfully, but these errors were encountered:
First, Thanks for amazing and useful package.
using it in building npm package and when test local it works fine but when do
npm pack
and when run it it gives errorhere is my folder structure
what I am doing is that check
__templates
folder all files and do some replacement and later move this folder on project root and this code is written in helpers/replace.js file as belowthis works fine in local but when I built as package uisng
npm pack
and now testing on one of project but it gives errorbelow is folder struture inside node_modules
and now it throw error asbelow
I know there is issue of path but when try to change
options-->files
value with relative but it throw errorso how does we solve this; how do we tell a file which is in src/helpers/ folder to check files which is above src folder ?
The text was updated successfully, but these errors were encountered: