Comments (11)
try to modify L12 in package.json
to
"start": "cross-env NODE_ENV=development HOT_RELOADING=true node bin/start.js"
then
npm start
or directly
./node_modules/.bin/cross-env NODE_ENV=development HOT_RELOADING=true node bin/start.js
from forge-rcdb.nodejs.
I will try that now.
Also, I am getting Autodesk is not defined in my browser console.
why do you think this is happening?
Please respond asap
thanks.
from forge-rcdb.nodejs.
Maybeviewer.js
loaded failed. You should ask @leefsmp for help.
from forge-rcdb.nodejs.
Is viewer.js in the folder? He currently seems to be offline. how do I reach him?
from forge-rcdb.nodejs.
just wait. It was removed after refactoring by @leefsmp .
from forge-rcdb.nodejs.
I tried the solution you suggested. It is obviously going into loop.
calling npm start which inturn calls npm start is a loop.
from forge-rcdb.nodejs.
sorry. I edited it. try again
from forge-rcdb.nodejs.
I don't see any change.
from forge-rcdb.nodejs.
I updated the config in the repo, should be ok for you now. Look here for more details. The reason is that I'm using a local copy of the viewer3D.js but we are not allowed to push that to public repos due to MIT license, so you need to use the CDN version or download it locally yourself, if you want to run offline for example.
As for your initial issue, you need to make sure NODE_ENV variable is defined because it is what controls which config is being used: "${NODE_ENV}.config.js" where NODE_ENV can be "development" or "production".
Hope that helps.
from forge-rcdb.nodejs.
I looked into it. I have a question that where should I download the viewer3D.js file for it run locally on my system.
Also, I am getting this error in the console:
Failed to load resource: the server responded with a status of 404 3000/resources/models/dev/engine/0.pf (Not Found)
I looked into this path in my project and there is no resources/models/dev/ 'dev' folder in it.
Could you help me out with this?
from forge-rcdb.nodejs.
You can download the viewer source from extract.autodesk.io.
from forge-rcdb.nodejs.
Related Issues (20)
- about login
- MongoDB Files have invalid JSON HOT 1
- Forge Viewer 7.73, selected objects are not highlighted and selection event does not deliver the selected object id
- Demo internal server error
- Issue to load model.
- Error when building the project HOT 1
- Forge Tutorial help needed, unexpected error 'The value -1 is outside the acceptable range of [0,2147483647], parameter name: value'
- PointCloudMarkup not working in Google chrome. HOT 1
- mplementing the forge-rcdb.nodejs —> Viewing.Extension.IoT in main script HOT 1
- Why are model files missing? How to solve this problem? HOT 1
- question about mongobd and Promise Promise when start HOT 3
- [Question] Should this work on mobile devices? HOT 2
- The source links from the "gallery" page are broken HOT 3
- Live demo does not work HOT 2
- Help in Setup?
- Markup2D demo not restoring markups properly
- Cannot import json files into mongodb (Autodesk-Forge/forge-rcdb.nodejs) HOT 2
- Errors when running npm run dev HOT 3
- Implement promise cancellation
- markup editor issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forge-rcdb.nodejs.