Coder Social home page Coder Social logo

sst cdk - CDK not found about sst HOT 4 OPEN

RyanHow avatar RyanHow commented on May 22, 2024
sst cdk - CDK not found

from sst.

Comments (4)

RyanHow avatar RyanHow commented on May 22, 2024

Additionally... (And this may not be supported or even an SST issue, I just wanted to provide some extra information)

If I run cdk directly, I get an error that looks like it's trying to access program files and not handling the space.

npx cdk -a .\.build\run.js diff
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Subprocess exited with error 1

from sst.

jayair avatar jayair commented on May 22, 2024

Hmm I lack Windows experience here. Any thoughts on why pointing to cdk in the bin dir doesn't work?

from sst.

RyanHow avatar RyanHow commented on May 22, 2024

If I invoke the globally installed cdk it doesn't work either

It looks like at some point it's trying to spawn a separate nodejs process, which is in C:\Program Files\nodejs and it's not handling the space.

Not sure if it's a CDK bug, or if something in the run.js is telling CDK to spawn a command?

CDK projects work fine on their own, but I haven't used the cdk -a parameter before.

from sst.

jayair avatar jayair commented on May 22, 2024

So there are two separate issues here right? One is that it's unable to run this 'C:\working\myapp\node_modules@serverless-stack\cli\node_modules.bin\cdk'? And CDK internally is not handling the space in the path?

from sst.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.