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
{{ message }}
This repository has been archived by the owner on Jan 6, 2021. It is now read-only.
Problem: npm run start-app runs correctly on Windows. JSON is parsed as expected and env env var is set as destinations="[{"name":"odata","url":"abc"}]"
What happened:
On Mac the same JSON is parsed as "["url":"abc"]", note the missing '{}' and first property. I have also tried wrapping the json with '' which results in invalid json (note the still present ''): "[{\"name\":\"odata\",\"url\":\"abc\"}]"
Expected:
The destinations env var is correctly set as JSON string on both Win and Mac.
The text was updated successfully, but these errors were encountered:
Sorry for not responding to this earlier. It's been long enough that I'm going to close this issue. If you're still experiencing problems, please open a new issue with a reproduction repository. Thanks!
cross-env
version: 5.2.0node
version: v10.16.0npm
(oryarn
) version: 6.9.0Relevant code or config
package.json
Problem:
npm run start-app
runs correctly on Windows. JSON is parsed as expected and env env var is set as destinations="[{"name":"odata","url":"abc"}]"What happened:
On Mac the same JSON is parsed as
"["url":"abc"]"
, note the missing '{}' and first property. I have also tried wrapping the json with '' which results in invalid json (note the still present ''):"[{\"name\":\"odata\",\"url\":\"abc\"}]"
Expected:
The destinations env var is correctly set as JSON string on both Win and Mac.
The text was updated successfully, but these errors were encountered: