Autodesk Forge RCDB Deployment to HerokuBuilding Autodesk Forge RCDB on Windows 10 fails with node-gyp errorsAutodesk Forge get access tokenAutodesk Forge Multiple Admins for an ApplicationCNC Manufacturability Analysis Autodesk ForgeAutodesk Forge, DOMException from viewer3D.min.jsAutodesk Forge: BIM spaces and rooms in the Forge viewerAutodesk Forge - Invalid Request URIAutodesk forge viewer pdf errorBuilding Autodesk Forge RCDB on Windows 10 fails with node-gyp errorsSet color of object (Autodesk forge)Object disappears in Bucket, (Autodesk forge)
Can somebody explain Brexit in a few child-proof sentences?
Can I sign legal documents with a smiley face?
List of people who lose a child in תנ"ך
Has Darkwing Duck ever met Scrooge McDuck?
THT: What is a squared annular “ring”?
Two-sided logarithm inequality
Freedom of speech and where it applies
Customize circled numbers
How much character growth crosses the line into breaking the character
About a little hole in Z'ha'dum
Do the concepts of IP address and network interface not belong to the same layer?
How can "mimic phobia" be cured or prevented?
Flux received by a negative charge
What is the difference between "Do you interest" and "...interested in" something?
How to decide convergence of Integrals
Can a significant change in incentives void an employment contract?
Visiting the UK as unmarried couple
How should I respond when I lied about my education and the company finds out through background check?
How to align and center standalone amsmath equations?
Gibbs free energy in standard state vs. equilibrium
What (else) happened July 1st 1858 in London?
A social experiment. What is the worst that can happen?
Can not upgrade Kali,not enough space in /var/cache/apt/archives
Why has "pence" been used in this sentence, not "pences"?
Autodesk Forge RCDB Deployment to Heroku
Building Autodesk Forge RCDB on Windows 10 fails with node-gyp errorsAutodesk Forge get access tokenAutodesk Forge Multiple Admins for an ApplicationCNC Manufacturability Analysis Autodesk ForgeAutodesk Forge, DOMException from viewer3D.min.jsAutodesk Forge: BIM spaces and rooms in the Forge viewerAutodesk Forge - Invalid Request URIAutodesk forge viewer pdf errorBuilding Autodesk Forge RCDB on Windows 10 fails with node-gyp errorsSet color of object (Autodesk forge)Object disappears in Bucket, (Autodesk forge)
Can someone give me a step by step! guide to deploying all the work at https://github.com/Autodesk-Forge/forge-rcdb.nodejs - to Heroku or Digital Ocean? I'm fine with either, but I'd like a proper guide here for anyone else that tries to go through this.
Explanation:
Following the guide here @ Building Autodesk Forge RCDB on Windows 10 fails with node-gyp errors - I created my own DB on my localhost. I had no choice but to change the dynamic clientsecret and clientid in development.config.js to a static option - using the ones in my own forge api get it working.
Issues:
https://devcenter.heroku.com/articles/nodejs-support#customizing-the-build-process
- Log In: I get the following error if I click on login to my forge account from the website (LINK)
- I've moved all of my files to heroku, hosted my database (though have not even gotten to the point of testing that far). When I try to build on heroku I get the following error.
-----> Node.js app detected
-----> Build failed
Two different lockfiles found: package-lock.json and yarn.lock
Both npm and yarn have created lockfiles for this application,
but only one can be used to install dependencies. Installing
dependencies using the wrong package manager can result in missing
packages or subtle bugs in production.
- To use npm to install your application's dependencies please delete
the yarn.lock file.
$ git rm yarn.lock
- To use yarn to install your application's dependences please delete
the package-lock.json file.
$ git rm package-lock.json
https://kb.heroku.com/why-is-my-node-js-build-failing-because-of-conflicting-lock-files
Push rejected, failed to compile Node.js app.
Push failed
autodesk-forge
add a comment |
Can someone give me a step by step! guide to deploying all the work at https://github.com/Autodesk-Forge/forge-rcdb.nodejs - to Heroku or Digital Ocean? I'm fine with either, but I'd like a proper guide here for anyone else that tries to go through this.
Explanation:
Following the guide here @ Building Autodesk Forge RCDB on Windows 10 fails with node-gyp errors - I created my own DB on my localhost. I had no choice but to change the dynamic clientsecret and clientid in development.config.js to a static option - using the ones in my own forge api get it working.
Issues:
https://devcenter.heroku.com/articles/nodejs-support#customizing-the-build-process
- Log In: I get the following error if I click on login to my forge account from the website (LINK)
- I've moved all of my files to heroku, hosted my database (though have not even gotten to the point of testing that far). When I try to build on heroku I get the following error.
-----> Node.js app detected
-----> Build failed
Two different lockfiles found: package-lock.json and yarn.lock
Both npm and yarn have created lockfiles for this application,
but only one can be used to install dependencies. Installing
dependencies using the wrong package manager can result in missing
packages or subtle bugs in production.
- To use npm to install your application's dependencies please delete
the yarn.lock file.
$ git rm yarn.lock
- To use yarn to install your application's dependences please delete
the package-lock.json file.
$ git rm package-lock.json
https://kb.heroku.com/why-is-my-node-js-build-failing-because-of-conflicting-lock-files
Push rejected, failed to compile Node.js app.
Push failed
autodesk-forge
add a comment |
Can someone give me a step by step! guide to deploying all the work at https://github.com/Autodesk-Forge/forge-rcdb.nodejs - to Heroku or Digital Ocean? I'm fine with either, but I'd like a proper guide here for anyone else that tries to go through this.
Explanation:
Following the guide here @ Building Autodesk Forge RCDB on Windows 10 fails with node-gyp errors - I created my own DB on my localhost. I had no choice but to change the dynamic clientsecret and clientid in development.config.js to a static option - using the ones in my own forge api get it working.
Issues:
https://devcenter.heroku.com/articles/nodejs-support#customizing-the-build-process
- Log In: I get the following error if I click on login to my forge account from the website (LINK)
- I've moved all of my files to heroku, hosted my database (though have not even gotten to the point of testing that far). When I try to build on heroku I get the following error.
-----> Node.js app detected
-----> Build failed
Two different lockfiles found: package-lock.json and yarn.lock
Both npm and yarn have created lockfiles for this application,
but only one can be used to install dependencies. Installing
dependencies using the wrong package manager can result in missing
packages or subtle bugs in production.
- To use npm to install your application's dependencies please delete
the yarn.lock file.
$ git rm yarn.lock
- To use yarn to install your application's dependences please delete
the package-lock.json file.
$ git rm package-lock.json
https://kb.heroku.com/why-is-my-node-js-build-failing-because-of-conflicting-lock-files
Push rejected, failed to compile Node.js app.
Push failed
autodesk-forge
Can someone give me a step by step! guide to deploying all the work at https://github.com/Autodesk-Forge/forge-rcdb.nodejs - to Heroku or Digital Ocean? I'm fine with either, but I'd like a proper guide here for anyone else that tries to go through this.
Explanation:
Following the guide here @ Building Autodesk Forge RCDB on Windows 10 fails with node-gyp errors - I created my own DB on my localhost. I had no choice but to change the dynamic clientsecret and clientid in development.config.js to a static option - using the ones in my own forge api get it working.
Issues:
https://devcenter.heroku.com/articles/nodejs-support#customizing-the-build-process
- Log In: I get the following error if I click on login to my forge account from the website (LINK)
- I've moved all of my files to heroku, hosted my database (though have not even gotten to the point of testing that far). When I try to build on heroku I get the following error.
-----> Node.js app detected
-----> Build failed
Two different lockfiles found: package-lock.json and yarn.lock
Both npm and yarn have created lockfiles for this application,
but only one can be used to install dependencies. Installing
dependencies using the wrong package manager can result in missing
packages or subtle bugs in production.
- To use npm to install your application's dependencies please delete
the yarn.lock file.
$ git rm yarn.lock
- To use yarn to install your application's dependences please delete
the package-lock.json file.
$ git rm package-lock.json
https://kb.heroku.com/why-is-my-node-js-build-failing-because-of-conflicting-lock-files
Push rejected, failed to compile Node.js app.
Push failed
autodesk-forge
autodesk-forge
asked Mar 7 at 8:58
SalriSalri
32
32
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Log In: I get the following error if I click on login to my forge account from the website (LINK)
You need to configure the following environment variables on Heroku (the lack of FORGE_CLIENT_ID as the environment variable was what caused the error):
"NODE_ENV":
"description": "Environment, defaulted to production",
"value": "production"
,
"NPM_CONFIG_PRODUCTION":
"description": "This forces Heroku to install devDependencies, needed to build the App. Must be false!",
"value": "false"
,
"FORGE_CLIENT_ID":
"description": "Your Forge Client ID API Key"
,
"FORGE_CLIENT_SECRET":
"description": "Your Forge Client Secret API Key"
,
"RCDB_DBHOST":
"description": "Database host url"
,
"RCDB_PORT":
"description": "Database port"
,
"RCDB_DBNAME":
"description": "Database name"
,
"RCDB_USER":
"description": "Database username"
,
"RCDB_PASS":
"description": "Database user password"
This should have been easier with the Deploy to Heroku button in the project README but it's not set up right unfortunately.
I've moved all of my files to heroku, hosted my database (though have not even gotten to the point of testing that far). When I try to build on heroku I get the following error.
As is suggested in the error messages only one package manager should be present so either delete the yarn.lock or package-lock.json file in the root directory of the project and deploy again.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55039719%2fautodesk-forge-rcdb-deployment-to-heroku%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Log In: I get the following error if I click on login to my forge account from the website (LINK)
You need to configure the following environment variables on Heroku (the lack of FORGE_CLIENT_ID as the environment variable was what caused the error):
"NODE_ENV":
"description": "Environment, defaulted to production",
"value": "production"
,
"NPM_CONFIG_PRODUCTION":
"description": "This forces Heroku to install devDependencies, needed to build the App. Must be false!",
"value": "false"
,
"FORGE_CLIENT_ID":
"description": "Your Forge Client ID API Key"
,
"FORGE_CLIENT_SECRET":
"description": "Your Forge Client Secret API Key"
,
"RCDB_DBHOST":
"description": "Database host url"
,
"RCDB_PORT":
"description": "Database port"
,
"RCDB_DBNAME":
"description": "Database name"
,
"RCDB_USER":
"description": "Database username"
,
"RCDB_PASS":
"description": "Database user password"
This should have been easier with the Deploy to Heroku button in the project README but it's not set up right unfortunately.
I've moved all of my files to heroku, hosted my database (though have not even gotten to the point of testing that far). When I try to build on heroku I get the following error.
As is suggested in the error messages only one package manager should be present so either delete the yarn.lock or package-lock.json file in the root directory of the project and deploy again.
add a comment |
Log In: I get the following error if I click on login to my forge account from the website (LINK)
You need to configure the following environment variables on Heroku (the lack of FORGE_CLIENT_ID as the environment variable was what caused the error):
"NODE_ENV":
"description": "Environment, defaulted to production",
"value": "production"
,
"NPM_CONFIG_PRODUCTION":
"description": "This forces Heroku to install devDependencies, needed to build the App. Must be false!",
"value": "false"
,
"FORGE_CLIENT_ID":
"description": "Your Forge Client ID API Key"
,
"FORGE_CLIENT_SECRET":
"description": "Your Forge Client Secret API Key"
,
"RCDB_DBHOST":
"description": "Database host url"
,
"RCDB_PORT":
"description": "Database port"
,
"RCDB_DBNAME":
"description": "Database name"
,
"RCDB_USER":
"description": "Database username"
,
"RCDB_PASS":
"description": "Database user password"
This should have been easier with the Deploy to Heroku button in the project README but it's not set up right unfortunately.
I've moved all of my files to heroku, hosted my database (though have not even gotten to the point of testing that far). When I try to build on heroku I get the following error.
As is suggested in the error messages only one package manager should be present so either delete the yarn.lock or package-lock.json file in the root directory of the project and deploy again.
add a comment |
Log In: I get the following error if I click on login to my forge account from the website (LINK)
You need to configure the following environment variables on Heroku (the lack of FORGE_CLIENT_ID as the environment variable was what caused the error):
"NODE_ENV":
"description": "Environment, defaulted to production",
"value": "production"
,
"NPM_CONFIG_PRODUCTION":
"description": "This forces Heroku to install devDependencies, needed to build the App. Must be false!",
"value": "false"
,
"FORGE_CLIENT_ID":
"description": "Your Forge Client ID API Key"
,
"FORGE_CLIENT_SECRET":
"description": "Your Forge Client Secret API Key"
,
"RCDB_DBHOST":
"description": "Database host url"
,
"RCDB_PORT":
"description": "Database port"
,
"RCDB_DBNAME":
"description": "Database name"
,
"RCDB_USER":
"description": "Database username"
,
"RCDB_PASS":
"description": "Database user password"
This should have been easier with the Deploy to Heroku button in the project README but it's not set up right unfortunately.
I've moved all of my files to heroku, hosted my database (though have not even gotten to the point of testing that far). When I try to build on heroku I get the following error.
As is suggested in the error messages only one package manager should be present so either delete the yarn.lock or package-lock.json file in the root directory of the project and deploy again.
Log In: I get the following error if I click on login to my forge account from the website (LINK)
You need to configure the following environment variables on Heroku (the lack of FORGE_CLIENT_ID as the environment variable was what caused the error):
"NODE_ENV":
"description": "Environment, defaulted to production",
"value": "production"
,
"NPM_CONFIG_PRODUCTION":
"description": "This forces Heroku to install devDependencies, needed to build the App. Must be false!",
"value": "false"
,
"FORGE_CLIENT_ID":
"description": "Your Forge Client ID API Key"
,
"FORGE_CLIENT_SECRET":
"description": "Your Forge Client Secret API Key"
,
"RCDB_DBHOST":
"description": "Database host url"
,
"RCDB_PORT":
"description": "Database port"
,
"RCDB_DBNAME":
"description": "Database name"
,
"RCDB_USER":
"description": "Database username"
,
"RCDB_PASS":
"description": "Database user password"
This should have been easier with the Deploy to Heroku button in the project README but it's not set up right unfortunately.
I've moved all of my files to heroku, hosted my database (though have not even gotten to the point of testing that far). When I try to build on heroku I get the following error.
As is suggested in the error messages only one package manager should be present so either delete the yarn.lock or package-lock.json file in the root directory of the project and deploy again.
answered Mar 7 at 11:30
Bryan HuangBryan Huang
1,0601810
1,0601810
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55039719%2fautodesk-forge-rcdb-deployment-to-heroku%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown