mardi 18 septembre 2018

how do I update ember-cli-babel?

Whenever I try to set up a server with ember on the CLI with

ember serve

and I end up getting the following warning:

DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: DIFM -> ember-bootstrap-switch -> ember-cli-babel
DEPRECATION: An addon is trying to access project.nodeModulesPath. This is not a reliable way to discover npm modules. Instead, consider doing: require("resolve").sync(something, { basedir: project.root }). Accessed from:   new NPMDependencyVersionChecker (/home/aihoque2/DIFM/afri-client/node_modules/ember-bootstrap-switch/node_modules/ember-cli-version-checker/src/npm-dependency-version-checker.js:11:33)

DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: DIFM -> ember-composability-tools -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: DIFM -> ember-composability-tools -> ember-getowner-polyfill -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: DIFM -> ember-composability-tools -> ember-wormhole -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: DIFM -> ember-d3 -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: DIFM -> ember-django-adapter -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: DIFM -> ember-new-computed -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: DIFM -> ember-paper-expansion-panel -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: DIFM -> ember-paper-selection-dialog -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: DIFM -> ember-paper-stepper -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: DIFM -> ember-paper-tabs -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: DIFM -> ember-simple-auth -> ember-cookies -> ember-getowner-polyfill -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: DIFM -> ember-simple-auth -> ember-getowner-polyfill -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: DIFM -> ember-simple-auth-token -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: DIFM -> ember-suave -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: DIFM -> ember-transition-helper -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: DIFM -> paper-data-table -> ember-cli-babel
DEPRECATION: Addon files were detected in `/home/aihoque2/DIFM/afri-client/node_modules/ember-bootstrap-colorpicker/addon`, but no JavaScript preprocessors were found for `ember-bootstrap-colorpicker`. Please make sure to add a preprocessor (most likely `ember-cli-babel`) to in `dependencies` (NOT `devDependencies`) in `ember-bootstrap-colorpicker`'s `package.json`.
DEPRECATION: ember-cli-test-loader should now be included as an npm module with version 1.1.0 or greater.

Template Compiler Error (broccoli-persistent-filter:TemplateCompiler) in ember-font-awesome/components/fa-icon/template.hbs

compiler[param.type] is not a function

Stack Trace and Error Report: /tmp/error.dump.96eca08e71c1dd2d3941d677ca43981c.log

I have been trying to look for a way to update ember, as I am convinced that my error that I have is potentially because I do not have the latest version of ember.js. I tried ember update but that is not a command. I have also tried to use

ember install ember-cli-babel

and that didn't work either. So main question I have is, How do I update ember-cli-babel?




Aucun commentaire:

Enregistrer un commentaire