Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meteor commands causes RangeError #7896

Closed
ADobrzycki opened this issue Oct 8, 2016 · 83 comments
Closed

meteor commands causes RangeError #7896

ADobrzycki opened this issue Oct 8, 2016 · 83 comments

Comments

@ADobrzycki
Copy link

I installed Meteor.js version 1.4 using the windows installer on Windows 10 Pro 64-bit. When I run

meteor --version
or any other meteor command (besides the meteor npm commands) I get the following message:


C:\Users\adam\AppData\Local.meteor\packages\meteor-tool\1.4.1_2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\cordova-lib\node_modules\cordova-common\node_modules\q\q.js:86
    hasStacks = !!e.stack;
                   ^

RangeError: Maximum call stack size exceeded

This is not the first time I've installed Meteor.js. It was working fine the first time around. I was able to do the entire blaze todo app tutorial.

I started setting up the linter according to https://guide.meteor.com/code-style.html. I did the instructions in http://info.meteor.com/blog/set-up-sublime-text-for-meteor-es6-es2015-and-jsx-syntax-and-linting up to step 3 inclusive.

I then did all the steps in "Installing and running ESLint" in the code style. It was after these steps that I started getting the error mentioned above.

I tried uninstalling, reinstalling and still get the same error. Also I tried uninstalling meteor, deleting any file in my C drive that had meteor in it, then reinstalling.

@hadihallak
Copy link

the only way i was able to get around this issue was by creating a new user account on windows then you login into that account then install meteor again and it would work

@ADobrzycki
Copy link
Author

Just did that and it works. Thanks for that! Although it would be nice if someone had some idea about why this happened and how I could get it to work in my original profile.

@abernix
Copy link
Contributor

abernix commented Oct 10, 2016

@ADobrzycki Try reinstalling with these specific instructions, please:

  • Uninstall Meteor from:
    • Win10: Settings > System > Apps & features > Meteor > Uninstall
    • Win7: Control Panel > Programs > Programs and Features > Meteor > Uninstall
  • Using Windows Explorer, delete the .meteor folder from %LOCALAPPDATA% completely. If you are unable to delete it due to long file-path errors, please try using the 7-zip File Explorer application to do it instead.
  • Install fresh 1.4.1.2 from https://install.meteor.com/windows (skip logging in at end due to Windows installer: "Login failed" during install #6218 bug)
  • Restart (This is very important)
  • Open Command Prompt and type meteor --version to confirm it's working.

@hadihallak
Copy link

@abernix I did all of the steps suggested by you and i'm still getting :

C:\Users\Hadi\AppData\Local\.meteor\packages\meteor-tool\1.4.1_2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\cordova-lib\node_modules\cordova-common\node_modules\q\q.js:86 hasStacks = !!e.stack; ^

RangeError: Maximum call stack size exceeded

@abernix
Copy link
Contributor

abernix commented Oct 11, 2016

@hadihallak How or what changed for you to start experiencing this in the first place?

@hadihallak
Copy link

@abernix

  1. Meteor was working , NPM was working , Node was working.
  2. windows 10 updated itself while i was away to version 1607 and after finishing the update my pc did a restart to install the update..
  3. after installing the update my pc wouldn't boot because there was some sort of compatibility issue with avg internet security and the new update.
  4. i did a safe mode boot to remove avg and all of its components using avg removal tool which worked and i was able to get past the error i was getting
  5. after trying to boot again to windows i was getting a black screen with no error messages .
  6. i went in safe mode again and disabled all non windows startup programs and services since i thought it might be a virus preventing windows from booting normally which in the end didn't work and i still wasn't able to boot to windows .
  7. went into safemode again and uninstalled my GPU driver. this solution worked and i was able to login to my account but with no wifi and installing new wifi drivers didnt help with solveing the issue. so ,i decided after all to rollback to the previous windows version .
  8. after rolling-back to the previous windows version everything was working except that when i tried running Meteor commands i was getting that error . after that i tried NPM and Node commands and all returned the same RangeError: Maximum call stack size exceeded with the q.js file.
  9. uninstalled meteor with all of its temp data and re installed, error was still there. did the same with NPM and Node and this time NPM and Node commands worked while Meteor commands remains not working.

hopefully, this wall of text will be useful with debugging the issue...

@abernix
Copy link
Contributor

abernix commented Oct 11, 2016

@hadihallak Walls-of-text are almost always helpful in debugging. Thank you! No further updates right now but hopefully something soon. It appears that some larger Cordova updates are coming down the pipeline, hopefully in Meteor 1.4.2, which could help as well.

At the very least, it sounds like a Windows Anniversary Edition virtual machine might be in my future. 😉

@Waiski
Copy link

Waiski commented Dec 1, 2016

I have this problem too, with Meteor 1.4.2.3 on Windows 7. Meteor was running fine until I did meteor npm install -g yarn and tried meteor yarn, which gave the exact same error message as in the original post, and now every meteor command does the same. I tried removing AppData\Local\.meteor and reinstalling Meteor, but this did not help.

Is there any additional debugging information that I could provide to help solve this issue?

@abernix
Copy link
Contributor

abernix commented Dec 1, 2016

@Waiski Which command prompt are you using (e.g. cmd.exe, PowerShell, BashOnWindows) and what is the output of:

systeminfo | findstr /C:"OS"

@pabloazurduy
Copy link

pabloazurduy commented Dec 21, 2016

Hi everyone, I have the same error as @Waiski, also in win7, meteor was working fine and then, suddenly (i don't remember exactly after what), the meteor command was not longer working, I'm gonna try with a restore point, because i cant create a new user in this station.

Update: I couldn't find a restoring point, have someone found a solution for this ? :(

@abernix
Copy link
Contributor

abernix commented Dec 27, 2016

@pabloazurduy Does the problem go away if you reinstall Meteor?:

  • Uninstall Meteor from:
    • Win10: Settings > System > Apps & features > Meteor > Uninstall
    • Win7/Win8.1: Control Panel > Programs > Programs and Features > Meteor > Uninstall
  • Using Windows Explorer, delete the .meteor folder from %LOCALAPPDATA% completely. If you are unable to delete it due to long file-paths, please try using the 7-zip File Explorer application to do it instead.
  • Install fresh from https://install.meteor.com/windows (skip logging in at end due to Windows installer: "Login failed" during install #6218 bug)
  • Restart
  • Try again!

Please report back how it goes.

@brendonlamb
Copy link

brendonlamb commented Dec 28, 2016

Same problem here... I was messing around with Next.JS and yarn... now I can't run meteor at all.

At the time I installed the latest LTS version of Node as well. Since i've uninstalled everything related to node, meteor, yarn, totally wiped my Temp folder and .meteor folders... still no luck starting meteor (even just running "meteor" doesn't work).

C:\Users\zzzzzzz\AppData\Local\.meteor\packages\meteor-tool\1.4.2_3\mt-os.windows.x86_32\dev_bundle\lib\node_modules\q\q.js:70 hasStacks = !!e.stack; RangeError: Maximum call stack size exceeded

@brendonlamb
Copy link

So i tried making a fresh user account in windows and installing that way:

The install took the normal 10 minutes and one completed I was able to run "meteor" normally and get the typical response:

image

So somethings awry with the installer, my test account version of meteor is different than my main account...

image

Something is messing up the installer... i'm guessing maybe a permissions issue when it's extracting files (although i've tried run as admin a few times)

@abernix abernix changed the title meteor commands causes RangeError Windows 10 meteor commands causes RangeError Dec 28, 2016
@abernix
Copy link
Contributor

abernix commented Dec 28, 2016

Thank you everyone for the debugging efforts.

This is very difficult to fix without a reproduction so if you could figure out what the differences are that would be most helpful. For example, step by steps to break your new user account or possibly some sort of recursive diff on those directories. (In Unix this is relatively easy, but I'm not sure what to recommend for Windows).

Also, consider running Meteor from a checkout and doing some more serious debugging! I'm happy to try to point those willing to find the problem in the right direction as much as possible, but don't regularly work on Windows (nor have I encountered this on any of my Windows VirtualBox versions).

@brendonlamb
Copy link

brendonlamb commented Dec 28, 2016

K, Fully wiped anything with the word meteor in it in my appdata folder and user folder (except for my projects which i figure shouldn't matter) restarted, tried a fresh download and install. Same results... The meteor install in my main account has 173 less files in it...

Few more observations- my main install has less files but it's larger in size on the disk... maybe something didn't extract?

Further- and i'm sure this was happening on my test install as well but who knows if this could be impacting things... the windows anti-malware service is chugging right along during the install/extraction process:

anti-malware-while-installing-meteor

Further- the only obvious difference i see between the working and non-working meteor installs is the package-metadata folder differs (missing a couple files in the non-functioning account)- copying these didn't solve the problem though.

(hope these screenshots aren't too annoying haha)

image

edit- Trying http://winmerge.org/ to compare the two installs.

@brendonlamb
Copy link

Results are in, the difference between the working install and non-working:
diff.zip

The issues are between two packages, less and meteor-tool. Most of meteor-tool appears to be missing and just a couple things from less are missing.

What would stop the installer from installing meteor-tool properly? Could this be a registry issue and if so what entries could I delete to ensure a clean uninstall/install of meteor.

Going to try and copy "right to left" and get the working installation of meteor from the test account on my main account.

@brendonlamb
Copy link

brendonlamb commented Dec 28, 2016

Interesting... so any copy operations from the working meteor installation (.meteor folder) are failing as well... I've tried using Explorer, TeraCopy- and also zipping the whole thing with a fresh install of 7Zip (and then moving it)....

Even using RoboCopy on just the meteor-tool folder i get strange results:

image

Windows... why?!

It's almost as if something is wrong with my user folder, maybe the drive even? Seems far fetched since this is only a few months old SSD (850 Evo) but who knows.

Maybe something with path names that are too long? Though it's confusing that it installed on a fresh account no issue.

I tried "chkdsk" - no bad sectors... very strange. -- also tried sfc /scannow no issues there either.

@brendonlamb
Copy link

Any way to install an older version of meteor-tool? I see in the latest change log:

The Windows installer now always fetches the latest available version of Meteor at runtime, so that it doesn't need to be recompiled for every release.

I'm wondering if the current version of meteor is causing this somehow? Just tried my 3rd full/clean install, did a CCleaner registry clean too... i'm at a loss :( Really need this to be reliable for an upcoming project.

@brendonlamb
Copy link

Well, shower thought I had for a temporary fix if anyone's having this issue. Without having to wipe my whole main account or start fresh in a new one it occurred to me to just do this:

image

As I had a working install on the fresh account I figured why not just point my Path variable there.

I hope my rantings above help with a solution... i'm pretty stumped. :(

@brendonlamb
Copy link

@abernix Any way to force the windows installer to use/install a different version of meteor-tool?

@abernix
Copy link
Contributor

abernix commented Jan 3, 2017

@brendonlamb Have you tried using the --release flag to the meteor command? i.e. meteor --release 1.4.1.3 (or a version you'd like to try).

@brendonlamb
Copy link

@abernix I can't because nothing "meteor" works, literally any "meteor" command will cause the "RangeError: Maximum call stack size exceeded" error.

The issue lies between the Meteor installer and Windows... a failure to write or extra files correctly by the looks of it.

It's just strange that I can install it fine on a fresh windows user account but not (after a clean wipe of Meteor) on my main windows user account.

@abernix
Copy link
Contributor

abernix commented Jan 3, 2017

@brendonlamb I would definitely try a complete reinstall (instructions from me above) and avoid using Administrator privileges for anything (the install, or command prompt you run meteor from). Also maybe try disabling your Anti-Virus?


I guess you can also try the Alternate Windows Installation. If you want to install a specific version, you could use a link in the form of this in place of the bootstrap-link URL in the instructions:

https://meteorinstall-4168.kxcdn.com/packages-bootstrap/1.4.2.3/meteor-bootstrap-os.windows.x86_32.tar.gz

...where 1.4.2.3 is the version you'd like to install.

@brendonlamb
Copy link

brendonlamb commented Jan 3, 2017

Just tried five installs with the alternative method...

1 - 7Zip Extracting to .meteor returns about 90 errors, "Cannot create symbolic link accessed denied" (something like that)

2 - Opened Zip as Admin and extracted to .meteor- this worked but I still can't run any meteor commands.

3 - Repeated above in a .meteor2 folder to see if somehow the .meteor folder/path is causing the problem- repointed my PATH var to this folder but still get the same RangeError from q.js

On my 3rd attempt I disabled windows defender (which i've spotted has pretty high CPU usage during 7zip extractions) - this made the extraction take 3 minutes instead of 15 minutes but it resulted in the same number of extracted files (and as i said, same results with meteor)...

Guess that's one thing to note for anyone installing meteor, disabling Windows Defender real-time protection speeds up the install by a lot... not that it helps the current issue.

4 - this time i tried extracting (with admin, win defender turned off) to a "meteor" folder on my desktop. This extraction resulted in more files than the previous attempts (fully unpacked it was 95,177 files). I repointed my path variable to this two install location but with no luck- any meteor commands still give the error (and just to clarify- they mention the file by absolute path and I can see it's referencing the new install location on my desktop.)

5 - repeating my fourth attempt except "outside" of my user folder all together directly in C:/meteor, (admin, win defender off) - this resulted in a meteor folder with 96,039 files... This is where it gets interesting.

On this fifth attempt i got a different error message, meteor started breathing:
"Can't get default release version for track undefined "
#4702

I set my METEOR_WAREHOUSE_DIR variable as mentioned here:
#4702 (comment)

And now meteor is working.

Something about my windows user/account folder isn't happy with meteor? 7zip? large paths? maybe symbolic links?

Simple solution for this would be to allow an "advanced" install option in the meteor installer to put it into a different directory other than the user's appdata folder. - Still, strange this happening in the first place...

Sidenote- If you're having trouble extracting "std:accounts" (ie- it's taking 5 hours and doing nothing) when setting up a project try replacing the "7z.exe" within "meteor\packages\meteor-tool\1.4.2_3\mt-os.windows.x86_32\dev_bundle\bin" with the latest version (in your 7 Zip installation or the portable download on their site)

@jtm297
Copy link

jtm297 commented Jan 10, 2017

UPDATE: Uninstalling Atom and deleting all folders inside AppData relating to npm or node and installing Meteor from the executable seems to have resolved the issue. It may be related to a conflict with Atom and the npm that it uses. My theory is that during install it attempts to use that npm installation and it causes some issue.

IMPORTANT: Performing the actions below did not allow me to successfully run the simple-todos tutorial. It seemed to have issues with recognizing ES6 despite all attempts to make it work (it complains about "export" when attempting to start the web server).

I also started experiencing this issue right after I installed Meteor directly onto of a previous Meteor installation in Windows. My solution was moving .meteor outside the %LOCALAPPDATA% into C:\Meteor and updating the PATH env variable and adding a METEOR_WAREHOUSE_DIR.

I noticed that METEOR_WAREHOUSE_DIR did not exist even after the Windows binary install, and I think it was part of the issue. It also seems there was an issue with long path names because even putting it into C:\Users worked, but once I put it inside a deeper folder, it started having the stack issue. Hope this helps anyone reading it. I am using Windows 7 64 Bit.

Note: I installed Meteor using the .exe file. I continuously had issues extracting with 7zip (long path error from Windows), even with the most updated version. Yes, I am aware the .exe installation is not proper anymore due to moving the .meteor folder and uninstalling may have issues.

@dexter69
Copy link

The same here. I have node and npm installed (playing with alngular). Solution by sproleee was not for me as I do not want my angular projects to stop working. I repeated steps provided by elimiller22 and now it works. So looks like the problem still remains (I installed fresh 1.5.2.2). And I use windows 10 pro x64.
Thanks!

@hwillson
Copy link
Contributor

hwillson commented Nov 1, 2017

To anyone still encountering this issue - please try upgrading to Meteor 1.6 using Meteor's new Windows installation process. If you're still encountering this issue with 1.6 (after installing via choco install meteor), please post back and let us know. Thanks!

@hwillson hwillson closed this as completed Nov 1, 2017
@hounaine
Copy link

Windows PowerShell
Copyright (C) 2013 Microsoft Corporation. Tous droits réservés.

PS C:\Windows\system32> choco install meteor
Chocolatey v0.10.8
Installing the following packages:
meteor
By installing you accept licenses for the packages.
Progress: Downloading chocolatey-core.extension 1.3.3... 100%
Progress: Downloading meteor 0.0.1... 100%

chocolatey-core.extension v1.3.3 [Approved]
chocolatey-core.extension package files install completed. Performing other installation steps.
Installed/updated chocolatey-core extensions.
The install of chocolatey-core.extension was successful.
Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-core'

meteor v0.0.1 [Approved]
meteor package files install completed. Performing other installation steps.
The package meteor wants to run 'chocolateyinstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[N]o/[P]rint): y

Removing exising Meteor installation with installer
=> "C:\Users\Pc_user\AppData\Local\Package Cache{e2d162ba-d521-4ab7-89c0-bcddd6010381}\InstallMeteor.exe" /uninstall
/quiet
Chocolatey timed out waiting for the command to finish. The timeout
specified (or the default value) was '2700' seconds. Perhaps try a
higher --execution-timeout? See choco -h for details.
The install of meteor was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\meteor\tools\chocolateyinstall.ps1'.
See log for details.

Chocolatey installed 1/2 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures

  • meteor (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\meteor\tools\chocolateyinstall.ps1'.
    See log for details.
    PS C:\Windows\system32>

@hounaine
Copy link

see log file to see why chocolatey failed to install meteor
chocolatey.log

@hounaine
Copy link

LAST TRY WORKS >> BUT...
PS C:\Windows\system32> choco install meteor
Chocolatey v0.10.8
Installing the following packages:
meteor
By installing you accept licenses for the packages.
Progress: Downloading meteor 0.0.1... 100%

meteor v0.0.1 [Approved]
meteor package files install completed. Performing other installation steps.
The package meteor wants to run 'chocolateyinstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[N]o/[P]rint): y

Downloading meteor 64 bit
from 'https://packages.meteor.com/bootstrap-link?arch=os.windows.x86_64'
Progress: 100% - Completed download of C:\Users\Pc_user\AppData\Local\Temp\chocolatey\meteor\0.0.1\meteor-bootstrap-os.w
indows.x86_64.tar.gz (140.52 MB).
Download of meteor-bootstrap-os.windows.x86_64.tar.gz (140.52 MB) completed.
Extracting C:\Users\Pc_user\AppData\Local\Temp\chocolatey\meteor\0.0.1\meteor-bootstrap-os.windows.x86_64.tar.gz to C:\U
sers\Pc_user\AppData\Local\Temp\chocolatey\meteor\0.0.1...
C:\Users\Pc_user\AppData\Local\Temp\chocolatey\meteor\0.0.1
Extracting C:\Users\Pc_user\AppData\Local\Temp\chocolatey\meteor\0.0.1\meteor-bootstrap-os.windows.x86_64.tar to C:\User
s\Pc_user\AppData\Local...
C:\Users\Pc_user\AppData\Local


Meteor has been installed!

To get started fast:

$ meteor create ~/my_cool_app
$ cd ~/my_cool_app
$ meteor

Or see the docs at:

https://docs.meteor.com


The install of meteor was successful.
Software installed to 'C:\Users\Pc_user\AppData\Local'

Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
PS C:\Windows\system32>

@hounaine
Copy link

I AM STILL GETTING SAME ERROR WITH METEOR 1.6

C:\Users\Pc_user\AppData\Local.meteor\packages\meteor-tool\1.6.0\mt-os.windows.
x86_64\tools\tool-env\source-map-retriever-stack.js:31
function tryAllSourceMapRetrievers(filename) {
^

RangeError: Maximum call stack size exceeded

@hounaine
Copy link

AFTER RESTARTING
C:\Users\Pc_user\node_modules\underscore\underscore.js:1143
_.has = function(obj, key) {
^

RangeError: Maximum call stack size exceeded

@hounaine
Copy link

WHEN TRYING AGAIN SAME MESSAGE AND AGAIN I AM GETTING THIS (if it helps..)
C:\Users\Pc_user\AppData\Local.meteor\packages\meteor-tool\1.6.0\mt-os.windows.
x86_64\tools\fs\files.js:59
var useParsedSourceMap = function (pathForSourceMap) {
^

RangeError: Maximum call stack size exceeded

@hounaine
Copy link

STILL TRYING TO SOLVE THE ISSUE
something is related to this >>
Shortcut function for checking if an object has a given property directly on itself (in other words, not on a prototype).

@hounaine
Copy link

UNINSTALLED METEOR FRESH INSTALLATION >>>
Microsoft Windows [version 6.3.9600]
(c) 2013 Microsoft Corporation. Tous droits réservés.

C:\Users\Pc_user>meteor
C:\node_modules\source-map-support\source-map-support.js:51
return function(arg) {
^

RangeError: Maximum call stack size exceeded

C:\Users\Pc_user>meteor
C:\node_modules\source-map-support\source-map-support.js:51
return function(arg) {
^

RangeError: Maximum call stack size exceeded

C:\Users\Pc_user>meteor
C:\node_modules\source-map-support\source-map-support.js:51
return function(arg) {
^

RangeError: Maximum call stack size exceeded

C:\Users\Pc_user>

GAVE UP

@abernix
Copy link
Contributor

abernix commented Nov 14, 2017

@hounaine Can you temporarily move your global node_modules directory, located at C:\Users\Pc_user\node_modules to another name, like, node_modules.old?

@hounaine
Copy link

hounaine commented Nov 14, 2017

@abernix. Tnx. I did that moved node_modules directory to node_modules.old. I got the same error (line 51) then l restarted now the error is here
C:\Users\Pc_user\AppData\Local.meteor\packages\meteor-tool\1.6.0\mt-os.windows.
x86_32\tools\tool-env\source-map-retriever-stack.js:31
function tryAllSourceMapRetrievers(filename) {
^

RangeError: Maximum call stack size exceeded

AND AGAIN TRYING meteor --version
C:\node_modules\source-map-support\source-map-support.js:51
return function(arg) {
^

RangeError: Maximum call stack size exceeded

@abernix
Copy link
Contributor

abernix commented Nov 14, 2017

@hounaine Can you check the output of meteor node -p 'module.paths' on your machine and consider moving any other global node_modules directories which might exist from that list, out of the way (in a similar fashion, by moving to .old)?

For example, I think on Windows it's also possible that they are in %AppData%\npm\node_modules or even %AppData%\Roaming\npm\node_modules – the answer to "where might a global npm package directory live?" seems complicated, and I hope that the command above might reveal a problematic module search path, though this is really just a theory.

Also, is there anything of interest in your username itself? For example, a space or an accented character?

@hounaine
Copy link

hounaine commented Nov 15, 2017

@abernix THANK YOU.

FIRST l did that >>
C:\Users\Pc_user>meteor node -p 'module.paths'
module.paths

C:\Users\Pc_user>

THEN I MOVED DIRECTORY FROM %AppData%\Roaming\npm\node_modules TO .old
I AM GETTING THE SAME ERROR
AND
C:\Users\Pc_user>meteor node -p 'module.paths'
module.paths

C:\Users\Pc_user>

@hounaine
Copy link

@abernix my username is pc_user

@hounaine
Copy link

WHEN CHANGING USER
C:\Users>cd hounaine

C:\Users\Hounaine>meteor --version
C:\node_modules\source-map-support\source-map-support.js:53
var ret = listi;
^

RangeError: Maximum call stack size exceeded

C:\Users\Hounaine>

REMEMBER node_modules is an empty directory !!!!

@hounaine
Copy link

hounaine commented Nov 15, 2017

@abernix >> YOUR idea was the good one, there was a node_modules folder in root C:
NOW >>>>
C:\Users\Hounaine>meteor --version
Meteor 1.6

C:\Users\Hounaine>
WORKING - WORKING -WORKING
Thank you.

@hounaine
Copy link

one more remark
when l try to run meteor app it fails >> seems some packages are missing >> l deleted c:\node_modules and kept c:\users\pc_user\node_modules
Is it possible that i deleted some needed packages in c:\nodes_modules ?
(i have another meteor app) >> that one works !

@abernix
Copy link
Contributor

abernix commented Nov 16, 2017

First, I realize it's tempting to post multiple updates to this issue as you discover more information, but please keep in mind that every update to an issue sends out approximately 2000 notification e-mails, in addition to GitHub notifications, to all the watchers of a repository. In future updates, please try to consolidate, or use the "Edit" feature of GitHub, rather than posting a new update! Thanks!

None of the node_modules that Meteor needs should be in C:\node_modules\, or any place outside of your application's node_modules directory, with the notable exception of the Meteor dev_bundle, which is buried deep in your %localappdata%\.meteor\packages\meteor-tool\...\...\ directory. You shouldn't need to touch that part of the installation though.

I'm glad you've partially solved the problem though! Unfortunately, without an exact error message or a reproduction, it's hard to help further, but please make sure you've run meteor npm install within your application, and if you're still having a problem, consider opening a new issue, keeping in mind that reproduction steps and error messages are important for that step! The guidelines for reporting a bug have more information on what's needed.

@hounaine
Copy link

@abernix Thank you. I'll keep in mind all what you said.

@durjoy28
Copy link

durjoy28 commented Oct 16, 2018

I just installed meteor 1.8 in my win.10 pc by using choco but when I'm going to open a new project it's throw error;
^

RangeError: Maximum call stack size exceeded
why the error is generated?

@durjoy28
Copy link

screenshot 41

@durjoy28
Copy link

My problem is solved. Just, I changed my another node_modules folder C:\Users\Durjoy\node_modules_old previously it was C:\Users\Durjoy\node_modules. I shared for others as if they can solve easily when they will face the same problem.

@hounaine
Copy link

Can you share your website, if there is any website...
Since there is no demo of the code..:)
Thank you.

@toledoroy
Copy link

changed my another node_modules folder C:\Users\Durjoy\node_modules_old

This actually works!
deleted my C:\Users\User\node_modules and things are back to normal

Thanks @durjoy28 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests