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

Sample app is failing to run. Please help!!! #15

Open
fshafique opened this issue Apr 25, 2018 · 9 comments
Open

Sample app is failing to run. Please help!!! #15

fshafique opened this issue Apr 25, 2018 · 9 comments

Comments

@fshafique
Copy link

I followed the directions to the letter:
From the project folder: C:\Development\Meteor Projects\meteor-auth0\examples\sample-app
I ran: meteor --settings production.settings.json

And I got an error that I have no idea how to fix:

[[[[[ C:\Development\Meteor Projects\meteor-auth0\examples\sample-app ]]]]]

=> Started proxy.
C:\Users\fshafique\AppData\Local\.meteor\packages\meteor-tool\1.6.1\mt-os.windows.x86_64\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:218
      throw error;
      ^

TypeError: Path must be a string. Received undefined
    at assertPath (path.js:28:11)
    at relative (path.js:1262:5)
    at ImportScanner._getRelativeImportId (C:\tools\isobuild\import-scanner.js:662:24)
    at each (C:\tools\isobuild\import-scanner.js:632:33)
    at _.each._.forEach (C:\Users\fshafique\AppData\Local\.meteor\packages\meteor-tool\1.6.1\mt-os.windows.x86_64\dev_bundle\lib\node_modules\underscore\underscore.js:87:22)
    at ImportScanner._resolve (C:\tools\isobuild\import-scanner.js:621:7)
    at each (C:\tools\isobuild\import-scanner.js:728:29)
    at _.each._.forEach (C:\Users\fshafique\AppData\Local\.meteor\packages\meteor-tool\1.6.1\mt-os.windows.x86_64\dev_bundle\lib\node_modules\underscore\underscore.js:87:22)
    at ImportScanner._scanFile (C:\tools\isobuild\import-scanner.js:719:5)
    at each (C:\tools\isobuild\import-scanner.js:812:12)
    at _.each._.forEach (C:\Users\fshafique\AppData\Local\.meteor\packages\meteor-tool\1.6.1\mt-os.windows.x86_64\dev_bundle\lib\node_modules\underscore\underscore.js:87:22)
    at ImportScanner._scanFile (C:\tools\isobuild\import-scanner.js:719:5)
    at each (C:\tools\isobuild\import-scanner.js:812:12)
    at _.each._.forEach (C:\Users\fshafique\AppData\Local\.meteor\packages\meteor-tool\1.6.1\mt-os.windows.x86_64\dev_bundle\lib\node_modules\underscore\underscore.js:87:22)
    at ImportScanner._scanFile (C:\tools\isobuild\import-scanner.js:719:5)
    at each (C:\tools\isobuild\import-scanner.js:812:12)
    at _.each._.forEach (C:\Users\fshafique\AppData\Local\.meteor\packages\meteor-tool\1.6.1\mt-os.windows.x86_64\dev_bundle\lib\node_modules\underscore\underscore.js:87:22)
    at ImportScanner._scanFile (C:\tools\isobuild\import-scanner.js:719:5)
    at each (C:\tools\isobuild\import-scanner.js:812:12)
    at _.each._.forEach (C:\Users\fshafique\AppData\Local\.meteor\packages\meteor-tool\1.6.1\mt-os.windows.x86_64\dev_bundle\lib\node_modules\underscore\underscore.js:87:22)
    at ImportScanner._scanFile (C:\tools\isobuild\import-scanner.js:719:5)
    at each (C:\tools\isobuild\import-scanner.js:812:12)
    at _.each._.forEach (C:\Users\fshafique\AppData\Local\.meteor\packages\meteor-tool\1.6.1\mt-os.windows.x86_64\dev_bundle\lib\node_modules\underscore\underscore.js:87:22)
    at ImportScanner._scanFile (C:\tools\isobuild\import-scanner.js:719:5)
    at outputFiles.forEach.file (C:\tools\isobuild\import-scanner.js:414:14)
    at Array.forEach (<anonymous>)
    at ImportScanner.scanImports (C:\tools\isobuild\import-scanner.js:412:22)
    at sourceBatches.forEach.batch (C:\tools\isobuild\compiler-plugin.js:1045:17)
    at Array.forEach (<anonymous>)
    at Function.computeJsOutputFilesMap (C:\tools\isobuild\compiler-plugin.js:1013:19)
    at ClientTarget._emitResources (C:\tools\isobuild\bundler.js:1057:8)
    at buildmessage.enterJob (C:\tools\isobuild\bundler.js:828:12)
    at C:\tools\utils\buildmessage.js:359:18
    at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89:14)
    at C:\tools\utils\buildmessage.js:352:34
    at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89:14)
    at C:\tools\utils\buildmessage.js:350:23
    at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89:14)
    at Object.enterJob (C:\tools\utils\buildmessage.js:324:26)
    at ClientTarget.make (C:\tools\isobuild\bundler.js:819:18)
    at C:\tools\isobuild\bundler.js:2929:14
    at C:\tools\isobuild\bundler.js:3018:20
    at Array.forEach (<anonymous>)
    at Function._.each._.forEach (C:\Users\fshafique\AppData\Local\.meteor\packages\meteor-tool\1.6.1\mt-os.windows.x86_64\dev_bundle\lib\node_modules\underscore\underscore.js:79:11)
    at C:\tools\isobuild\bundler.js:3017:7
    at C:\tools\utils\buildmessage.js:271:13
    at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89:14)
    at C:\tools\utils\buildmessage.js:264:29
    at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89:14)
    at C:\tools\utils\buildmessage.js:262:18
    at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89:14)
    at C:\tools\utils\buildmessage.js:253:23
    at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89:14)
    at Object.capture (C:\tools\utils\buildmessage.js:252:19)
    at bundle (C:\tools\isobuild\bundler.js:2910:31)
    at files.withCache (C:\tools\isobuild\bundler.js:2857:32)
    at Object.withCache (C:\tools\fs\files.js:1664:12)
    at Object.exports.bundle (C:\tools\isobuild\bundler.js:2857:16)
    at Profile.run (C:\tools\runners\run-app.js:579:36)
    at Function.run (C:\tools\tool-env\profile.js:490:12)
    at bundleApp (C:\tools\runners\run-app.js:578:34)
    at AppRunner._runOnce (C:\tools\runners\run-app.js:622:35)
    at AppRunner._fiber (C:\tools\runners\run-app.js:880:28)
    at C:\tools\runners\run-app.js:408:12

Please help!!!

@xcv58
Copy link
Owner

xcv58 commented Apr 25, 2018

I think this is related to meteor/meteor#9755

Could you try to upgrade Meteor?

@fshafique
Copy link
Author

Funny, I was on the same article when I saw your email.

I thought I'd update again - I'm new to Meteor, so I assume upgrade=update:

C:\Development\Meteor Projects\meteor-auth0\examples\sample-app>meteor update

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

babel-compiler  upgraded from 7.0.0 to 7.0.6
ecmascript      upgraded from 0.10.0 to 0.10.6

sample-app: updated to Meteor 1.6.1.1.

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

babel-compiler             upgraded from 7.0.6 to 7.0.7
base64                     upgraded from 1.0.10 to 1.0.11
check                      upgraded from 1.3.0 to 1.3.1
ddp-client                 upgraded from 2.3.1 to 2.3.2
ecmascript                 upgraded from 0.10.6 to 0.10.7
ecmascript-runtime-client  upgraded from 0.6.0 to 0.6.2
http                       upgraded from 1.4.0 to 1.4.1
jquery                     upgraded from 1.11.10 to 1.11.11
logging                    upgraded from 1.1.19 to 1.1.20
meteor                     upgraded from 1.8.2 to 1.8.6
minifier-css               upgraded from 1.3.0 to 1.3.1
minifier-js                upgraded from 2.3.1 to 2.3.4
minimongo                  upgraded from 1.4.3 to 1.4.4
modules                    upgraded from 0.11.3 to 0.11.6
mongo                      upgraded from 1.4.2 to 1.4.7
mongo-id                   upgraded from 1.0.6 to 1.0.7
oauth                      upgraded from 1.2.1 to 1.2.3
promise                    upgraded from 0.10.1 to 0.10.2
rate-limit                 upgraded from 1.0.8 to 1.0.9
routepolicy                upgraded from 1.0.12 to 1.0.13
standard-minifier-css      upgraded from 1.4.0 to 1.4.1
standard-minifier-js       upgraded from 2.3.1 to 2.3.3


Then I tried running it again: meteor --settings production.settings.json

I still get the same error.

@xcv58
Copy link
Owner

xcv58 commented Apr 25, 2018

According to https://github.com/meteor/meteor/releases
You may need to meteor update --release 1.7-beta.25

I have no Windows machines so it's really hard to reproduce the bug.

@fshafique
Copy link
Author

I just tried it. It hasn't helped. My update also froze near the end, but let me try again from scratch. Thanks for all the help -- my last option might be to run it a Linux VM. I don't have anything setup for immediate use.

@xcv58
Copy link
Owner

xcv58 commented Apr 25, 2018

np https://github.com/jshimko/meteor-launchpad This is a lighter solution than a Linux VM. And I usually use it to deploy Meteor app.

@fshafique
Copy link
Author

Works on Linux!

@fshafique
Copy link
Author

@xcv58 I just want to share my latest findings with you: meteor/meteor#9841 (comment)

I think it may have something to do with the colon in the package name "xcv58:auth0-lock". But I'm comparing it with "kadira:flow-router", because I have no issues with that package.

@xcv58
Copy link
Owner

xcv58 commented Apr 26, 2018

@fshafique thanks for digging into this. I'll fix this if we can confirm it's caused by the : in the path.

@alvin
Copy link

alvin commented Oct 5, 2018

Can confirm that I was getting the same TypeError: Path must be a string. Received undefined startup error until installing the package locally and removing the "xcv58:" prefix

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

3 participants