nasa / openmct-tutorial

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

node_modules/openmct/dist/openmct.js folder is not available #25

Closed ashokmanghat closed 6 years ago

ashokmanghat commented 6 years ago

Hi,

I have tried out the application using the commands mentioned in the tutorials . But when i open the browser the application unable to locate the openmct js file in the mentioned folder. I have changed the node_modules/openmct/dist/openmct.js to node_modules/openmct/openmct.js but the application throws another exception - "require.js" not found.

akhenry commented 6 years ago

@ashokmanghat Sorry to hear you're having problems with the tutorial. There was an issue with one of our dependencies that would cause the Open MCT build to fail. This might account for what you're seeing. If that's the case, then building the tutorials against the latest version of Open MCT should fix it. If you run the following from your Open MCT tutorial directory it will clear the cached version Open MCT and download the latest -

rm -rf node_modules/openmct
npm install

Keep an eye out for any errors. If it appears to build successfully, then try running the tutorial again with npm start. Let me know if the error persists.

ashokmanghat commented 6 years ago

When i faced the issue , i have pulled the openmct source code and started working on the same and adde my own plugins to it . I am currently using openmct-tutorials as a reference .

akhenry commented 6 years ago

Closing this issue as I believe it's resolved. If it is reported again, I will reopen it.