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
Hey guys, i'm experiencing some minor problems building on windows.
1)"npm run build" produces: "'rm' is not recognized as an internal or external command"
2)"npm run test" produces
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
SyntaxError: missing ) after argument list
(i changed it to "babel-node --inspect ./tests/index.js")
3)"npm run lint" generates line-breaks errors (see screenshot)
Adding "linebreak-style": ["error", "windows"] to "rules" object in both .eslintrc files fixing it but build will fail on travis with previously mentioned error (line-breaks).
4)Running "npm run build" inside showcase folder produces: 'NODE_ENV' is not recognized as an internal or external command,
(i changed it to "set NODE_ENV=production&&.\node_modules\.bin\webpack")
5)I'm unable to build showcase on windows, for some reason paths resolution doesnt work,
i've tried to create alias inside webpack config which will point to outer index.js
I have been able to fix all problems except last one, maybe somebody knows some quick fix, otherwise i will have to create alias for each file in src. Thank you!
The text was updated successfully, but these errors were encountered:
Hey guys, i'm experiencing some minor problems building on windows.
1)"npm run build" produces:
"'rm' is not recognized as an internal or external command"
2)"npm run test" produces
3)"npm run lint" generates line-breaks errors (see screenshot)
Adding "linebreak-style": ["error", "windows"] to "rules" object in both .eslintrc files fixing it but build will fail on travis with previously mentioned error (line-breaks).
4)Running "npm run build" inside showcase folder produces:
'NODE_ENV' is not recognized as an internal or external command,
(i changed it to "set NODE_ENV=production&&.\node_modules\.bin\webpack")
5)I'm unable to build showcase on windows, for some reason paths resolution doesnt work,
i've tried to create alias inside webpack config which will point to outer index.js
but now it generates different list of errors,
I have been able to fix all problems except last one, maybe somebody knows some quick fix, otherwise i will have to create alias for each file in src. Thank you!
The text was updated successfully, but these errors were encountered: