Comments (14)
Hi Nicolas,
I figured out the issues: the JS files where in a folder named 'scripts' so I changed it to 'lib' and it started to work. I also had to enable google as an auth provider in the firebase console.
Thnaks a lot!
Abel
from friendlypix.
You should see it. Can you share the URL to which you've deployed so we can have a look? If you only tested on localhost
can you make sure you went through all steps that are in the README? do you see any errors in the JS console?
from friendlypix.
Here's where I deployed to hosting.
https://mbci-gcm.firebaseapp.com/
from friendlypix.
It seems that none of the .js
files have been deployed. Can you make sure tu run npm run build
before deploying?
from friendlypix.
I have the same issue. Even when I host it locally I don't see the google sign-in button. When I run npm run build
I get:
@ build /home/tameravci/Desktop/friendlypix/web
babel scripts -s --minified --compact true -d lib; bower install; echo 'Done. Ready to deploy.'
Error: Cannot find module 'core-js/library/fn/get-iterator'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/home/tameravci/Desktop/friendlypix/web/node_modules/babel-preset-es2015/node_modules/babel-plugin-transform-es2015-template-literals/node_modules/babel-runtime/core-js/get-iterator.js:1:93)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
Done. Ready to deploy.
from friendlypix.
I have exactly the same problem... :(
from friendlypix.
@tameravci can you try running npm i core-js --save
as described at the end of babel/gulp-babel#52
@abelcd Are you facing the same issue as @tameravci ?
from friendlypix.
This is what I get after following the instructions step by step (including npm run build):
from friendlypix.
Can you try what I said above? Did you try running npm run build
to see if you get any errors?
from friendlypix.
(Just saw that you said you already ran npm run build
).
Was there any errors in the console from running npm run build? What happens here is that the JS files did not get generated so the HTML file is served instead (because it's a single page app and the index.html is served for any URL that's not another file).
Basically can you check that you had the JS files generated in /lib
? You should see:
from friendlypix.
The JS files in scripts
are written in ES2015 so this will only work in newer browsers (like Chrome) I'm not even sure they will work completely in Firefox and it won't work in Safari, IE etc...
What npm run build
and npm run serve
do is that they transpile these ES2015 JS files (that are in scripts
) into ES5 ("normal"/older Javascript) into lib
folder that works on every browsers.
from friendlypix.
I had this issue and the problem was that bower install was putting my components in app/bower_components
, so I created a .bowerrc
file with contents
{ "directory": "./bower_components" }
and now it finds my lib files alright.
from friendlypix.
Thanks for the tip @morgs32 I'll add this file to the repo!
from friendlypix.
I have this issue again now. No errors running npm run build. I'm also getting the error, where if I force a sign-in through the network, I get a 404 Not Found page instead of the feed.
from friendlypix.
Related Issues (20)
- Problem with getDownloadUrl()
- iOS Crash Upon Open HOT 5
- File upload consistently failing HOT 2
- IOS: App Crashes after SignIn (In Home feeds) HOT 2
- App crashes after submit button pressed. HOT 3
- Couldn't resize bitmap HOT 4
- unable to cache image HOT 5
- [iOS] Crash: Post Sign-In HOT 1
- Generating thumbnails using cloud functions HOT 3
- Getting numerous errors after deploying site HOT 11
- I'm getting a an error for the feed on Web HOT 2
- Facebook profile picture now returning 403: URL signature expired HOT 4
- update to android friendlypix
- [Android] Unable to proceed after signing-in with a valid Google account. HOT 2
- App still crashes after submit button pressed HOT 3
- Project based on friendlypix
- Issue With The User Details Activity Screen. HOT 1
- PostsFragment$4.toggleLike(PostsFragment.java:188) HOT 1
- what is profile_id in design.md? HOT 1
- Error while uploading new pic TypeError: "snapshot.metadata.downloadURLs is undefined" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from friendlypix.