Open ErNisha4800 opened 8 months ago
Hi @ErNisha4800 - can you share the error message you are getting?
build file is done but not show exe application create two folder dist and .parcel-cache
npm run build
3dcreator@1.0.0 build rm -rf ./dist && rm -rf ./.parcel-cache && npx parcel build --public-url '.' index.html 'rm' is not recognized as an internal or external command, operable program or batch file.
It looks like you are on a Windows machine, and not running under WSL (Windows Subsystem for Linux).
A couple of options:
npx parcel build --public-url '.' index.html
instead of npm run build
. This will still run the parcel build (although it won't clean up the directories).This command is try already
npx parcel build --public-url '.' index.html ✨ Built in 6.97s
dist\index.html 2.5 KB 68.84s
dist\RobotoMono-VariableFont_wght.d253a266.ttf 177.9 KB 29.98s
dist\logo.85c4afc1.svg 5.05 KB 66.89s
dist\upload.9ca0346b.svg 325 B 66.89s
dist\drag.f08018c0.svg 1001 B 66.89s
dist\index.e87fef9f.css 9.53 KB 29.99s
dist\restart.a14a3877.svg 468 B 66.89s
dist\toggle_on.0d0ca82b.svg 416 B 66.90s
dist\toggle_off.c1469258.svg 414 B 66.90s
dist\fullscreen.d53ede56.svg 202 B 66.90s
dist\vr.a808a8dc.svg 743 B 66.90s
dist\debug.052b56a0.svg 701 B 66.90s
dist\media.3f3ca70d.svg 342 B 66.90s
dist\delete.cef9850f.svg 275 B 66.90s
dist\download.030d8fba.svg 232 B 66.90s
dist\help.b1bb460c.svg 419 B 66.90s
dist\index.ecbbedc1.js ⚠️ 7.27 MB 130.5
dist folder in open index
inspect error
Thankyou for reply me
It looks like you are trying to open the index.html file locally, which will not work due to CORS policy.
Instead, run the server using this command:
npx parcel serve index.html -p 55000
Once the server is running, browse to http://localhost:55000 (make sure this is http and not https) - and this should work.
i have create build use npm run build command but not working any idea build file successfully working