-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Windows setup is broken #138
Comments
@mpiroc wrote:
|
I think the fact that we vend a pre-built Let's recap why we are vending the prebuilt closure:
But... There's a silver lining. @RomainMuller recently added to our distribution an npm wrapper called cdk-beta-npm (I think we should rename it to $ mkdir -p ~/.cdk
$ unzip aws-cdk-0.x.y-beta+bla.zip -d ~/.cdk
$ ~/.cdk/bin/cdk-beta-npm install -g aws-cdk # say this is is in the root of the bundle now
$ cdk --version # the toolkit is now installed on your system! This works! (and even compiles a native module...). Let's see if our getting started experience holds: cdk docsI am getting an error:
However, when I followed the instructions ( cdk init --language typescriptJust Works:tm:, and uses cdk init --languageJava is still WIP (#100) but I think will just need something like an Self-contained Bundle?We still need to somehow distribute a self-contained bundle. This could be a completely different bundle or we can include a cache of all of our dependencies into the SummaryI think I really like this approach. There are a few benefits:
Issues to resolve:
|
For the self-contained bundle, in the case of |
Does that mean that when we “publish” during our bundling process, all dependencies will be also kept under repo/npm? |
I believe so. This would require a slightly different handling of |
Thanks for the lib. looks like great initiative, as we did search for good dev way to deploy CF stacks. following the getting started guide i get the following error (for init App object) on windows. software.amazon.jsii.JsiiException: ENOENT: no such file or directory, mkdtemp '/tmp/jsii-kernel-XXXXXX'
|
@sasaraf thanks for reporting. We'll let you know when this is fixed and merged. |
@sasaraf I wonder, if you create a directory |
Just found another |
@eladb thanks for the solving the tmpdir issue. the C:\tmp helps to workaround the above issue. sorry for the delay in response. I now get a missing module exception related the kernel? i didn't find it in the list of requirement in the getting started manual. I guess , once both fixed there will probably be issue with the the clock synchronization between my windows machine to aws as part of the 'signature' of cli commans?, or should i apply chronyc/ntp to solve it. For now i moved to centos 7 instance as i'm in early steps to use your cdk for infrastructure-as-code lib for CF pipeline/deployment for different environment. So the above don't block me , just thought this thread is the right place to target windows issues with the lib. hope ok. |
@sasaraf Do you still see the issue with cx-api? |
it still has this issue with mpjsii module. couldn't find such module. what npm install should be used for that? (i moved to the latest released cdk maven dependencies 0.8.2, perhaps the fix is in some snapshot version?)
|
No description provided.
The text was updated successfully, but these errors were encountered: