question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing file for V2 Demo

See original GitHub issue

Expected Behavior

When launching the file .\OpenJSCAD.org\packages\web.html one would expect to see a demo of the JSCAD, I know this demo was just added today which is fantastic and thank you!

Actual Behavior

A blank screen comes up instead. Pulling up the console I see that the issue is a file not found error with the line <script language="javascript" src="./dist/jscad-full.min.js"></script> and in fact the file is not present in the ./dist folder.

Steps to Reproduce the Problem

  1. Git clone the repo (or download)
  2. Double click on demo.html

Specifications

  • Version: V2.0
  • Platform: Windows 10
  • Environment: Chrome

Edit: The README doesn’t mention anything about the demo.html file being supposed to do anything the other two demos which are mentioned in the readme work great so maybe this isn’t an issue.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
z3devcommented, Jan 7, 2019

I would suspect that you still have some NPM environment issues. We have attempted to keep things simple, and standard. So, NPM should work as expected. Let us know if you cannot resolve.

1reaction
kaosat-devcommented, Jan 6, 2019

hi @BarbourSmith , thanks for the bug report ! Just to clarify : V2 is not even alpha version yet ! things will change a lot , so nothing In README will pertain to V2 just yet until things are more stable

  • demo.html is supposed to be demo for V2
  • I removed jscad-full.min.js to avoid cluttering git with temporary builds, (normally users , me included should not include their own built files as part of PRS) but now that you mention it, for the ‘V2 work in progress’ stage, that might make sense to keep it ?
  • I can either add it in a PR or you should be able to build a local version by running npm run build-web in packages/web

If this does not help

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: "Missing file for [product]" when downloading Adobe ...
Go to the Trial Downloads page. · Click the Try link for the product you're trying to download and then click Download Now....
Read more >
Demos are Missing from the Demo Importer - PlethoraThemes
This is a problem as, the package contains more files and folders than the theme itself like, demo content folder, documentation and, ...
Read more >
Missing file: PIC16F1937.h with Picdem2's demo files?
Hello, Trying to get my head around using the PICDEM 2 Plus pre-programmed demo with a Pickit 3. I've downloaded the Picdem 2...
Read more >
FL STUDIO Missing Data Files (Fixed) - YouTube
The dreaded RED sample! When that annoying error ' Some Data Files required by this project could not be located' shows up.
Read more >
Can't run demo.py - missing FileNotFoundError: [Errno 2] No ...
I'm trying to run demo.py after a clean setup. However, after placing 2 of my own images (input1.png, input2.png) in the demo folder, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found