Not working for me on Azure
lordbah opened this issue · comments
cross-env
version:
5.2.0node
version:
8.5.0npm
(oryarn
) version:
6.1.0
Relevant code or config
What you did:
Deploy a project to Azure which uses cross-env in package.json
What happened:
npm install runs, then
npm run clean && cross-env NODE_ENV="production" webpack
marvin@0.2.0 clean D:\home\site\repository
rm -rf ./build
'cross-env' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! marvin@0.2.0 client:build:npm run clean && cross-env NODE_ENV="production" webpack
npm ERR! Exit status 1
Reproduction repository:
Problem description:
cross-env was not recognized as a command.
I noticed that on my local system I have node_modules.bin which contains cross-env.cmd, while on Azure I don't see a .bin folder under node_modules.
Suggested solution:
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.