GithubHelp home page GithubHelp logo

Comments (4)

clelland avatar clelland commented on May 26, 2024

It looks like a couple of people have been hit with this now.

It sounds like a bug in the recursive copy step; I could see this happening if you tried to run cca from inside the sample app's folder, but I'll run a couple of tests to be sure it can happen that way.

What argument are you passing to --copy-from ? Is it a relative or absolute path? And where is the directory you are running cca from, relative to the sample app you're copying?

from mobile-chrome-apps.

alexpaluzzi avatar alexpaluzzi commented on May 26, 2024

That sounds like it could definitely be it. If I recall, I was running it from inside, and so I was using a relative path to the manifest file. I would have been in the same directory. I should have thought about running it from the parent.

When I'm able, I will rerun those tests and confirm, but I can say with near certainty that's how I was doing it.

from mobile-chrome-apps.

clelland avatar clelland commented on May 26, 2024

We should be handling that case better; at least printing an error, if we can't do something sensible.

from mobile-chrome-apps.

clelland avatar clelland commented on May 26, 2024

I created https://issues.apache.org/jira/browse/CB-5947 to track the underlying Cordova issue; I'll put similar logic into cca to detect the condition and warn/error when trying to create a project from inside the sample directory.

from mobile-chrome-apps.

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.