jlengrand / elm-firebase Goto Github PK
View Code? Open in Web Editor NEWA simple repository to show Elm integration with Firebase using ports - WIP
License: MIT License
A simple repository to show Elm integration with Firebase using ports - WIP
License: MIT License
Is it a me problem on a mac m1 ?
I receive following error:
/Library/Caches/node-gyp/19.8.1/include/node/v8-template.h:807:8: note: candidate function not viable: no known conversion from 'imp::NativeGetter' (aka 'void (*)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value> &)') to 'v8::AccessorGetterCallback' (aka 'void (*)(Local<v8::String>, const PropertyCallbackInfo<v8::Value> &)') for 2nd argument
npm ERR! void SetAccessor(
npm ERR! ^
There is an error on your demo site. The login button fails with "the hosted domain can't run that feature" or something.
You need to add your hosted domain to some permissions in Firebase.
Following the instructions on your README makes create-elm-app fail to compile when I run npm run build
. I'm using Elm 0.19.1.
node -v
: v12.13.0npm -v
: 6.14.8Creating an optimized production build...
Failed to compile.
static/js/vendors~main.3cc16f1f.chunk.js from UglifyJs
undefined
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `elm-app build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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! /Users/joshua/.npm/_logs/2020-09-13T18_40_17_182Z-debug.log
Create-elm-app had an issue similar to this a while back, but it was fixed in a new release.
Interestingly enough, the older elm firebase projects from 19.0 I've manually upgraded to 19.1 a while back still works. I'm not sure if this is an error in the dependencies or on my part. The package.json
files in the projects are identical.
I clone the repo.
run npm install
wait
create an .env file
run npm start
... nothing happens.
no error. no "hosting localhost:xxx" ... nothing :(
I'm running elm 0.19.1
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.