I am trying to install and run formeo using the instructions under Contributing:
git clone https://github.com/Draggable/formeo.git
cd formeo
npm install
npm start
However, everytime I run npm start, it shows an error as per below:
npm start
> formeo@1.0.10 start /Volumes/LaCie/Arsyad/websites/formeo
> npm-run-all build:icons start:demo
> formeo@1.0.10 build:icons /Volumes/LaCie/Arsyad/websites/formeo
> babel-node ./tools/generate-sprite
> formeo@1.0.10 start:demo /Volumes/LaCie/Arsyad/websites/formeo
> cross-env NODE_ENV=development webpack-dev-server --mode development --open --config tools/webpack.config --copy
/Volumes/LaCie/Arsyad/websites/formeo/node_modules/mini-css-extract-plugin/dist/index.js:145
this.options.chunkFilename = filename.replace(/(^|\/)([^/]*(?:\?|$))/, '$1[id].$2');
^
TypeError: filename.replace is not a function
at new MiniCssExtractPlugin (/Volumes/LaCie/Arsyad/websites/formeo/node_modules/mini-css-extract-plugin/dist/index.js:145:47)
at Object.<anonymous> (/Volumes/LaCie/Arsyad/websites/formeo/tools/webpack.config.js:62:3)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at WEBPACK_OPTIONS (/Volumes/LaCie/Arsyad/websites/formeo/node_modules/webpack-cli/bin/convert-argv.js:133:13)
at requireConfig (/Volumes/LaCie/Arsyad/websites/formeo/node_modules/webpack-cli/bin/convert-argv.js:135:6)
at /Volumes/LaCie/Arsyad/websites/formeo/node_modules/webpack-cli/bin/convert-argv.js:142:17
at Array.forEach (<anonymous>)
at module.exports (/Volumes/LaCie/Arsyad/websites/formeo/node_modules/webpack-cli/bin/convert-argv.js:140:15)
at Object.<anonymous> (/Volumes/LaCie/Arsyad/websites/formeo/node_modules/webpack-dev-server/bin/webpack-dev-server.js:105:40)
at Module._compile (module.js:660:30)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! formeo@1.0.10 start:demo: `cross-env NODE_ENV=development webpack-dev-server --mode development --open --config tools/webpack.config --copy`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the formeo@1.0.10 start:demo script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/arsyad/.npm/_logs/2019-05-15T09_04_23_205Z-debug.log
ERROR: "start:demo" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! formeo@1.0.10 start: `npm-run-all build:icons start:demo`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the formeo@1.0.10 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/arsyad/.npm/_logs/2019-05-15T09_04_23_248Z-debug.log
I also tried running using yarn install but received another error:
yarn install
yarn install v1.3.2
[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
[3/5] 🚚 Fetching packages...
error https://github.com/Draggable/mini-css-extract-plugin/tarball/feat/filename-transform: Fetch succeeded for undefined. However, extracting "https://github.com/Draggable/mini-css-extract-plugin/tarball/feat/filename-transform" resulted in hash "6ffcbc1e2fc0565ac2f3b62ac5121d63d7ac41a6", which did not match the requested hash "3b736ac9bf69348f2c088a3ff84781aff97d142b".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Is there any steps I am missing? I have already installed webpack but it doesn't work:
Hi,
I am trying to install and run formeo using the instructions under Contributing:
However, everytime I run npm start, it shows an error as per below:
I also tried running using yarn install but received another error:
Is there any steps I am missing? I have already installed webpack but it doesn't work: