Meteor-Files: Cannot find module './lib/cookies'

Did an update:

This project is already at Meteor 1.4.4.2, the latest release.

Changes to your project's package version selections from updating package versions:

ostrio:cookies             upgraded from 2.2.0 to 2.2.1
ostrio:files               upgraded from 1.7.13 to 1.7.15
react-meteor-data          upgraded from 0.2.9 to 0.2.11
reywood:publish-composite  upgraded from 1.5.1 to 1.5.2

node Version: 4.8.3 npm Version: 4.6.1

–> Error:

Error: Cannot find module './lib/cookies'
    at require (packages/modules-runtime.js:123:19)
    at meteorInstall.node_modules.request.index.js (packages/modules.js:9409:29)
    at fileEvaluate (packages/modules-runtime.js:197:9)
    at require (packages/modules-runtime.js:120:16)
    at meteorInstall.node_modules.meteor.ostrio:files.files.coffee.js (packages/ostrio_files/files.coffee:10:14)
    at fileEvaluate (packages/modules-runtime.js:197:9)
    at require (packages/modules-runtime.js:120:16)
    at /Users/patrick/dev/orderlion/orderlion_react/app/.meteor/local/build/programs/server/packages/ostrio_files.js:4839:15
    at /Users/patrick/dev/orderlion/orderlion_react/app/.meteor/local/build/programs/server/packages/ostrio_files.js:4850:3
    at /Users/patrick/dev/orderlion/orderlion_react/app/.meteor/local/build/programs/server/boot.js:303:34

Any ideas on this?

Can’t start my app anymore! 😦

best, P

EDIT: I rolled back to 1.7.13, still same error. 😦

EDIT 2: Had to completely remove your package for now. I tried deleting .meteor/local and node_modules, thus re-downloading and installing all packages and stuff. same problem. I hope you guys can help … I am a bit lost what exactly completely broke my app. It is definitely cause by your package (or maybe your “cookie” package) as my app starts up again now.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 26 (12 by maintainers)

Commits related to this issue

Most upvoted comments

yes it worked.

Me neither. Looks like Meteor issue. Could you create a ticket at Meteor rep, pointing to this thread? I’m really curious what MDG will tell us about it.

okay thank you! I will remove the packages one by one and when it stops working again we know which package is needed for it to work! Will post it here! I will get back to you!

You good sir are a hero! 👍 It works again! Any idea “why” this helped? And one question: Will this enlarge my bundle size and/or build time and/or deployment time?! Because I feel like build time is longer … but could be placebo haha!