Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work on Windows #10

Open
HappyCMD opened this issue Oct 19, 2019 · 3 comments
Open

Doesn't work on Windows #10

HappyCMD opened this issue Oct 19, 2019 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@HappyCMD
Copy link

When trying to deploy on windows I get

exec: 'rm' is not recognized as an internal or external command, operable program or batch file.

I thought going into the module manually and changing in bundle.js the command ' _shelljs.default.exec(rm -rf ${workingDir});' to windows equivalent '
_shelljs.default.exec(rd -r ${workingDir});' would do something but in the end I just got the error:

The system cannot find the file specified.
error: exec: The system cannot find the file specified.

@HappyCMD
Copy link
Author

The full error is:

debug: check gcloud is installed
debug: check Meteor is installed
debug: check current Meteor release >= 1.4
info: Validating settings file (deploy/settings.json)
debug: check valid json exists
debug: check data follows schema
info: Validating app.yml file (deploy/app.yml)
debug: check app yaml exists
debug: check app yaml follows schema
info: Reading Dockerfile (deploy/Dockerfile)
debug: check dockerfile exists
info: Compiling application bundle
debug: generate meteor build at C:\Users...\AppData\Local\Temp\tmp-6380DAFD1Bhzhq8X
The system cannot find the file specified.
error: exec: The system cannot find the file specified.

@raphaelarias raphaelarias added the help wanted Extra attention is needed label Nov 6, 2019
@raphaelarias
Copy link

Thanks for letting me know. Indeed, I believe I used some commands that are not available on Windows. I'll take a look at it. But I don't even have Windows to test it, so I can't promise anything in the short term. PR welcome. :)

@morphogencc
Copy link

morphogencc commented May 15, 2020

Just to confirm for anyone curious -- this issue still exists. Running the init script I get the error:

error:   cp: no such file or directory: C:/Users/morphogencc/AppData/Roaming/npm/node_modules/meteor-google-cloud/dist/libapp.yml

after creating the deploy folder and -p folder.

For the short term I'll probably just host my app on Galaxy, but may circle back and take a look at the underlying issue soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants