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

Unable to add Package #45

Open
Zjcompt opened this issue Jun 11, 2019 · 1 comment
Open

Unable to add Package #45

Zjcompt opened this issue Jun 11, 2019 · 1 comment

Comments

@Zjcompt
Copy link

Zjcompt commented Jun 11, 2019

If I try to add this package to my project I get this error:

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

Error: ENOENT: no such file or directory, open 'C:\Users\zcompton\AppData\Local\Temp\mt-1to2b26.8ptjj\os\konecty:user-presence-tests.js'
    at Object.fs.openSync (fs.js:646:18)
    at Object.wrapper [as open] (C:\tools\fs\files.js:1641:35)
    at Object.files.readBufferWithLengthAndOffset (C:\tools\fs\files.js:1887:20)
    at C:\tools\isobuild\unibuild.js:122:26
    at Array.forEach (<anonymous>)
    at Function._.each._.forEach (C:\Users\zcompton\AppData\Local\.meteor\packages\meteor-tool\1.8.1\mt-os.windows.x86_64\dev_bundle\lib\node_modules\underscore\underscore.js:79:11)
    at Function.fromJSON (C:\tools\isobuild\unibuild.js:119:7)
    at C:\tools\isobuild\isopack.js:921:33
    at Array.forEach (<anonymous>)
    at Function._.each._.forEach (C:\Users\zcompton\AppData\Local\.meteor\packages\meteor-tool\1.8.1\mt-os.windows.x86_64\dev_bundle\lib\node_modules\underscore\underscore.js:79:11)
    at Isopack._loadUnibuildsFromPath (C:\tools\isobuild\isopack.js:908:7)
    at _.each (C:\tools\packaging\tropohouse.js:521:21)
    at Array.forEach (<anonymous>)
    at Function._.each._.forEach (C:\Users\zcompton\AppData\Local\.meteor\packages\meteor-tool\1.8.1\mt-os.windows.x86_64\dev_bundle\lib\node_modules\underscore\underscore.js:79:11)
    at buildmessage.enterJob (C:\tools\packaging\tropohouse.js:520:13)
    at Object.enterJob (C:\tools\utils\buildmessage.js:388:12)
    at C:\tools\packaging\tropohouse.js:515:22
    at Object.enterJob (C:\tools\utils\buildmessage.js:388:12)
    at Object.download (C:\tools\packaging\tropohouse.js:427:20)
    at C:\tools\packaging\tropohouse.js:600:22
    at Object.enterJob (C:\tools\utils\buildmessage.js:388:12)
    at exports.Tropohouse.downloadPackagesMissingFromMap (C:\tools\packaging\tropohouse.js:597:20)
    at C:\tools\project-context.js:836:25
    at Object.enterJob (C:\tools\utils\buildmessage.js:388:12)
    at C:\tools\project-context.js:835: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._downloadMissingPackages (C:\tools\project-context.js:834:13)
    at C:\tools\project-context.js:300:9
    at Object.enterJob (C:\tools\utils\buildmessage.js:388:12)
    at ProjectContext._completeStagesThrough (C:\tools\project-context.js:290:18)
    at Profile.run (C:\tools\project-context.js:282:12)
    at Function.run (C:\tools\tool-env\profile.js:490:12)
    at ProjectContext.prepareProjectForBuild (C:\tools\project-context.js:281:13)
    at C:\tools\runners\run-app.js:547:29
    at Object.capture (C:\tools\utils\buildmessage.js:283:5)
    at bundleApp (C:\tools\runners\run-app.js:546:31)
    at AppRunner._runOnce (C:\tools\runners\run-app.js:613:35)
    at AppRunner._fiber (C:\tools\runners\run-app.js:922:28)
    at C:\tools\runners\run-app.js:401:12

Any idea on how to resolve this issue? I am able to get it to work if I force version 2.2.0 like this: konecty:user-presence@=2.2.0.

2.3.0 and 2.4.0 give me the above error.

@Zjcompt
Copy link
Author

Zjcompt commented Jun 11, 2019

I was able to get it to work by cloning the package and putting the most recent version as a local package in project.

https://guide.meteor.com/writing-atmosphere-packages.html#local-packages

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

No branches or pull requests

1 participant