Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 02 14:08
    dr-dimitru closed #73
  • Jan 02 14:08
    dr-dimitru labeled #73
  • Jan 02 02:16
    adamlaska opened #73
  • Dec 12 2022 12:09
    minnie80 commented #72
  • Dec 11 2022 19:43
    dr-dimitru commented #72
  • Dec 11 2022 15:22
    minnie80 closed #72
  • Dec 11 2022 15:22
    minnie80 commented #72
  • Dec 11 2022 13:47
    dr-dimitru labeled #72
  • Dec 11 2022 13:47
    dr-dimitru commented #72
  • Dec 11 2022 10:41
    minnie80 opened #72
  • Oct 24 2022 06:59
    dr-dimitru closed #13
  • Oct 24 2022 06:59
    dr-dimitru commented #13
  • Oct 22 2022 10:42

    dr-dimitru on master

    📔 Documentation update (compare)

  • Oct 22 2022 10:38

    dr-dimitru on 1.3.0

    (compare)

  • Oct 22 2022 10:37

    dr-dimitru on master

    Add prompt before data removal … Minor codebase enhancements 📦 1.3.0 __Changes:__ - 🔧 Fi… (compare)

  • Oct 22 2022 08:51
    dr-dimitru closed #33
  • Oct 22 2022 08:51
    dr-dimitru commented #33
  • Sep 22 2022 13:49
    dr-dimitru closed #63
  • Sep 22 2022 13:49
    dr-dimitru commented #63
  • Sep 22 2022 13:49
    dr-dimitru closed #71
Fabian Vogelsteller
@frozeman
i will try on windows myself, if it get time
Gareth Wright
@GarethWright
Yup, windows I'm afraid.
Actually, no that was on the Mac. I tried windows but it fails generating the index.html
Manually changing the path still loads a blank page with a ton of socks xhr requests which will fail on a file:/// load anyway so perhaps that's why I still get a blank page
Fabian Vogelsteller
@frozeman
the sock errors are not a the priblem, thats just meteor trying to reconnect. but the paths should work
i will have a look
make sure you dont have platform android or iOS set, as this doenst work with meteor-build-client for now
Gareth Wright
@GarethWright
Thanks frozeman. No there is no platform set.

This is the error I get on windows: `Generating the index.html...

fs.js:772
return binding.unlink(pathModule._makeLong(path));
^
Error: EPERM, operation not permitted 'C:\Users\garethw\Desktop\Tidy\rmsClient\b
undle\main.js'
at Object.fs.unlinkSync (fs.js:772:18)
at C:\Users\garethw\AppData\Roaming\npm\node_modules\meteor-build-client\met
eor.js:45:20
at Array.forEach (native)
at deleteFolderRecursive (C:\Users\garethw\AppData\Roaming\npm\node_modules\
meteor-build-client\meteor.js:40:15)
at Object.module.exports.cleanUp (C:\Users\garethw\AppData\Roaming\npm\node_
modules\meteor-build-client\meteor.js:165:9)
at C:\Users\garethw\AppData\Roaming\npm\node_modules\meteor-build-client\mai
n.js:84:20
at null._onTimeout (C:\Users\garethw\AppData\Roaming\npm\node_modules\meteor
-build-client\queue.js:41:11)
at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
`

Fabian Vogelsteller
@frozeman
Looks like a permission problem
Gareth Wright
@GarethWright
Creating an index file manually seems to work. Not sure why eveything else works but that doesn't
Fabian Vogelsteller
@frozeman
could yo try coping the folder somewhere else and run again?
Gareth Wright
@GarethWright

Yup done that. Same thing. I'm pretty sure this is linked to the file name issue I posted. The css and js file names cannot be served by http-server because the filenames are too long. I have to shorten them, after which they work fine. ```Generating the index.html...

fs.js:772
return binding.unlink(pathModule._makeLong(path));
^
Error: EPERM, operation not permitted 'C:\rms5Client\5bfc97ade90aff3c0e92c06cc55
823f48b82e302.css'
at Object.fs.unlinkSync (fs.js:772:18)
at Object.module.exports.addIndexFile (C:\Users\garethw\AppData\Roaming\npm\
node_modules\meteor-build-client\meteor.js:118:16)
at C:\Users\garethw\AppData\Roaming\npm\node_modules\meteor-build-client\mai
n.js:79:20
at null._onTimeout (C:\Users\garethw\AppData\Roaming\npm\node_modules\meteor
-build-client\queue.js:41:11)
at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
```

Fabian Vogelsteller
@frozeman

why should the file names length be a problem, when they work on any meteor server?

googling the EPERM issue i found this:

"Oh my god. That is it after all. I disabled my anti-virus software (NOD32 in my case) and retried the original code. It installed flawlessly on the first go. That is just, wow."

fucking windows :P
also try npm cache clean
فيصل أحمد // faii ♥
@faiizow
Has anyone used this to host their front-end on a CDN?
Fabian Vogelsteller
@frozeman
should work without problems, its just static files
Gareth Wright
@GarethWright
Not the antivirus.... Disabled it. Inspecting the 5bfc97ade90aff3c0e92c06cc55
823f48b82e302.css file it is created with the readonly flag set, as are all the other files. Otherwise all permissions are fine.
Fabian Vogelsteller
@frozeman
so still the same problem?
and npm chache clean?
Gareth Wright
@GarethWright
same issue
It does build everything else, so at the moment I'm copying in a working index.html and renaming the css and js files with a .bat
If only I wasn't tied to a PC at work!
Fabian Vogelsteller
@frozeman
so eveyrthing works, besides you get errors with the file name length?
Gareth Wright
@GarethWright
Everything works except generating index.html and file name length for css and js

Generating the index.html...

fs.js:772 return binding.unlink(pathModule._makeLong(path)); ^ Error: EPERM, operation not permitted 'C:\Users\garethw\Desktop\Tidy\rmsClient\5 bfc97ade90aff3c0e92c06cc55823f48b82e302.css' at Object.fs.unlinkSync (fs.js:772:18) at Object.module.exports.addIndexFile (C:\Users\garethw\AppData\Roaming\npm\ node_modules\meteor-build-client\meteor.js:120:16) at C:\Users\garethw\AppData\Roaming\npm\node_modules\meteor-build-client\mai n.js:84:20 at null._onTimeout (C:\Users\garethw\AppData\Roaming\npm\node_modules\meteor -build-client\queue.js:41:11) at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)

Fabian Vogelsteller
@frozeman
thanks, i’m currently very bussy, but i will take a look asp
Gareth Wright
@GarethWright
No problem frozeman, I have the workaround so no hurry
Tom
@thenametomwastaken

Hi guys. Is there a step I'm missing when using this and Iron Router? I can hit the login page of my app and get redirected based on the logic in a Router.onBeforeActioncall but then navigating anywhere else just gives me a blank page.

I'm building like this meteor-build-client ../build -u http://localhost:8081 and then accessing the app from a Python SimpleHTTPServer.

Fabian Vogelsteller
@frozeman
the problem is that you need to configure your server to rewrite urls, and aleways point them to the index.html, so your js can do the routing.
If you really redirect then youre not in a meteor app anymore.
just a guess
Tom
@thenametomwastaken
Ah I see. I'll try that, thanks.
Gareth Wright
@GarethWright
Check the issues kenny. Solution is in there :)
Manuel Morejón Espinosa
@mmorejon
Hi, I'm using meteor-build-client ../tmp -p /casa/ and then accessing the app from nginx
Fabian Vogelsteller
@frozeman
ok
and?
or was that an answer on the above form one moths ago?
Manuel Morejón Espinosa
@mmorejon
the browser print Oops, looks like there's no route on the client or the server for url: "http://linux.pentlab.com/casa/."
i check errors on Inspect view
Fabian Vogelsteller
@frozeman
did you upload it?
Manuel Morejón Espinosa
@mmorejon
and show this http://linux.pentlab.com/sockjs/info?cb=_hp4ljvczb 404 (Not Found)
what can I do please?
Fabian Vogelsteller
@frozeman
Thats ok, this is meteors first try to reconnect, we cant prevent this
Manuel Morejón Espinosa
@mmorejon
yes I saw the issue
when you explain that
I refresh the page but I get the same
maybe I am doing something wrong
Manuel Morejón Espinosa
@mmorejon
What I have noticed is that in the path which shows the error, does not appear to subpath /casa/
Is this a correct behavior?