GithubHelp home page GithubHelp logo

Paths issue about corber HOT 8 CLOSED

isleofcode avatar isleofcode commented on May 22, 2024 2
Paths issue

from corber.

Comments (8)

and2 avatar and2 commented on May 22, 2024

A little update, this only occurs for ember-cordova 0.2.1. The build is successful on 0.2.0.

from corber.

RobIsHere avatar RobIsHere commented on May 22, 2024

Hi! I'm struggling with this, too. Also at ember-cli 2.7.0

this.project.CORDOVA_PLATFORM
is undefined in index.js line 47.

from corber.

RobIsHere avatar RobIsHere commented on May 22, 2024

Maybe the reason is:
Commit: fix(build/serve): take default cordovaPlatform

removed:
var platform = project.CORDOVA_PLATFORM = options.platform;

from corber.

RobIsHere avatar RobIsHere commented on May 22, 2024

Ok. Resolved it. But I'm not sure if you want to re-add or move away from this?
However: the quick fix is...

After:
var platform = getPlatform(this.project.config(), options);

Add:
[this.] project.CORDOVA_PLATFORM = platform;

At both files:
lib/commands/build.js
lib/commands/serve.js

from corber.

RobIsHere avatar RobIsHere commented on May 22, 2024

also this:
ERROR: Expected a cordova plugin to be installed that was not: undefined: Not found in config.xml. You probably need to run ember cdv:plugin add undefined.

from corber.

AmilKey avatar AmilKey commented on May 22, 2024

this PR fix it https://github.com/isleofcode/ember-cordova/pull/104

from corber.

alexblom avatar alexblom commented on May 22, 2024

Thanks, merged and pushing a release.

from corber.

RobIsHere avatar RobIsHere commented on May 22, 2024

I pulled the new version. It contains tmp and dist build files in none_modules/ember-cordova somehow.

No problem, deleted them. Just to let you know.

from corber.

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.