-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[documentation] Building and Running Open MCT Locally #1174
Comments
Can someone review the issue and tell me if a pull request is to be made ? |
@goelrohan6 |
@larkin i am using v3.6.0 for npm and v5.6.0 for node. It shows 404 for some bower modules and for some css files, which is resolved after bower install and gulp build . So do suggest a change in the readme ? |
@goelrohan6 I am using node v4.4.4 (LTS) and npm v3.10.5. Works fine for me on a fresh clone.
Here's my console output from a fresh install. I opened the application in chrome and did not see any 404 messages in the network tab. Can you tell me which files are 404ing? in Code/
› git clone git@github.com:nasa/openmct.git test-openmct-build
Cloning into 'test-openmct-build'... done
in Code/
› cd test-openmct-build
in test-openmct-build/ on master
› npm install
[snipped lots of depreciation & prefer global warnings]
> fsevents@1.0.14 install /Users/plricha1/Code/test-openmct-build/node_modules/fsevents
> node-sass@3.9.3 install /Users/plricha1/Code/test-openmct-build/node_modules/node-sass
> phantomjs-prebuilt@2.1.12 install /Users/plricha1/Code/test-openmct-
> node-sass@3.9.3 postinstall /Users/plricha1/Code/test-openmct-build/node_modules/node-sass
> openmct@0.11.3-SNAPSHOT prepublish /Users/plricha1/Code/test-openmct-build
> node ./node_modules/bower/bin/bower install && node ./node_modules/gulp/bin/gulp.js install
bower cached https://github.com/jsmreese/moment-duration-format.git#1.3.0
bower validate 1.3.0 against https://github.com/jsmreese/moment-duration-format.git#^1.3.0
bower cached https://github.com/components/es6-promise.git#3.2.2
bower validate 3.2.2 against https://github.com/components/es6-promise.git#^3.0.2
bower cached https://github.com/angular/bower-angular.git#1.4.4
bower validate 1.4.4 against https://github.com/angular/bower-angular.git#1.4.4
bower cached https://github.com/requirejs/text.git#2.0.15
bower validate 2.0.15 against https://github.com/requirejs/text.git#^2.0.14
bower cached https://github.com/jrburke/requirejs-bower.git#2.1.22
bower validate 2.1.22 against https://github.com/jrburke/requirejs-bower.git#~2.1.22
bower cached https://github.com/knrz/CSV.js.git#3.6.4
bower validate 3.6.4 against https://github.com/knrz/CSV.js.git#^3.6.4
bower cached https://github.com/moment/moment.git#2.14.1
bower validate 2.14.1 against https://github.com/moment/moment.git#^2.11.1
bower cached https://github.com/carlos-algms/FileSaver.js.git#0.0.2
bower validate 0.0.2 against https://github.com/carlos-algms/FileSaver.js.git#^0.0.2
bower cached https://github.com/components/zepto.git#1.1.6
bower validate 1.1.6 against https://github.com/components/zepto.git#^1.1.6
bower cached https://github.com/broofa/node-uuid.git#1.4.7
bower validate 1.4.7 against https://github.com/broofa/node-uuid.git#^1.4.7
bower cached https://github.com/angular/bower-angular-route.git#1.4.4
bower validate 1.4.4 against https://github.com/angular/bower-angular-route.git#1.4.4
bower cached https://github.com/sindresorhus/screenfull.js.git#3.0.2
bower validate 3.0.2 against https://github.com/sindresorhus/screenfull.js.git#^3.0.0
bower install moment-duration-format#1.3.0
bower install requirejs#2.1.22
bower install es6-promise#3.2.2
bower install text#2.0.15
bower install angular#1.4.4
bower install FileSaver.js#0.0.2
bower install zepto#1.1.6
bower install comma-separated-values#3.6.4
bower install moment#2.14.1
bower install node-uuid#1.4.7
bower install screenfull#3.0.2
bower install angular-route#1.4.4
moment-duration-format#1.3.0 bower_components/moment-duration-format
requirejs#2.1.22 bower_components/requirejs
es6-promise#3.2.2 bower_components/es6-promise
text#2.0.15 bower_components/text
angular#1.4.4 bower_components/angular
FileSaver.js#0.0.2 bower_components/FileSaver.js
zepto#1.1.6 bower_components/zepto
comma-separated-values#3.6.4 bower_components/comma-separated-values
moment#2.14.1 bower_components/moment
node-uuid#1.4.7 bower_components/node-uuid
screenfull#3.0.2 bower_components/screenfull
angular-route#1.4.4 bower_components/angular-route
└── angular#1.4.4
[15:05:00] Using gulpfile ~/Code/test-openmct-build/gulpfile.js
[15:05:00] Starting 'stylesheets'...
[15:05:00] Starting 'scripts'...
[15:05:00] Optimizing main.js
[15:05:30] Finished 'scripts' after 30 s
[15:05:32] Finished 'stylesheets' after 31 s
[15:05:32] Starting 'static'...
[15:05:34] Finished 'static' after 1.79 s
[15:05:34] Starting 'install'...
[15:05:34] Finished 'install' after 28 μs
openmct@0.11.3-SNAPSHOT /Users/plricha1/Code/test-openmct-build
[snipped dependency tree]
in test-openmct-build/ on master
› node app.js
Open MCT application running at localhost:8080
[tested and verified no 404s]
^C
in test-openmct-build/ on master
› node -v
v4.4.4
in test-openmct-build/ on master
› npm -v
3.10.5
in test-openmct-build/ on master
› |
@larkin After this, I did I did Do we need a pull request in readme for the issue now ? |
I think this is related to #1151 (most likely a duplicate). |
@goelrohan6 Can you post a console log of the output of @BogdanAlexandru sidenote, there is no reason to install as root. It's a bad security practice and not something we endorse. |
@larkin, Here is the console log of my npm install
|
Check out bower/bower#2260 for the solution-- looks like permissions on that folder aren't accurate. Let me know if that fix doesn't work. |
Going to close this for now as it appears resolved, can re-open if the issue is still present at a later date. |
The text was updated successfully, but these errors were encountered: