nasa / openmct-tutorial

A tutorial for OpenMCT that guides you through integrating historical and realtime telemetry.
Other
246 stars 104 forks source link

Problem getting started #29

Closed HWyattWilson closed 5 years ago

HWyattWilson commented 6 years ago

Not sure why, but after I enter "npm start" and go to http://localhost:8080 with my browser, nothing comes up.

deeptailor commented 6 years ago

@hwyattwilson - could you take a screenshot of the chrome debugging console when you go to localhost:8080

HWyattWilson commented 6 years ago

I'm using mozillla firefox, and I've been able to open a non-tutorial version of openmct with it.

On Sat, Apr 28, 2018 at 12:18 PM, Deep Tailor notifications@github.com wrote:

@HWyattWilson https://github.com/HWyattWilson - could you take a screenshot of the chrome debugging console when you go to localhost:8080

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nasa/openmct-tutorial/issues/29#issuecomment-385187633, or mute the thread https://github.com/notifications/unsubscribe-auth/AYLb1yYdCyEvK-J5VE0lExQMaTechbLaks5ttJZxgaJpZM4Trd9G .

haekuh commented 6 years ago

I am actually having the same problem. I have followed the steps in the tutorial so far but when viewing the js console for firefox I see the following. The problem occurs starting at part-a.

  1. Loading failed for the

    2 refers to index.html line 11

    openmct.setAssetPath('node_modules/openmct/dist');

    Looking into the directory node_modules/openmct/dist does not exist

9a3eedi commented 6 years ago

I'm having the same problem: a blank page on localhost:8080. Checking the javascript console, I can see the following error

Failed to load resource: the server responded with a status of 404 (Not Found) (openmct.js)

I am not an expert on npm or javascript, but I figured maybe something went wrong with the npm install step. I got the following warnings during the npm install step:

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.2.4

However, I think npm install went correctly otherwise, so I'm not sure this is the problem.

I'm not sure if these are related, but I hope this helps.

EDIT: after searching for the file, I also tried setting the script src to "node_modules/openmct/openmct.js" (removed the dist folder), but now I end up with an error saying that it cannot find requirejs. I'm not sure if this was a step in the right direction or not, and not sure how to proceed either.

akhenry commented 6 years ago

Hi all. Sorry for the delay in addressing this. This might be an npm version issue. The tutorials depend on Open MCT as a git dependency. This involves cloning the Open MCT git repository and then building it in-situ. The build step depends on the 'prepare' build stage introduced in npm 4. The workaround here is to either upgrade your npm version if you're able to, or build the Open MCT dependency manually. This is covered in this GitHub issue - https://github.com/nasa/openmct/issues/2052

dean9 commented 6 years ago

^ i had the same issue, and it was resolved by updating npm as @akhenry said.

for mac os users, see this link for updating npm https://stackoverflow.com/questions/11284634/upgrade-node-js-to-the-latest-version-on-mac-os#19333717

akhenry commented 5 years ago

Closing this for now, as it appears to be an npm version issue. Will reopen if folks are still having problems.

defied commented 5 years ago

Still having this issue. xxxx@localhost:~/git/openmct$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.1 LTS Release: 18.04 Codename: bionic xxxx@localhost:~/git/openmct$ npm --version 6.7.0 xxxx@localhost:~/git/openmct$ nodejs --version v8.10.0 xxxx@localhost:~/git/openmct$ npm start

openmct@0.14.0-SNAPSHOT start /home/xxxx/git/openmct node app.js

Open MCT application running at 10.0.51.152:8080

mnawaz779 commented 4 years ago

I followed below steps as listed in tutorial: git clone https://github.com/nasa/openmct-tutorial.git cd openmct-tutorial npm install

I have nodejs version: v12.18.3 and npm version: 6.14.6 on Windows 10 laptop. When I run >>npm install, I am hitting following error.

C:\Training\openmct\openmct-tutorial>npm install npm ERR! prepareGitDep 1> npm ERR! prepareGitDep > node-sass@4.14.1 install C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-157dd498\node_modules\node-sass npm ERR! prepareGitDep > node scripts/install.js npm ERR! prepareGitDep npm ERR! prepareGitDep Cached binary found at C:\Users\mnawaz\AppData\Roaming\npm-cache\node-sass\4.14.1\win32-x64-72_binding.node npm ERR! prepareGitDep npm ERR! prepareGitDep > core-js@2.6.11 postinstall C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-157dd498\node_modules\core-js npm ERR! prepareGitDep > node -e "try{require('./postinstall')}catch(e){}" npm ERR! prepareGitDep npm ERR! prepareGitDep Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library! npm ERR! prepareGitDep npm ERR! prepareGitDep The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: ... ... Not sure how to address this issue. Thanks,

jvigliotta commented 4 years ago

Hi @mnawaz779 can you paste the whole command line output?

jvigliotta commented 4 years ago

Hi @mnawaz779 after consulting with the team, seems we've run into this issue before. Looks like node is not in your path for running scripts.

Try: npm install --scripts-prepend-node-path

We have noticed the build failing on Windows past this point, so please let us know if you run into any more issues.

mnawaz779 commented 4 years ago

Hello, Tried >npm install --scripts-prepend-node-path Still getting the similar error. Whole error message pasted below: +++++++++++begin error screen+++++++++++

E:\0.1OpenMCT\openmct-tutorial.git\openmct-tutorial>npm install --scripts-prepend-node-path npm ERR! prepareGitDep 1> npm ERR! prepareGitDep > node-sass@4.14.1 install C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\node-sass npm ERR! prepareGitDep > node scripts/install.js npm ERR! prepareGitDep npm ERR! prepareGitDep Cached binary found at C:\Users\mnawaz\AppData\Roaming\npm-cache\node-sass\4.14.1\win32-x64-72_binding.node npm ERR! prepareGitDep npm ERR! prepareGitDep > core-js@2.6.11 postinstall C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\core-js npm ERR! prepareGitDep > node -e "try{require('./postinstall')}catch(e){}" npm ERR! prepareGitDep npm ERR! prepareGitDep Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library! npm ERR! prepareGitDep npm ERR! prepareGitDep The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: npm ERR! prepareGitDep > https://opencollective.com/core-js npm ERR! prepareGitDep > https://www.patreon.com/zloirock npm ERR! prepareGitDep npm ERR! prepareGitDep Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -) npm ERR! prepareGitDep npm ERR! prepareGitDep npm ERR! prepareGitDep > node-sass@4.14.1 postinstall C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\node-sass npm ERR! prepareGitDep > node scripts/build.js npm ERR! prepareGitDep npm ERR! prepareGitDep Binary found at C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\node-sass\vendor\win32-x64-72\binding.node npm ERR! prepareGitDep Testing binary npm ERR! prepareGitDep Binary is fine npm ERR! prepareGitDep npm ERR! prepareGitDep > openmct@1.3.0-SNAPSHOT prepare C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa npm ERR! prepareGitDep > npm run build:prod npm ERR! prepareGitDep npm ERR! prepareGitDep npm ERR! prepareGitDep > openmct@1.3.0-SNAPSHOT build:prod C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa npm ERR! prepareGitDep > cross-env NODE_ENV=production webpack npm ERR! prepareGitDep npm ERR! prepareGitDep Hash: f868c24f5c6857fc2537 npm ERR! prepareGitDep Version: webpack 4.44.1 npm ERR! prepareGitDep Time: 39838ms npm ERR! prepareGitDep Built at: 08/22/2020 6:57:20 PM npm ERR! prepareGitDep 11 assets npm ERR! prepareGitDep Entrypoint openmct = openmct.js openmct.js.map npm ERR! prepareGitDep Entrypoint espressoTheme = espressoTheme.js espressoTheme.js.map npm ERR! prepareGitDep Entrypoint snowTheme = snowTheme.js snowTheme.js.map npm ERR! prepareGitDep Entrypoint maelstromTheme = maelstromTheme.js maelstromTheme.js.map npm ERR! prepareGitDep npm ERR! prepareGitDep ERROR in ./src/plugins/themes/espresso-theme.scss npm ERR! prepareGitDep Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): npm ERR! prepareGitDep ModuleBuildError: Module build failed (from ./node_modules/fast-sass-loader/lib/index.js): npm ERR! prepareGitDep Error: import file cannot be resolved: "@import "~styles/vendor/normalize-min";" @C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\src\plugins\themes\espresso-theme.scss npm ERR! prepareGitDep at Object.importReplacer (C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\fast-sass-loader\lib\index.js:206:19) npm ERR! prepareGitDep at importReplacer.throw () npm ERR! prepareGitDep at onRejected (C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\co\index.js:81:24) npm ERR! prepareGitDep at runMicrotasks () npm ERR! prepareGitDep at processTicksAndRejections (internal/process/task_queues.js:97:5) npm ERR! prepareGitDep at C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\webpack\lib\NormalModule.js:316:20 npm ERR! prepareGitDep at C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\loader-runner\lib\LoaderRunner.js:367:11 npm ERR! prepareGitDep at C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\loader-runner\lib\LoaderRunner.js:233:18 npm ERR! prepareGitDep at context.callback (C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\loader-runner\lib\LoaderRunner.js:111:13) npm ERR! prepareGitDep at C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\fast-sass-loader\lib\index.js:311:5 npm ERR! prepareGitDep at runMicrotasks () npm ERR! prepareGitDep at processTicksAndRejections (internal/process/task_queues.js:97:5) npm ERR! prepareGitDep npm ERR! prepareGitDep ERROR in ./src/plugins/themes/maelstrom-theme.scss npm ERR! prepareGitDep Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): npm ERR! prepareGitDep ModuleBuildError: Module build failed (from ./node_modules/fast-sass-loader/lib/index.js): npm ERR! prepareGitDep Error: import file cannot be resolved: "@import "~styles/vendor/normalize-min";" @C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\src\plugins\themes\maelstrom-theme.scss npm ERR! prepareGitDep at Object.importReplacer (C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\fast-sass-loader\lib\index.js:206:19) npm ERR! prepareGitDep at importReplacer.throw () npm ERR! prepareGitDep at onRejected (C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\co\index.js:81:24) npm ERR! prepareGitDep at runMicrotasks () npm ERR! prepareGitDep at processTicksAndRejections (internal/process/task_queues.js:97:5) npm ERR! prepareGitDep at C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\webpack\lib\NormalModule.js:316:20 npm ERR! prepareGitDep at C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\loader-runner\lib\LoaderRunner.js:367:11 npm ERR! prepareGitDep at C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\loader-runner\lib\LoaderRunner.js:233:18 npm ERR! prepareGitDep at context.callback (C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\loader-runner\lib\LoaderRunner.js:111:13) npm ERR! prepareGitDep at C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\fast-sass-loader\lib\index.js:311:5 npm ERR! prepareGitDep at runMicrotasks () npm ERR! prepareGitDep at processTicksAndRejections (internal/process/task_queues.js:97:5) npm ERR! prepareGitDep npm ERR! prepareGitDep ERROR in ./src/plugins/themes/snow-theme.scss npm ERR! prepareGitDep Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): npm ERR! prepareGitDep ModuleBuildError: Module build failed (from ./node_modules/fast-sass-loader/lib/index.js): npm ERR! prepareGitDep Error: import file cannot be resolved: "@import "~styles/vendor/normalize-min";" @C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\src\plugins\themes\snow-theme.scss npm ERR! prepareGitDep at Object.importReplacer (C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\fast-sass-loader\lib\index.js:206:19) npm ERR! prepareGitDep at importReplacer.throw () npm ERR! prepareGitDep at onRejected (C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\co\index.js:81:24) npm ERR! prepareGitDep at runMicrotasks () npm ERR! prepareGitDep at processTicksAndRejections (internal/process/task_queues.js:97:5) npm ERR! prepareGitDep at C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\webpack\lib\NormalModule.js:316:20 npm ERR! prepareGitDep at C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\loader-runner\lib\LoaderRunner.js:367:11 npm ERR! prepareGitDep at C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\loader-runner\lib\LoaderRunner.js:233:18 npm ERR! prepareGitDep at context.callback (C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\loader-runner\lib\LoaderRunner.js:111:13) npm ERR! prepareGitDep at C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\fast-sass-loader\lib\index.js:311:5 npm ERR! prepareGitDep at runMicrotasks () npm ERR! prepareGitDep at processTicksAndRejections (internal/process/task_queues.js:97:5) npm ERR! prepareGitDep Child mini-css-extract-plugin node_modules/css-loader/index.js!node_modules/fast-sass-loader/lib/index.js!src/plugins/themes/espresso-theme.scss: npm ERR! prepareGitDep Entrypoint mini-css-extract-plugin = npm ERR! prepareGitDep npm ERR! prepareGitDep ERROR in ./src/plugins/themes/espresso-theme.scss (./node_modules/css-loader!./node_modules/fast-sass-loader/lib!./src/plugins/themes/espresso-theme.scss) npm ERR! prepareGitDep Module build failed (from ./node_modules/fast-sass-loader/lib/index.js): npm ERR! prepareGitDep Error: import file cannot be resolved: "@import "~styles/vendor/normalize-min";" @C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\src\plugins\themes\espresso-theme.scss npm ERR! prepareGitDep at Object.importReplacer (C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\fast-sass-loader\lib\index.js:206:19) npm ERR! prepareGitDep at importReplacer.throw () npm ERR! prepareGitDep at onRejected (C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\co\index.js:81:24) npm ERR! prepareGitDep at runMicrotasks () npm ERR! prepareGitDep at processTicksAndRejections (internal/process/task_queues.js:97:5) npm ERR! prepareGitDep Child mini-css-extract-plugin node_modules/css-loader/index.js!node_modules/fast-sass-loader/lib/index.js!src/plugins/themes/maelstrom-theme.scss: npm ERR! prepareGitDep Entrypoint mini-css-extract-plugin = npm ERR! prepareGitDep npm ERR! prepareGitDep ERROR in ./src/plugins/themes/maelstrom-theme.scss (./node_modules/css-loader!./node_modules/fast-sass-loader/lib!./src/plugins/themes/maelstrom-theme.scss) npm ERR! prepareGitDep Module build failed (from ./node_modules/fast-sass-loader/lib/index.js): npm ERR! prepareGitDep Error: import file cannot be resolved: "@import "~styles/vendor/normalize-min";" @C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\src\plugins\themes\maelstrom-theme.scss npm ERR! prepareGitDep at Object.importReplacer (C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\fast-sass-loader\lib\index.js:206:19) npm ERR! prepareGitDep at importReplacer.throw () npm ERR! prepareGitDep at onRejected (C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\co\index.js:81:24) npm ERR! prepareGitDep at runMicrotasks () npm ERR! prepareGitDep at processTicksAndRejections (internal/process/task_queues.js:97:5) npm ERR! prepareGitDep Child mini-css-extract-plugin node_modules/css-loader/index.js!node_modules/fast-sass-loader/lib/index.js!src/plugins/themes/snow-theme.scss: npm ERR! prepareGitDep Entrypoint mini-css-extract-plugin = * npm ERR! prepareGitDep npm ERR! prepareGitDep ERROR in ./src/plugins/themes/snow-theme.scss (./node_modules/css-loader!./node_modules/fast-sass-loader/lib!./src/plugins/themes/snow-theme.scss) npm ERR! prepareGitDep Module build failed (from ./node_modules/fast-sass-loader/lib/index.js): npm ERR! prepareGitDep Error: import file cannot be resolved: "@import "~styles/vendor/normalize-min";" @C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\src\plugins\themes\snow-theme.scss npm ERR! prepareGitDep at Object.importReplacer (C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\fast-sass-loader\lib\index.js:206:19) npm ERR! prepareGitDep at importReplacer.throw () npm ERR! prepareGitDep at onRejected (C:\Users\mnawaz\AppData\Roaming\npm-cache_cacache\tmp\git-clone-60f7c3fa\node_modules\co\index.js:81:24) npm ERR! prepareGitDep at runMicrotasks () npm ERR! prepareGitDep at processTicksAndRejections (internal/process/task_queues.js:97:5) npm ERR! prepareGitDep npm ERR! prepareGitDep 2> npm WARN install Usage of the --dev option is deprecated. Use --only=dev instead. npm ERR! prepareGitDep npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! prepareGitDep npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm ERR! prepareGitDep npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen) npm ERR! prepareGitDep npm WARN deprecated gulp-header@1.8.12: Removed event-stream from gulp-header npm ERR! prepareGitDep npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm ERR! prepareGitDep npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. npm ERR! prepareGitDep npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. npm ERR! prepareGitDep npm ERR! code ELIFECYCLE npm ERR! prepareGitDep npm ERR! errno 2 npm ERR! prepareGitDep npm ERR! openmct@1.3.0-SNAPSHOT build:prod: cross-env NODE_ENV=production webpack npm ERR! prepareGitDep npm ERR! Exit status 2 npm ERR! prepareGitDep npm ERR! npm ERR! prepareGitDep npm ERR! Failed at the openmct@1.3.0-SNAPSHOT build:prod script. npm ERR! prepareGitDep npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! prepareGitDep npm ERR! prepareGitDep npm ERR! A complete log of this run can be found in: npm ERR! prepareGitDep npm ERR! C:\Users\mnawaz\AppData\Roaming\npm-cache_logs\2020-08-22T22_57_20_885Z-debug.log npm ERR! prepareGitDep npm ERR! code ELIFECYCLE npm ERR! prepareGitDep npm ERR! errno 2 npm ERR! prepareGitDep npm ERR! openmct@1.3.0-SNAPSHOT prepare: npm run build:prod npm ERR! prepareGitDep npm ERR! Exit status 2 npm ERR! prepareGitDep npm ERR! npm ERR! prepareGitDep npm ERR! Failed at the openmct@1.3.0-SNAPSHOT prepare script. npm ERR! prepareGitDep npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! prepareGitDep npm ERR! prepareGitDep npm ERR! A complete log of this run can be found in: npm ERR! prepareGitDep npm ERR! C:\Users\mnawaz\AppData\Roaming\npm-cache_logs\2020-08-22T22_57_20_971Z-debug.log npm ERR! prepareGitDep npm ERR! premature close

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\mnawaz\AppData\Roaming\npm-cache_logs\2020-08-22T22_57_21_413Z-debug.log +++++++++++end error screen++++++++++++ My gut feeling is that I am missing some step in setting up the openmct tutorial, however I followed the instructions laid out in github. After cloning the tutorial repository I have following directory structure. +++++++++++begin tutorial dir content++++++

E:\0.1OpenMCT\openmct-tutorial.git\openmct-tutorial>dir Volume in drive E is UBUNTU Volume Serial Number is A0D4-00DC

Directory of E:\0.1OpenMCT\openmct-tutorial.git\openmct-tutorial

08/19/2020 06:45 PM

. 08/19/2020 06:45 PM .. 08/19/2020 06:45 PM 45 .gitignore 08/19/2020 06:45 PM 730 LICENSE.md 08/19/2020 06:45 PM 5,396 dictionary.json 08/19/2020 06:45 PM example-server 08/19/2020 06:45 PM images 08/19/2020 06:45 PM lib 08/19/2020 07:19 PM node_modules 08/19/2020 07:19 PM 55,113 package-lock.json 08/22/2020 05:37 PM 24,525 README.md 08/22/2020 05:37 PM 105 index.html 08/22/2020 05:37 PM 701 package.json 7 File(s) 86,615 bytes 6 Dir(s) 25,414,631,424 bytes free +++++++++++end tutorial dir content++++++ On command prompt E:\0.1OpenMCT\openmct-tutorial.git\openmct-tutorial> I am executing the "npm install ..." command which is failing. Now my curiosity is that how does these command knows about openmct framework installation on my computer. The openmct framework is installed on a different directory which successfully executes >npm install and >npm start brings up the server on port 8080. I can successfully see the openmct landing page. Following is the openmct install directory and its content: ++++++begin openmct framework installation dir content+++++++++ E:\0.1OpenMCT\openmct>dir Volume in drive E is UBUNTU Volume Serial Number is A0D4-00DC

Directory of E:\0.1OpenMCT\openmct

07/30/2020 01:05 PM

. 07/30/2020 01:05 PM .. 07/30/2020 01:05 PM .circleci 07/30/2020 01:05 PM 6,055 .eslintrc.js 07/30/2020 01:05 PM 515 .gitignore 07/30/2020 01:05 PM 402 .npmignore 07/30/2020 01:05 PM 50,475 API.md 07/30/2020 01:05 PM 17,347 CONTRIBUTING.md 07/30/2020 01:05 PM 732 LICENSE.md 07/30/2020 01:05 PM 31 Procfile 07/30/2020 01:05 PM 7,189 README.md 07/30/2020 01:05 PM 2,239 app.js 07/30/2020 01:05 PM 2,376 build-docs.sh 07/30/2020 01:05 PM 1,026 copyright-notice.html 07/30/2020 01:05 PM 1,214 copyright-notice.js 07/30/2020 01:05 PM docs 07/30/2020 01:05 PM example 07/30/2020 01:05 PM 5,467 index.html 07/30/2020 01:05 PM 232 jsdoc.json 07/30/2020 01:05 PM 3,592 karma.conf.js 07/30/2020 01:05 PM 1,597 openmct.js 07/30/2020 01:05 PM 3,693 package.json 07/30/2020 01:05 PM platform 07/30/2020 01:05 PM src 07/30/2020 01:05 PM 4,795 webpack.config.js 07/30/2020 01:15 PM node_modules 08/08/2020 05:09 PM .idea 08/08/2020 05:41 PM dist 08/08/2020 05:41 PM 416,691 package-lock.json 19 File(s) 525,668 bytes 10 Dir(s) 25,414,631,424 bytes free ++++++end openmct framework installation dir content+++++++++ Hope these information will help us pin the issue and make openmct tutorial work. And thank you all looking into this issue. -mnawaz779

mnawaz779 commented 4 years ago

I had to switch to Windows WSL/Ubuntu 18.x to make it work. Due some reason or other the latest code never worked from Windows command prompt. The npm install consistently failed. Thanks