-
Notifications
You must be signed in to change notification settings - Fork 20
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
error: Could not complete server initialisation [v2.0.0-rc.4] #30
Comments
Can you check the Kudu deployment log (this will be part of the CLI in the final release)? I was actually about to upgrade some of our apps to 1.5 as well, so if that's the cause, I'll try to get a fix out in the next few hours. |
I think this is what you want:
|
I've just updated a few apps to 1.5 and they've all deployed without any issues. Can you paste your NPM dependencies (specifically the version of meteor-node-stubs)? |
meteor-node-stubs is at 0.2.11, now I'm testing with previous versions... |
I've just tested with v0.2.11 and there doesn't seem to be any issues. Can you paste the rest of the Kudu deployment log? |
Let me update back to 1.5 and 0.2.11 then and I'll paste the whole log. |
👍 |
I deleted
Gonna try with |
Here are the logs:
https://www.dropbox.com/s/ees7vb0oivp2lvn/2017-06-12T22_42_30_642Z-debug.log?dl=0 |
Can you paste your package json contents? It looks like you may have added meteor-azure to your dependencies (should be a dev dependency). Also FYI, I'm working on a fix for Yarn at the moment. |
I was getting this error (npm/npm#17146) so I ended up putting everything under devDependencies.
|
The devDependencies shouldn't be included at all in your production build, you should have: {
// ...
"dependencies": {
"meteor-node-stubs": "^0.2.11",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"viewmodel-react": "^2.0.1",
"viewmodel-react-explorer": "^1.0.7",
"viewmodel-react-plugin": "^3.0.0"
},
"devDependencies": {
"meteor-azure": "^2.0.0-rc.4"
}
} Make you sure you run |
Will do. |
Going to push rc5 in a few hours, which will include better debugging and yarn support. |
And it works! Thank you so much for your time. |
I'm getting this error again with
I don't get the error if I downgrade to |
Is this installed locally or globally? What is the output of |
Locally (run via npm script), installed via
|
Can you try running |
|
What do your dependencies/devDependencies look like? Also, can you check your node_modules directory for "core-js" (should be there after installing meteor-azure) |
|
I've been trying to reproduce this locally, but the same dependency tree isn't giving me any errors (with yarn or regular npm install). Can you clear "node_modules" and reinstall dependencies, then try running |
I get the same error after deleting node_modules and reinstalling. |
Are you using yarn lock/shrinkwrap? Can you try rebuilding node_modules without them and see if you get the same error (I think there might be some bad dependencies in there from the release candidates)? |
I'm using |
Can you create a simple repro? |
I can reproduce on Windows with a blank Meteor 1.5 project and the following package.json:
It works if I remove |
Forget Meteor, go to a blank folder and create the following package.json:
|
I've been able to reproduce this, working on a fix at the moment. In the meantime, you can use the package globally or in your app with Yarn. |
Fixes nested path issues in #30 until v2.0.0 of babel-preset-env
Just pushed v2.0.2 which should fix this (was actually a bug in babel), please let me know if you have any further issues. |
Error is gone now. Is it normal for the last step |
It deployed the site correctly but
(it didn't do that before) |
Can you paste the output in debug mode? Also, would prefer if you created a new issue for this. |
Using
2.0.0-rc.4
(rc.3
also fails)If it's any help, I updated to Meteor 1.5 and meteor-azure 2.0.0-rc.4, tried to deploy and got this error. Rolled back to 1.4 and rc.3 and I'm still getting the error.
The text was updated successfully, but these errors were encountered: