Skip to content

Spaces in path result in Cannot find module ‘SST’ #637

@tobyspark

Description

@tobyspark

Failure –

/path with spaces> npx sst start
Using stage: xxx
Preparing your SST app

=======================
 Deploying debug stack
=======================

node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module ‘SST'

Success –

/path_without_spaces>npx sst start

Encountered on macOS / fish / node v14 & v16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions