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 cannot run the upload command in the movie test scenario from a windows machine.
I get the following error:
I figured out that its because the path in the manifest file has forward slashes, and the path fetched from the file system has backwards slash. If i change it contentful complains that im not following the correct regex.
I cannot run the upload command in the movie test scenario from a windows machine.
I get the following error:
I figured out that its because the path in the manifest file has forward slashes, and the path fetched from the file system has backwards slash. If i change it contentful complains that im not following the correct regex.
create-contentful-app/packages/contentful--app-scripts/src/upload/validate-bundle.ts
Line 20 in f8c6659
reads: 'functions\index.js'
on a windows machine and the check here looks for exact 'functions/index.js'
create-contentful-app/packages/contentful--app-scripts/src/upload/validate-bundle.ts
Line 40 in f8c6659
workaround for now is to run the upload command through a windows WSL ubuntu instalation.
for others with this issue you can enable wsl and run: wsl --install -d Ubuntu
then "cd /mnt/" eg "cd /mnt/d/testfiles"
The text was updated successfully, but these errors were encountered: