blackjk3 / react-form-builder

A complete react form builder that interfaces with a json endpoint to load and save generated forms. The toolbox contains 16 items for gathering data. Everything from star ratings to signature boxes!
MIT License
648 stars 521 forks source link

No such file or directory #25

Open Rudgey84 opened 6 years ago

Rudgey84 commented 6 years ago

ERROR in ENOENT: no such file or directory, scandir 'C:\users\name\react-form-builder\node_modules\node-sass\vendor' @ ./css/application.css.scss 4:14-122 13:2-17:4 14:20-128

I am also getting the Error: contextify@0.1.15 install: node-gyp rebuild error which I cant solve on npm install - so maybe related.

  1. git clone the repo
  2. npm install
  3. npm install missing dependancies
  4. npm run
Rudgey84 commented 6 years ago

npm rebuild node-sass does not fix the issue - ERROR in ENOENT: no such file or directory, scandir 'C:\users\name\react-form-builder\node_modules\node-sass\vendor' @ ./css/application.css.scss 4:14-122 13:2-17:4 14:20-128

Rudgey84 commented 6 years ago

npm rebuild node-sass did actually solve issue

//Open powershell as Admin npm install --global --production windows-build-tools

//download repo git clone git@github.com:blackjk3/react-form-builder.git

//cd into repo & install node-gyp locally npm install --global node-gyp

//install dependencies npm install

//May need to rebuild sass after install npm rebuild node-sass

//start http://localhost:8080/ npm start