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
Hi,
I would really appreciate your help or guidance on this issue.
This plugin is being used internally by gridsome in the build process, now it runs fine on my local setup but I then did a setup of GitHub actions to deploy the website on push then this plugin started giving out this error.
Action logs:
yarn run v1.22.10
$ gridsome build
Gridsome v0.7.23
Initializing plugins...
Load sources - 0.07s
Create GraphQL schema - 0.2s
Create pages and templates - 0.1s
Generate temporary code - 0.01s
Bootstrap finish - 2.13s
Compiling assets...
Error: [CaseSensitivePathsPlugin] `D:\a\opendevs-webpage\opendevs-webpage\src\pages\portfolio\[username].vue` does not match the corresponding path on disk `Portfolio`.
at D:\a\opendevs-webpage\opendevs-webpage\node_modules\case-sensitive-paths-webpack-plugin\index.js:153:16
at D:\a\opendevs-webpage\opendevs-webpage\node_modules\case-sensitive-paths-webpack-plugin\index.js:113:7
at D:\a\opendevs-webpage\opendevs-webpage\node_modules\case-sensitive-paths-webpack-plugin\index.js:101:7
at CaseSensitivePathsPlugin.getFilenamesInDir (D:\a\opendevs-webpage\opendevs-webpage\node_modules\case-sensitive-paths-webpack-plugin\index.js:51:5)
at CaseSensitivePathsPlugin.fileExistsWithCase (D:\a\opendevs-webpage\opendevs-webpage\node_modules\case-sensitive-paths-webpack-plugin\index.js:89:8)
at D:\a\opendevs-webpage\opendevs-webpage\node_modules\case-sensitive-paths-webpack-plugin\index.js:106:10
at Array.<anonymous> (D:\a\opendevs-webpage\opendevs-webpage\node_modules\case-sensitive-paths-webpack-plugin\index.js:67:5)
at Storage.finished (D:\a\opendevs-webpage\opendevs-webpage\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
at D:\a\opendevs-webpage\opendevs-webpage\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9
at D:\a\opendevs-webpage\opendevs-webpage\node_modules\enhanced-resolve\lib\NodeJsInputFileSystem.js:12:4
at go$readdir$cb (D:\a\opendevs-webpage\opendevs-webpage\node_modules\graceful-fs\graceful-fs.js:214:14)
at FSReqCallback.oncomplete (fs.js:171:23)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.
As described in the error, this plugin detects case mismatches, in this case you are somewhere requesting src\pages\portfolio\[username].vue but the actual path of the folder on disk is Portfolio. This may happen if you've changed the case but git didn't properly pick it up, so the change isn't pushed to deployments. You'll have to resolve that, here's a link that may help: https://stackoverflow.com/questions/14578680/changing-case-of-folder-via-git-bash-on-windows
Hi @Urthen actually I'm just copying everything from my local directory to docker container using COPY . command so I believe the directory name shouldn't mismatch the one in the local. I think it's some issue with the webpack plug-in only. I'm looking into it, I'll update as soon as I get to know something.
Thanks for your reply
Hi,
I would really appreciate your help or guidance on this issue.
This plugin is being used internally by gridsome in the build process, now it runs fine on my local setup but I then did a setup of GitHub actions to deploy the website on push then this plugin started giving out this error.
Action logs:
Action file: https://github.com/open-devs/opendevs-webpage/blob/master/.github/workflows/gh-pages.yml
Please help, really can't wrap my head around this, I even used path.resolve but that didn't fix it.
The text was updated successfully, but these errors were encountered: