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
The first time a ts file is attempted to load, I get the following error:
Error: EPERM: operation not permitted, symlink 'C:\Users\coder\source\repos\ProjectFolder\node_modules' -> 'C:\Users\coder\source\repos\ProjectFolder\.config-ts-cache\path\to\myproject.confing
I am loading the file like this:
constconfigPath=path.join(process.cwd(),configFileScaffoldingPath);constcachePath=path.join(process.cwd(),'.config-ts-cache','path/to/myproject.confing` ); try{ const config = loadTsConfig<IConfigFile<TInput>>(configPath, cachePath, true); if(config) { console.log('SUCCESS'); } else { console.log('EMPTY');
}
} catch(e) {
console.log(e); //this is the error that is happening.
}
Even though the exception is thrown, the cache is created, so I think compilation is working.
Subsequent runs loads of that file are fine.
If I delete the cache folder, I get the error again (first time). I can also recreate the error by modifying my config file, and running again, so compilation is forced.
Not specifying a cacheFolder makes no difference.
It may also be worth noting that this happens when I compile my app, then publish it (as an npm bin app), and run it from another project.
I am on windows 11.
use version 0.2.8-rc1, but have repeated on 0.2.6 and 0.2.4.
The text was updated successfully, but these errors were encountered:
The first time a ts file is attempted to load, I get the following error:
Error: EPERM: operation not permitted, symlink 'C:\Users\coder\source\repos\ProjectFolder\node_modules' -> 'C:\Users\coder\source\repos\ProjectFolder\.config-ts-cache\path\to\myproject.confing
I am loading the file like this:
Even though the exception is thrown, the cache is created, so I think compilation is working.
Subsequent runs loads of that file are fine.
If I delete the cache folder, I get the error again (first time). I can also recreate the error by modifying my config file, and running again, so compilation is forced.
Not specifying a cacheFolder makes no difference.
It may also be worth noting that this happens when I compile my app, then publish it (as an npm bin app), and run it from another project.
I am on windows 11.
use version 0.2.8-rc1, but have repeated on 0.2.6 and 0.2.4.
The text was updated successfully, but these errors were encountered: