GithubHelp home page GithubHelp logo

Comments (2)

runspired avatar runspired commented on July 28, 2024 1

on current canary you need to install @warp-drive/build-config and setConfig within ember-cli-build (see test apps for examples). This is something we're working to find a way to avoid being a breaking change before shipping to stable, but the old style of config will be deprecated and this new style is going to be a required thing for apps to do.

from data.

Jopie01 avatar Jopie01 commented on July 28, 2024

Thanks for explanation! I installed @warp-drive/build-config and changed the ember-cli-build.js and now everything is building successfully again. Now I have to dig through a lot of changes because of the changes in the Schema service.

FTR, I have installed the 5.4.0-alpha.73 versions of the different packages and changed the ember-cli-build.js as follows

module.exports = async function (defaults) {
  const { setConfig } = await import('@warp-drive/build-config');

  .....

  setConfig(app, __dirname, {
    compatWith: process.env.EMBER_DATA_FULL_COMPAT ? '99.0' : null,
  });

  ....

};

Mind the async and await.

from data.

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.