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
After adding the postinstall script in package.json ("postinstall": "react-flagpack --framework gatsby") and running npm install, the flags should be copied into a static/flags folder.
Current Behavior
Instead, the following error shows up, denoting a lack of "/static" directory. Note that "cd static" works as obviously the directory exists, but my guess is the / in front is causing the issue.
info React flagpack is copying flags to /static/flags
error React flagpack failed to copy flags
[Error: ENOENT: no such file or directory, mkdir '/static'] {
errno: -2,
code: 'ENOENT',
syscall: 'mkdir',
path: '/static'
}
I'm on macOS, using Gatsby
The text was updated successfully, but these errors were encountered:
Please check all that apply
Expected Behavior
After adding the postinstall script in package.json ("postinstall": "react-flagpack --framework gatsby") and running npm install, the flags should be copied into a static/flags folder.
Current Behavior
Instead, the following error shows up, denoting a lack of "/static" directory. Note that "cd static" works as obviously the directory exists, but my guess is the / in front is causing the issue.
info React flagpack is copying flags to /static/flags
error React flagpack failed to copy flags
[Error: ENOENT: no such file or directory, mkdir '/static'] {
errno: -2,
code: 'ENOENT',
syscall: 'mkdir',
path: '/static'
}
I'm on macOS, using Gatsby
The text was updated successfully, but these errors were encountered: