question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Path to copy doesn't exist /node_modules/ignite-cli/boilerplate/.gitignore

See original GitHub issue

What’s going on?

Hi, this is my first time trying Ignite. I’m trying the Quick Start for React Native, and am hitting an error.

Steps to reproduce

  1. npx ignite-cli new PizzaApp yields the following:
   · · · · · · · · · · · · · · · · · · 🔥 Ignite 🔥 · · · · · · · · · · · · · · · · · ·

    █ Creating PizzaApp using Ignite 7.4.0
    █ Powered by Infinite Red - https://infinite.red
    █ Using ignite-cli
    █ Bundle identifier: com.PizzaApp
    ────────────────────────────────────────────────

    🔥 Igniting app
    🖨  3D-printing a new React Native app
/Users/adam/.npm/_npx/e31027f3785124a8/node_modules/gluegun/build/index.js:13
    throw up;
    ^

Error: Path to copy doesn't exist /Users/adam/.npm/_npx/e31027f3785124a8/node_modules/ignite-cli/boilerplate/.gitignore
    at generateNoSourceError (/Users/adam/.npm/_npx/e31027f3785124a8/node_modules/fs-jetpack/lib/copy.js:52:15)
    at checksBeforeCopyingSync (/Users/adam/.npm/_npx/e31027f3785124a8/node_modules/fs-jetpack/lib/copy.js:83:11)
    at Object.copySync [as sync] (/Users/adam/.npm/_npx/e31027f3785124a8/node_modules/fs-jetpack/lib/copy.js:150:3)
    at Object.copy (/Users/adam/.npm/_npx/e31027f3785124a8/node_modules/fs-jetpack/lib/jetpack.js:76:12)
    at /Users/adam/.npm/_npx/e31027f3785124a8/node_modules/ignite-cli/build/commands/new.js:173:36
    at step (/Users/adam/.npm/_npx/e31027f3785124a8/node_modules/ignite-cli/build/commands/new.js:44:23)
    at Object.next (/Users/adam/.npm/_npx/e31027f3785124a8/node_modules/ignite-cli/build/commands/new.js:25:53)
    at fulfilled (/Users/adam/.npm/_npx/e31027f3785124a8/node_modules/ignite-cli/build/commands/new.js:16:58)
    at processTicksAndRejections (internal/process/task_queues.js:95:5) {
  code: 'ENOENT'
}

npx ignite-cli doctor results:

System
  platform           darwin                                                  
  arch               x64                                                     
  cpu                12 cores      Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz 
  directory          reactnative   /Users/adam/Dev/scratch/reactnative       

JavaScript (and globally-installed packages)
  node                                    14.17.5       /usr/local/bin/node 
  npm                                     7.21.0        /usr/local/bin/npm  
    @angular/cli                          7.0.3                             
    @aws-amplify/cli                      5.3.0                             
    @loopback/cli                         1.24.0                            
    @openapitools/openapi-generator-cli   1.0.1-4.1.3                       
    @vue/cli                              4.4.4                             
    alloy                                 1.14.6                            
    appcelerator                          5.0.0                             
    dotenv                                8.0.0                             
    eslint                                5.2.0                             
    firebase-tools                        8.6.0                             
    ionic                                 4.0.5                             
    jasmine                               3.1.0                             
    liveview                              1.4.5                             
    n                                     2.1.12                            
    nodemon                               1.18.3                            
    npm                                   7.21.0                            
    swagger                               0.7.5                             
    tisdk                                 2.0.1                             
    tishadow                              2.10.1                            
    titanium                              5.3.2                             
    tiunit                                1.0.0                             
    yarn                                  1.22.10                           
  yarn                                    1.22.10       /usr/local/bin/yarn 

Ignite
  ignite-cli         7.4.0        /Users/adam/.npm/_npx/e31027f3785124a8/node_modules/.bin/ignite      
  ignite src         build        /Users/adam/.npm/_npx/e31027f3785124a8/node_modules/ignite-cli/build 

Android
  java               1.8.0_242-release   /usr/bin/java 
  android home       -                   undefined     

iOS
  xcode              12.5.1     
  cocoapods          1.10.1       /usr/local/bin/pod 

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:5
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jamonholmgrencommented, Aug 30, 2021

Hey folks, apologies for how long this has taken. I will be taking a look at this tonight.

1reaction
djdnl13commented, Aug 24, 2021

Hello,

please read this other issue: https://github.com/infinitered/ignite/issues/1578#issuecomment-903811120 This is the content https://github.com/infinitered/ignite/issues/1578#issuecomment-903860309

By the way, the new command in ignite-cli is not working very well so far, wish you luck.

Greetings.

Read more comments on GitHub >

github_iconTop Results From Across the Web

gitignore/Node.gitignore at main
Go to file T · Go to line L · Copy path · Copy permalink.
Read more >
Git - Ignore node_modules folder everywhere
gitignore file if it doesn't already exist. echo and >> will append node_modules/ at the end of .gitignore , causing the node_modules folder ......
Read more >
How to Create & Use GitIgnore File Properly, Quickly & Easily
How to use gitignore file- Why we use gitignore file- What are benefits of gitignore file- Why gitignore is important- Which tech stack...
Read more >
Git - gitignore Documentation
DESCRIPTION. A gitignore file specifies intentionally untracked files that Git should ignore. Files already tracked by Git are not affected; see the NOTES ......
Read more >
.gitignore File – How to Ignore Files and Folders in Git
When working on a project as part of a team, there will be times when you don't want to share some files or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found