Failed to run the project fl-maps

Hi everyone, I am new to this group and I have been getting stuck in the following errors during the project setup stage.

I have these installed in my Windows machine
node version: v14.21.3 , npm version: 8.5.3, Meteor 2.12

thank you for the help

And, below is the complete error message I got

Documents\GitHub\fl-maps>npm run start     

> start
> meteor run --settings settings.json

Errors prevented isopacket load:

While loading isopacket `combined`:
C:\Users\vchun\AppData\Local\.meteor\packages\meteor-tool\2.12.0\mt-os.windows.x86_64\tools\fs\tools\fs\files.ts:1060:25:
sourcemapConsumer.destroy is not a function
at C:\Users\vchun\AppData\Local\.meteor\packages\meteor-tool\2.12.0\mt-os.windows.x86_64\tools\fs\tools\fs\files.ts:1060:25
at Function.time
(C:\Users\vchun\AppData\Local\.meteor\packages\meteor-tool\2.12.0\mt-os.windows.x86_64\tools\tool-env\tools\tool-env\profile.ts:284:30)  
at Object.runJavaScript
(C:\Users\vchun\AppData\Local\.meteor\packages\meteor-tool\2.12.0\mt-os.windows.x86_64\tools\fs\tools\fs\files.ts:1037:18)
at C:\tools\isobuild\bundler.js:2275:15
at Function.each
(C:\Users\vchun\AppData\Local\.meteor\packages\meteor-tool\2.12.0\mt-os.windows.x86_64\dev_bundle\lib\node_modules\underscore\underscore-node-f-pre.js:1316:7)
at JsImage.load (C:\tools\isobuild\bundler.js:2109:7)
at C:\tools\tool-env\isopackets.js:311:17
at Object.capture (C:\tools\utils\buildmessage.js:283:5)
at loadIsopacketFromDisk (C:\tools\tool-env\isopackets.js:308:31)
at C:\tools\tool-env\isopackets.js:112:9
at loadIsopackage (C:\tools\tool-env\isopackets.js:121:4)
at ProjectContext._buildResolver (C:\tools\project-context.js:902:34)
at C:\tools\project-context.js:594:29
at Object.enterJob (C:\tools\utils\buildmessage.js:388:12)
at C:\tools\project-context.js:593:20
at C:\tools\packaging\catalog\catalog.js:100:5
at Object.capture (C:\tools\utils\buildmessage.js:283:5)
at Object.catalog.runAndRetryWithRefreshIfHelpful (C:\tools\packaging\catalog\catalog.js:99:31)
at ProjectContext._resolveConstraints (C:\tools\project-context.js:592:13)
at C:\tools\project-context.js:365:35
at Object.enterJob (C:\tools\utils\buildmessage.js:388:12)
at ProjectContext._completeStagesThrough (C:\tools\project-context.js:355:18)
at C:\tools\project-context.js:325:12
at Function.run
(C:\Users\vchun\AppData\Local\.meteor\packages\meteor-tool\2.12.0\mt-os.windows.x86_64\tools\tool-env\tools\tool-env\profile.ts:289:14)  
at ProjectContext.resolveConstraints (C:\tools\project-context.js:324:13)
at C:\tools\runners\run-all.js:82:27
at Object.capture (C:\tools\utils\buildmessage.js:283:5)
at new Runner (C:\tools\runners\run-all.js:81:18)
at Object.exports.run (C:\tools\runners\run-all.js:397:16)
at Command.doRunCommand (C:\tools\cli\commands.js:444:17)
at C:\tools\cli\main.js:1534:15


C:\Users\vchun\AppData\Local\.meteor\packages\meteor-tool\2.12.0\mt-os.windows.x86_64\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:218
      throw error;
      ^

Error: isopacket load failed?
    at loadIsopacketFromDisk (C:\tools\tool-env\isopackets.js:319:11)
    at C:\tools\tool-env\isopackets.js:112:9
    at loadIsopackage (C:\tools\tool-env\isopackets.js:121:4)
    at ProjectContext._buildResolver (C:\tools\project-context.js:902:34)
    at C:\tools\project-context.js:594:29
    at Object.enterJob (C:\tools\utils\buildmessage.js:388:12)
    at C:\tools\project-context.js:593:20
    at C:\tools\packaging\catalog\catalog.js:100:5
    at Object.capture (C:\tools\utils\buildmessage.js:283:5)
    at Object.catalog.runAndRetryWithRefreshIfHelpful (C:\tools\packaging\catalog\catalog.js:99:31)
    at ProjectContext._resolveConstraints (C:\tools\project-context.js:592:13)
    at C:\tools\project-context.js:365:35
    at Object.enterJob (C:\tools\utils\buildmessage.js:388:12)
    at ProjectContext._completeStagesThrough (C:\tools\project-context.js:355:18)
    at C:\tools\project-context.js:325:12
    at Function.run (C:\Users\vchun\AppData\Local\.meteor\packages\meteor-tool\2.12.0\mt-os.windows.x86_64\tools\tool-env\tools\tool-env\profile.ts:289:14)
    at ProjectContext.resolveConstraints (C:\tools\project-context.js:324:13)
    at C:\tools\runners\run-all.js:82:27
    at Object.capture (C:\tools\utils\buildmessage.js:283:5)
    at new Runner (C:\tools\runners\run-all.js:81:18)
    at Object.exports.run (C:\tools\runners\run-all.js:397:16)
    at Command.doRunCommand [as func] (C:\tools\cli\commands.js:444:17)
    at C:\tools\cli\main.js:1534:15
1 Like

I’m going to throw an @WebDev tag here so more people see it and can help out.

@chunh_1 what are you using to emulate linux? I use Oracle VM although duel boot is also a great option. If you aren’t then that is your problem. Devs have got local host running on Windows in the past, but it isn’t stable and constantly breaks.

I can’t remember the exact issue but pretty much its that React and Microsoft don’t play nice together.

@WebDev, hi, I manage to run the project locally by using the method mentioned in the link below:
https://github.com/meteor/meteor/issues/10930#issuecomment-630721277
I can see the homepage loaded without any javascript error message shown in the console but I do see some errors when I was trying to browse certain links.

Below is the screen shot of what I saw from my localhost:3000
Untitled

Am I done with the setup? or there are some other places I should check?

thanks a lot!

1 Like

Well done!

You haven’t set up the Discourse side so you don’t have the live navbar, which is fine for most tasks if you’re coding on the React side only. Its why those links don’t work though, here’s the map:

/map:
https://fl-maps.publichappinessmovement.com/map

You can find all the pages and their relation on the maps side here: https://github.com/focallocal/fl-maps/blob/master/public/dcs-website.json