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

curvenote cli - pull fails from root folder #407

Open
stevejpurves opened this issue Jan 8, 2023 · 0 comments
Open

curvenote cli - pull fails from root folder #407

stevejpurves opened this issue Jan 8, 2023 · 0 comments
Labels
bug Something isn't working CLI The curvenote commandline tool

Comments

@stevejpurves
Copy link
Member

After initializing locally from a remote project, curvenote pull will fil from the root folder.

Reprod:

  1. curvenote init from a curvenote project
  2. accept default location which puts content in content/my-project
  3. curvenote pull fails with the following error
Error: Cannot pull project from /Users/stevejpurves/dev/bugs/harris/content/evacuation-papers: no project config
    at /Users/stevejpurves/.nvm/versions/node/v16.15.0/lib/node_modules/curvenote/dist/curvenote.js:314807:13
    at Generator.next (<anonymous>)
    at /Users/stevejpurves/.nvm/versions/node/v16.15.0/lib/node_modules/curvenote/dist/curvenote.js:78:61
    at new Promise (<anonymous>)
    at __async (/Users/stevejpurves/.nvm/versions/node/v16.15.0/lib/node_modules/curvenote/dist/curvenote.js:62:10)
    at pullProject (/Users/stevejpurves/.nvm/versions/node/v16.15.0/lib/node_modules/curvenote/dist/curvenote.js:314803:10)
    at /Users/stevejpurves/.nvm/versions/node/v16.15.0/lib/node_modules/curvenote/dist/curvenote.js:314847:20
    at Generator.next (<anonymous>)
    at /Users/stevejpurves/.nvm/versions/node/v16.15.0/lib/node_modules/curvenote/dist/curvenote.js:78:61
    at new Promise (<anonymous>)
    at __async (/Users/stevejpurves/.nvm/versions/node/v16.15.0/lib/node_modules/curvenote/dist/curvenote.js:62:10)
    at /Users/stevejpurves/.nvm/versions/node/v16.15.0/lib/node_modules/curvenote/dist/curvenote.js:314846:30
    at /Users/stevejpurves/.nvm/versions/node/v16.15.0/lib/node_modules/curvenote/dist/curvenote.js:164155:37
    at run (/Users/stevejpurves/.nvm/versions/node/v16.15.0/lib/node_modules/curvenote/dist/curvenote.js:164155:49)
    at /Users/stevejpurves/.nvm/versions/node/v16.15.0/lib/node_modules/curvenote/dist/curvenote.js:164168:28
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Changing directory into content/my-project and running curvenote pull works.

@stevejpurves stevejpurves added bug Something isn't working CLI The curvenote commandline tool labels Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CLI The curvenote commandline tool
Projects
None yet
Development

No branches or pull requests

1 participant