Local FCC app only shows "No Super Blocks" on http://localhost:3001/en/map

Hi, I’ve been stuck on this issue all day and will probably be stuck on it for several days!

I wanted to contribute a PR to the FCC:staging repo so I followed the Contributor’s Guide at CONTRIBUTING.md and went through all of steps successfully (just a few deprecated warnings which I was told in help chat was common) stopping at the Linting Setup section.

When I run my db with mongod and start the app with gulp my local server listens on localhost:3001 and the Browsersync control panel on localhost:3002 successfully.

But when I click on the Map menu button I receive only the text:

No Super Blocks

and when I click on the FreeCodeCamp link on the top left I get an empty test that only says “Happy Coding!” (note clicking on Map here brings up the sidebar but it is empty with only No Super Blocks).

I have asked in chat a few times about this issue and was so far only told to Google it which I’ve tried, but I’m not really sure where to start looking (I’m a complete nodejs, npm, mongodb, gulp noob).

I’ve tested my mongodb and can access it via mongo shell (haven’t played around too much there yet).

I’m still on the front-end dev section right now so I can wait until I get to the back-end dev section before I look into it more but I thought I would post here in case someone has run into this issue before or can lead me in the right direction.

mongodb output:

$ mongod
2016-08-30T00:25:00.972-0700 I CONTROL  [initandlisten] MongoDB starting : pid=6004 port=27017 dbpath=C:\data\db\ 64-bit host=beluga
2016-08-30T00:25:00.972-0700 I CONTROL  [initandlisten] targetMinOS: Windows Vista/Windows Server 2008
2016-08-30T00:25:00.972-0700 I CONTROL  [initandlisten] db version v3.2.9
2016-08-30T00:25:00.972-0700 I CONTROL  [initandlisten] git version: 22ec9e93b40c85fc7cae7d56e7d6a02fd811088c
2016-08-30T00:25:00.972-0700 I CONTROL  [initandlisten] allocator: tcmalloc
2016-08-30T00:25:00.972-0700 I CONTROL  [initandlisten] modules: none
2016-08-30T00:25:00.972-0700 I CONTROL  [initandlisten] build environment:
2016-08-30T00:25:00.972-0700 I CONTROL  [initandlisten]     distarch: x86_64
2016-08-30T00:25:00.972-0700 I CONTROL  [initandlisten]     target_arch: x86_64
2016-08-30T00:25:00.972-0700 I CONTROL  [initandlisten] options: {}
2016-08-30T00:25:00.972-0700 I -        [initandlisten] Detected data files in C:\data\db\ created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2016-08-30T00:25:00.972-0700 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=4G,session_max=20000,eviction=(threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),
2016-08-30T00:25:01.399-0700 I NETWORK  [HostnameCanonicalizationWorker] Starting hostname canonicalization worker
2016-08-30T00:25:01.399-0700 I FTDC     [initandlisten] Initializing full-time diagnostic data capture with directory 'C:/data/db/diagnostic.data'
2016-08-30T00:25:01.400-0700 I NETWORK  [initandlisten] waiting for connections on port 27017
2016-08-30T00:25:09.908-0700 I NETWORK  [initandlisten] connection accepted from 127.0.0.1:60502 #1 (1 connection now open)
2016-08-30T00:25:15.345-0700 I NETWORK  [conn1] end connection 127.0.0.1:60502 (0 connections now open)
2016-08-30T00:26:00.157-0700 I NETWORK  [initandlisten] connection accepted from 127.0.0.1:60533 #2 (1 connection now open)
2016-08-30T00:26:00.158-0700 I NETWORK  [initandlisten] connection accepted from 127.0.0.1:60534 #3 (2 connections now open)
2016-08-30T00:26:00.191-0700 I NETWORK  [initandlisten] connection accepted from 127.0.0.1:60535 #4 (3 connections now open)
2016-08-30T00:26:00.211-0700 I NETWORK  [initandlisten] connection accepted from 127.0.0.1:60536 #5 (4 connections now open)
2016-08-30T00:26:00.214-0700 I NETWORK  [initandlisten] connection accepted from 127.0.0.1:60537 #6 (5 connections now open)
2016-08-30T00:26:25.888-0700 I NETWORK  [initandlisten] connection accepted from 127.0.0.1:60549 #7 (6 connections now open)
2016-08-30T00:26:30.216-0700 I NETWORK  [conn5] end connection 127.0.0.1:60536 (5 connections now open)
2016-08-30T00:26:30.217-0700 I NETWORK  [conn2] end connection 127.0.0.1:60533 (4 connections now open)
2016-08-30T00:26:30.217-0700 I NETWORK  [conn4] end connection 127.0.0.1:60535 (3 connections now open)
2016-08-30T00:26:55.889-0700 I NETWORK  [conn3] end connection 127.0.0.1:60534 (2 connections now open)
2016-08-30T00:27:04.691-0700 I NETWORK  [initandlisten] connection accepted from 127.0.0.1:60570 #8 (3 connections now open)
2016-08-30T00:27:34.699-0700 I NETWORK  [conn8] end connection 127.0.0.1:60570 (2 connections now open)
2016-08-30T00:35:03.117-0700 I NETWORK  [initandlisten] connection accepted from 127.0.0.1:60635 #9 (3 connections now open)
2016-08-30T00:35:33.152-0700 I NETWORK  [conn7] end connection 127.0.0.1:60549 (2 connections now open)

gulp output:
> > [00:25:48] Using gulpfile ~\Projects\FreeCodeCamp\gulpfile.js
> > [00:25:48] Starting ‘less’…
> > [00:25:48] Starting ‘serve’…
> > [00:25:48] Starting ‘webpack-dev-server’…
> > [00:25:49] Starting ‘js’…
> > [00:25:49] [webpack-dev-server] webpack init completed
> > [00:25:49] Finished ‘webpack-dev-server’ after 159 ms
> > [00:25:49] [nodemon] 1.10.2
> > [00:25:49] [nodemon] to restart at any time, enter rs
> > [00:25:49] [nodemon] watching: .
> > [00:25:49] [nodemon] starting C:\Users\erik\Projects\FreeCodeCamp\node_modules\.bin\babel-node ./server/server.js
> > [00:25:50] Finished ‘serve’ after 1.39 s
> > Tue, 30 Aug 2016 07:25:56 GMT fcc:user:remote setting up user hooks
> > [00:25:58] Finished ‘less’ after 9.65 s
> > Browse your REST API at http://127.0.0.1:3000/explorer
> > FreeCodeCamp server listening on port 3000 in development
> > https redirect listening on port 1337
> > [00:26:09] Finished ‘js’ after 20 s
> > [00:26:09] Starting ‘sync’…
> > [00:26:09] Finished ‘sync’ after 91 ms
> > [00:26:09] Starting ‘watch’…
> > [00:26:09] Finished ‘watch’ after 324 ms
> > [00:26:09] Starting ‘default’…
> > [00:26:09] Finished ‘default’ after 2.16 μs
> > Hash: 661b43a71a23e8687d9a
> > Version: webpack 1.13.2
> > Time: 28331ms
> > Asset Size Chunks Chunk Names
> > bundle.js 13.5 MB 0 [emitted] bundle
> > chunk {0} bundle.js (bundle) 4.99 MB [rendered]
> > [0] multi bundle 52 bytes {0} [built]
> > [1] ./~/react/react.js 56 bytes {0} [built]
> > [2] ./~/babel-runtime/helpers/classCallCheck.js 208 bytes {0} [built]
> > [3] ./~/babel-runtime/helpers/inherits.js 1.11 kB {0} [built]
> > …
> > …
> > …
> > [1571] template of 1460 referencing 1.29 kB {0} [not cacheable] [built]
> > [1572] template of 1461 referencing 1.3 kB {0} [not cacheable] [built]
> > [1573] template of 1462 referencing 1.66 kB {0} [not cacheable] [built]
> > WARNING in ./~/babel-core/lib/transformation/file/options/option-manager.js
> > Critical dependencies:
> > 170:19-37 the request of a dependency is an expression
> > 284:14-32 the request of a dependency is an expression
> > @ ./~/babel-core/lib/transformation/file/options/option-manager.js 170:19-37 284:14-32
> > [BS] Proxying: http://localhost:3000
> > [BS] Access URLs:
> > --------------------------------------
> > Local: http://localhost:3001
> > External: http://192.168.1.201:3001
> > --------------------------------------
> > UI: http://localhost:3002
> > UI External: http://192.168.1.201:3002
> > --------------------------------------
> > [BS] Watching files…
> > foo / GET
> > 302 GET 28.688 ms - /
> > 200 GET 1113.886 ms - /en/
> > Tue, 30 Aug 2016 07:26:26 GMT loopback deprecated loopback#context middleware is deprecated. See https://docs.strongloop.com/display/APIC/Using%20current%20context for more details. at node_modules\loopback\server\middleware\rest.js:60:32
> > 404 GET 89.825 ms - /api/flyers/findOne?filter%5Border%5D=id+DESC
> > foo /map GET
> > 302 GET 14.318 ms - /map
> > Tue, 30 Aug 2016 07:27:02 GMT fcc:react-server render react markup and pre-fetch data
> > Warning: Unknown props active, activeKey, activeHref on

  • tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop
    > > in li (created by Nav)
    > > in ul (created by Nav)
    > > in Nav (created by Nav)
    > > in div (created by NavbarCollapse)
    > > in Transition (created by Collapse)
    > > in Collapse (created by NavbarCollapse)
    > > in NavbarCollapse (created by Nav)
    > > in div (created by Grid)
    > > in Grid (created by Navbar)
    > > in nav (created by Navbar)
    > > in Navbar (created by Uncontrolled(Navbar))
    > > in Uncontrolled(Navbar) (created by Nav)
    > > in Nav (created by FreeCodeCamp)
    > > in div (created by FreeCodeCamp)
    > > in FreeCodeCamp (created by Connect(FreeCodeCamp))
    > > in Connect(FreeCodeCamp) (created by RouterContext)
    > > in RouterContext
    > > in Provider
    > > Warning: Unknown prop autocompleted on tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
    > > in input (created by FormControl)
    > > in FormControl (created by MapHeader)
    > > in span (created by InputGroup)
    > > in InputGroup (created by MapHeader)
    > > in div (created by Row)
    > > in Row (created by MapHeader)
    > > in div (created by MapHeader)
    > > in div (created by MapHeader)
    > > in MapHeader (created by Connect(MapHeader))
    > > in Connect(MapHeader) (created by Map)
    > > in div (created by Col)
    > > in Col (created by Map)
    > > in Map (created by Container(Map))
    > > in Container(Map) (created by Connect(Container(Map)))
    > > in Connect(Container(Map)) (created by RouterContext)
    > > in div (created by Row)
    > > in Row (created by FreeCodeCamp)
    > > in div (created by FreeCodeCamp)
    > > in FreeCodeCamp (created by Connect(FreeCodeCamp))
    > > in Connect(FreeCodeCamp) (created by RouterContext)
    > > in RouterContext
    > > in Provider
    > > Tue, 30 Aug 2016 07:27:02 GMT fcc:services:map en language requested
    > > Tue, 30 Aug 2016 07:27:02 GMT fcc:services:map en language requested
    > > Tue, 30 Aug 2016 07:27:02 GMT fcc:services:map en language requested
    > > Tue, 30 Aug 2016 07:27:02 GMT fcc:react-server react markup rendered, data fetched
    > > Tue, 30 Aug 2016 07:27:02 GMT fcc:react-server html rendered and ready to send
    > > 200 GET 451.577 ms - /en/map
    > > Tue, 30 Aug 2016 07:27:04 GMT fcc:services:map en language requested
    > > 200 GET 13.199 ms - /services/user?_csrf=5svrTVrQ-0eXweFX-rdOh4-cUs8OlbhpxgmM&returnMeta=true
    > > 500 GET 14.663 ms - /services/map;lang=en?_csrf=5svrTVrQ-0eXweFX-rdOh4-cUs8OlbhpxgmM&returnMeta=true
    > > Tue, 30 Aug 2016 07:27:04 GMT fcc:services:map en language requested
    > > 500 GET 7.645 ms - /services/map;lang=en?_csrf=5svrTVrQ-0eXweFX-rdOh4-cUs8OlbhpxgmM&returnMeta=true
    > > Tue, 30 Aug 2016 07:27:04 GMT fcc:services:map en language requested
    > > 500 GET 6.275 ms - /services/map;lang=en?_csrf=5svrTVrQ-0eXweFX-rdOh4-cUs8OlbhpxgmM&returnMeta=true
    > > Tue, 30 Aug 2016 07:35:02 GMT fcc:services:map en language requested
    > > 500 GET 14.043 ms - /services/map;block=undefined;dashedName=undefined;lang=en?_csrf=5svrTVrQ-0eXweFX-rdOh4-cUs8OlbhpxgmM&returnMeta=true
    > > Tue, 30 Aug 2016 07:35:02 GMT fcc:services:map en language requested
    > > 500 GET 6.684 ms - /services/map;lang=en?_csrf=5svrTVrQ-0eXweFX-rdOh4-cUs8OlbhpxgmM&returnMeta=true
    > > Tue, 30 Aug 2016 07:35:03 GMT fcc:services:map en language requested
    > > Tue, 30 Aug 2016 07:35:03 GMT fcc:services:map en language requested
    > > 500 GET 11.282 ms - /services/map;lang=en?_csrf=5svrTVrQ-0eXweFX-rdOh4-cUs8OlbhpxgmM&returnMeta=true
    > > 500 GET 9.468 ms - /services/map;block=undefined;dashedName=undefined;lang=en?_csrf=5svrTVrQ-0eXweFX-rdOh4-cUs8OlbhpxgmM&returnMeta=true
    > > Tue, 30 Aug 2016 07:35:03 GMT fcc:services:map en language requested
    > > Tue, 30 Aug 2016 07:35:03 GMT fcc:services:map en language requested
    > > 500 GET 7.375 ms - /services/map;lang=en?_csrf=5svrTVrQ-0eXweFX-rdOh4-cUs8OlbhpxgmM&returnMeta=true
    > > 500 GET 10.543 ms - /services/map;block=undefined;dashedName=undefined;lang=en?_csrf=5svrTVrQ-0eXweFX-rdOh4-cUs8OlbhpxgmM&returnMeta=true

  • Some screenshots: