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

Create SDM does not work if ~/atomist does not exist #150

Closed
ddgenome opened this issue Aug 27, 2018 · 2 comments
Closed

Create SDM does not work if ~/atomist does not exist #150

ddgenome opened this issue Aug 27, 2018 · 2 comments
Labels
bug Something isn't working changelog:fixed Add this issue or pull request to fixed changelog section

Comments

@ddgenome
Copy link
Contributor

$ atomist create sdm

┌─────────────────────────────────────────────────────────────────────────────┐
│                                                                             │
│   ## Create a new Software Delivery Machine (SDM) repository                │
│                                                                             │
│   Choose blank for a new SDM to which you can add your own functionality.   │
│                                                                             │
│   Choose spring for a new SDM providing convenient creation and local CD    │
│   of Spring Boot applications.                                              │
│                                                                             │
│   Choose sample for a sample containing Java and Node functionality.        │
│   This is a good example of the Atomist API,                                │
│   but isn't intended as a basis for your own SDM.                           │
│                                                                             │
│       If you're new to Atomist and have a JDK on your machine,              │
│       choose "spring" to see Atomist's capabilities quickly.                │
│                                                                             │
└─────────────────────────────────────────────────────────────────────────────┘

? Type of SDM to create spring
Failed to load package.json: Cannot find module '/usr/local/lib/package.json'
Starting Atomist automation client bootstrap:0.0.0

 _                    _         _
| |__    ___    ___  | |_  ___ | |_  _ __   __ _  _ __
| '_ \  / _ \  / _ \ | __|/ __|| __|| '__| / _` || '_ \
| |_) || (_) || (_) || |_ \__ \| |_ | |   | (_| || |_) |
|_.__/  \___/  \___/  \__||___/ \__||_|    \__,_|| .__/
                                                 |_|

  Version 0.0.0
  Workspace local  Policy ephemeral  Cluster disabled  Environment local
  Commands 3  Events 0  Ingesters 0

  Commands
    newSdm (NewSdm)
    SelfDescribe (Describe this SDM) describe sdm bootstrap, describe sdm
    SetGoalState (Set state of a particular goal) set goal state bootstrap, set goal state

  SDM
    Local bootstrap SDM

  Extension Packs
    @atomist/sdm-core:info:1.0.0-M.1  by Atomist, Inc.
    @atomist/sdm-core:well-known-goals:1.0.0-M.1  by Atomist, Inc.
    @atomist/sdm-local:local-config:1.0.0-M.1  by Atomist, Inc.
    @atomist/sdm-local:local-lifecycle:1.0.0-M.1  by Atomist, Inc.

  Docs https://docs.atomist.com  Support https://join.atomist.com

Please follow the prompts to create a new SDM

? name of the target repository quick-sdm
✘ Error: ENOENT: no such file or directory, scandir '/Users/dd/atomist'
Error: ENOENT: no such file or directory, scandir '/Users/dd/atomist' - Error: ENOENT: no such file or directory, scandir '/Users/dd/atomist'
@ddgenome ddgenome added bug Something isn't working changelog:fixed Add this issue or pull request to fixed changelog section labels Aug 27, 2018
@lievendoclo
Copy link
Contributor

Isn't it the atomist folder it cannot create instead of the .atomist?

@cdupuis cdupuis changed the title Create SDM does not work if ~/.atomist does not exist Create SDM does not work if ~/atomist does not exist Aug 27, 2018
@cdupuis
Copy link
Member

cdupuis commented Aug 27, 2018

Yes.

atomist-bot added a commit that referenced this issue Aug 27, 2018
[atomist:generated]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working changelog:fixed Add this issue or pull request to fixed changelog section
Projects
None yet
Development

No branches or pull requests

3 participants