question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot build formeo

See original GitHub issue

Hi there,

I’ve been attempting to build Formeo on a Windows 10 machine using Command Prompt running under Administrator mode, but have been unable to up to this point.

The commands used so far are:

git clone https://github.com/Draggable/formeo.git cd formeo npm install && npm run dev

This process will run up until it hits the following errors:

npm WARN prepublish-on-install As of npm@5, prepublish scripts are deprecated. npm WARN prepublish-on-install Use prepare for build steps and prepublishOnly for upload-only. npm WARN prepublish-on-install See the deprecation note in npm help scripts for more information.

mini-css-extract-plugin@0.5.0 prepublish E:\Dev\Recognite\Dev\formeo\node_modules\mini-css-extract-plugin npm run build

mini-css-extract-plugin@0.5.0 prebuild E:\Dev\Recognite\Dev\formeo\node_modules\mini-css-extract-plugin npm run clean

mini-css-extract-plugin@0.5.0 clean E:\Dev\Recognite\Dev\formeo\node_modules\mini-css-extract-plugin del-cli dist

mini-css-extract-plugin@0.5.0 build E:\Dev\Recognite\Dev\formeo\node_modules\mini-css-extract-plugin cross-env NODE_ENV=production babel src -d dist --ignore ‘src/**/*.test.js’ --copy-files

src doesn’t exist npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! mini-css-extract-plugin@0.5.0 build: cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the mini-css-extract-plugin@0.5.0 build 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! C:\Users\user\AppData\Roaming\npm-cache_logs\2019-02-18T00_44_54_997Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! mini-css-extract-plugin@0.5.0 prepublish: npm run build npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the mini-css-extract-plugin@0.5.0 prepublish 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! C:\Users\user\AppData\Roaming\npm-cache_logs\2019-02-18T00_44_55_043Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! formeo@1.0.0-beta.1 postinstall: npm --prefix ./node_modules/mini-css-extract-plugin install ./node_modules/mini-css-extract-plugin && npm run --prefix ./node_modules/mini-css-extract-plugin build npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the formeo@1.0.0-beta.1 postinstall 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! C:\Users\user\AppData\Roaming\npm-cache_logs\2019-02-18T00_44_55_146Z-debug.log

Any help here would be greatly appreciated. I have attempted to use webpack -v, but it instead goes through a process of installing webpack-cli and fails along the way, and subsequent attempts to reinstall still fail as mentioned previously.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
charmiscommented, Feb 18, 2019

Make sure you have installed yarn. Please refer yarn install page

Execute the following commands one by one:

git clone https://github.com/Draggable/formeo.git
cd formeo
yarn install
yarn run build

Once all the above commands are done, you would be able to see a folder formeo\demo which has index.html and an assets folder.

Open the index.html in browser and you would be good to see the formeo designer screen.

2reactions
kevinchappellcommented, Feb 20, 2019

@charmis absolutely. I took a look last night and the steps need to be updated as well as fixing install when using npm.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Draggable/formeo - Gitter
Hello everyone, I am new to use Formeo. I have done everything like form rendering and all. Just on thing remaining how to...
Read more >
formeo1.render is not a function error while integrating formeo ...
So I tried to integrate the form builder called formeo . in one of the page I am trying to do this function...
Read more >
FORMEO Company Profile | SAINT CONTEST, NORMANDIE ...
Find company research, competitor information, contact details & financial data for FORMEO of SAINT CONTEST, NORMANDIE. Get the latest business insights ...
Read more >
Formeo - Facebook
Formeo. 178 likes. Formeo is a solo project started in 2020 by Hubert Pilarski - producer, ... Summer" and I still cannot believe...
Read more >
Formeo | Drag & Drop Form Creation
Vanilla Javascript form building module.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found