electric-eloquence / fepper Goto Github PK
View Code? Open in Web Editor NEWFepper: a Front End Prototyper tool for rapid prototyping of web sites
Home Page: https://fepper.io/
License: MIT License
Fepper: a Front End Prototyper tool for rapid prototyping of web sites
Home Page: https://fepper.io/
License: MIT License
After installing fepper-cli
I run npm install
and am presented with the following error.
Any ideas how to resolve this ?
After the error, when I search for source
in the test project, I find 2 directories :
[bobbybabes@ladyluck 4.4.23 fepper-test]# find . -iname 'source'
./node_modules/fepper/excludes/profiles/main/source
./node_modules/fepper/excludes/profiles/base/source
The error :
[bobbybabes@ladyluck 4.4.23 fepper-test]# npm install
> @0.4.2 postinstall /home/bobbybabes/dev/web/fepper-test
> node run/install.js
[15:56:13] Working directory changed to ~/dev/web/fepper-test/node_modules/fepper
gulp[29679]: ../src/node_contextify.cc:635:static void node::contextify::ContextifyScript::New(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `args[1]->IsString()' failed.
1: 0x557228e10d61 node::Abort() [gulp]
2: 0x557228e10e5b [gulp]
3: 0x557228e406c4 node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value> const&) [gulp]
4: 0x55722904ab1f [gulp]
5: 0x55722904b21f [gulp]
6: 0xc8f4cc841bd
fs.js:119
throw err;
^
Error: ENOENT: no such file or directory, scandir 'source'
at Object.readdirSync (fs.js:759:3)
at Object.<anonymous> (/home/bobbybabes/dev/web/fepper-test/run/install.js:71:29)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:266:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:596:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @0.4.2 postinstall: `node run/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @0.4.2 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! /home/bobbybabes/.npm/_logs/2018-07-23T13_56_14_244Z-debug.log
@BobbyBabes I'm opening this issue regarding your mention of Less and Sass in #13 and to provide some guidance to anyone else who may be interested.
A normal Fepper installation (v0.5+) includes an enabled fp-stylus extension. Out-of-the-box, you can edit the stock Stylus code in source/_styles/src/stylus
, and Fepper will watch changes, preprocess the Stylus into CSS, and inject the CSS into the browser.
You are by no means married to Stylus. I published fp-less and fp-sass as well. Steps to install (using Less as an example):
cd extend
npm install --save-dev fp-less
contrib.js
stylus:frontend-copy
with less:frontend-copy
stylus:once
with less:once
stylus:watch
with less:watch
contrib.js
source/_styles/src/stylus
directory with a source/_styles/src/less
directoryDid UI Customization replace styleguidekit-assets-default ?
As of Node 11.0.0, users will get this error runningrequire('gulp')
(3.9.1). Fepper requires gulp for running tasks, and for providing the architecture for extensions.
fs.js:25
'use strict';
^
ReferenceError: internalBinding is not defined
at fs.js:25:1
at req_ (/Users/ee/Sites/Vagrant/Trusty64/VHosts/electric-eloquence/Other/Fepper-install-test/fepper-base/node_modules/natives/index.js:137:5)
at Object.req [as require] (/Users/ee/Sites/Vagrant/Trusty64/VHosts/electric-eloquence/Other/Fepper-install-test/fepper-base/node_modules/natives/index.js:54:10)
at Object.<anonymous> (/Users/ee/Sites/Vagrant/Trusty64/VHosts/electric-eloquence/Other/Fepper-install-test/fepper-base/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:99)
at Module._compile (internal/modules/cjs/loader.js:707:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10)
at Module.load (internal/modules/cjs/loader.js:605:32)
at tryModuleLoad (internal/modules/cjs/loader.js:544:12)
at Function.Module._load (internal/modules/cjs/loader.js:536:3)
at Module.require (internal/modules/cjs/loader.js:643:17)
Fepper has no immediate plans to upgrade gulp beyond 3.x.x. The existing gulp plugin ecosystem was not developed with 4.x.x forward-compatibility in mind. Whether the ecosystem moves itself along to 4.x.x-compatibility is uncertain.
Nonetheless, a solution is being worked out and we will do everything possible to make Fepper compatible with the latest Node version. In the meantime, those on Node 11.x.x will need to downgrade their Node version.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.