Hi,
I am new with ghost. I am trying to install helpers using this command npm install @tryghost/helpers
. It installed successfully without any error. When I try to import helper function import { readingTime } from "@tryghost/helpers";
I got error in my app.
ERROR Failed to compile with 5 errors
These dependencies were not found:
* core-js/modules/es6.array.slice.js in ./node_modules/@tryghost/helpers/es/helpers.js
* core-js/modules/es6.function.name.js in ./node_modules/@tryghost/helpers/es/helpers.js
* core-js/modules/es6.regexp.match.js in ./node_modules/@tryghost/helpers/es/helpers.js
* core-js/modules/es6.regexp.replace.js in ./node_modules/@tryghost/helpers/es/helpers.js
* core-js/modules/es6.regexp.split.js in ./node_modules/@tryghost/helpers/es/helpers.js
To install them, you can run: npm install --save core-js/modules/es6.array.slice.js core-js/modules/es6.function.name.js core-js/modules/es6.regexp.match.js core-js/modules/es6.regexp.replace.js core-js/modules/es6.regexp.split.js
- ghost version is
Ghost-CLI version: 1.17.3