I am new to meteor. After creating the default meteor project and running it, I am getting this error:
Exception from sub meteor_autoupdate_clientVersions id 7AsCuXcz8A9yRRNm5
TypeError: Cannot read property '_failIfArgumentsAreNotAllChecked' of undefined
My meteor version is 1.4.3.2
Uninstall meteor and reinstall. Everything will be ok.
Related
I'm getting this error when running my NextJS app
TypeError: Cannot read property 'eager' of undefined
at Head.getPreloadMainLinks (/Users/someuser/dev/temp/next-js-10-1-error/mobile/.next/server/pages/_document.js:4936:30)
at Head.render (/Users/someuser/dev/temp/next-js-10-1-error/mobile/.next/server/pages/_document.js:5160:130)
My app was working fine in next js 10.0.1 but does not work on 10.1.3
I created an MVE here: https://github.com/jeznag/next-js-10-1-error
I'm not sure it is a bug in next as even if I revert to 10.0.1 in the MVE, I still get the error. (But in my real app on 10.0.1 I don't get an error)
I setup meteor environment
meteor create todoapp
cd todoapp
Then write meteor and press enter after then I run on localhost:3000 then I receive following error on terminal
Exception from sub meteor_autoupdate_clientVersions id fRm2pMK35Ji2uPut5
TypeError: Cannot read property 'OneOf' of undefined
I don't know what the actual reason of this issue any way I found a solution I uninstalled Meteor the reinstalled it after this the issue has been resolved.
whenever i run any meteor command like
meteor run android-device
it is giving this error
C:\Users\abc\AppData\Local.meteor\packages\meteor-tool\1.4.2_3\mt-os.windows.x86_32\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:190
throw error;
^
Error: No metadata files found for isopack at:
/C/Users/abc/AppData/Local/.meteor/packages/meteor-tool/1.3.2_4
at Isopack._loadUnibuildsFromPath (C:\tools\isobuild\isopack.js:900:13)
i have tried to uninstall and reinstall meteor again, also tried to update version but fails completely.
I get this Error when trying to start my application on my server with the command:
meteor
error:
Error: EISDIR: illegal operation on a directory, unlink '/home/.../.../myapp/.meteor /local/dev_bundle'
at Error (native)
at Object.fs.unlinkSync (fs.js:932:18)
at exports.makeLink (/tools/cli/dev-bundle-links.js:20:8)
at [object Object].ensureDevBundleLink (/tools/project-context.js:1416:7)
at [object Object]._readFile (/tools/project-context.js:1350:10)
at new exports.ReleaseFile (/tools/project-context.js:1300:8)
at /tools/cli/main.js:825:22
My app is running fine on my dev. win. machine.
I have no idea what is causing the error, please help.
I got it working by manually removing all directories and links where the name started with "dev_bundle" inside the "/.meteor/local" directory.
Hope this helps!
Also update meteor to the latest version using meteor update and then follow #henk's solution.
This worked for me.
set METEOR_SETTINGS={"public": {"stage": "development"}}
meteor
Then this line:
console.log(Meteor.settings.public.stage);
causes this error:
W20150612-20:45:38.338(-7)? (STDERR) TypeError: Cannot read property 'stage' of undefined
What am I doing wrong?
From what I understand the environment variable is only for the deployment mode (running a bundle).
In development, i.e., when running meteor, you need to use the --settings command line parameter to specify a file containing the settings.