Hello, here is the information
1. I am try to install Cloud Carbon Footprint App in a EC2 instance from AWS with lunux
2. I put in the instance the Prerequisites that app needs
3. But when I run the command yarn guided-install I received the following message
[ec2-user@ip-172-31-36-68 carbon-footprint]$ yarn guided-install
Internal Error: root-template@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile
at AF.getCandidates (/home/ec2-user/carbon-footprint/.yarn/releases/yarn-3.1.1.cjs:437:4421)
at pd.getCandidates (/home/ec2-user/carbon-footprint/.yarn/releases/yarn-3.1.1.cjs:432:5275)
at /home/ec2-user/carbon-footprint/.yarn/releases/yarn-3.1.1.cjs:441:7674
at du (/home/ec2-user/carbon-footprint/.yarn/releases/yarn-3.1.1.cjs:382:4003)
at R (/home/ec2-user/carbon-footprint/.yarn/releases/yarn-3.1.1.cjs:441:7654)
ec2-user@ip-172-31-36-68 carbon-footprint]$
yarn install➤ YN0000: ┌ Resolution step
➤ YN0061: │ @types/mockdate@npm:3.0.0 is deprecated: This is a stub types definition. mockdate provides its own type definitions, so you do not need this installed.
➤ YN0061: │ @types/history@npm:5.0.0 is deprecated: This is a stub types definition. history provides its own type definitions, so you do not need this installed.
➤ YN0061: │ @azure/arm-consumption@npm:8.0.1 is deprecated: Please note, versions of this package with version numbers 8.0.1 and below have been deprecated as of 31-March-2022. We strongly encourage you to upgrade to version 9.0.0 or above to continue receiving updates. Refer to our deprecation policy:
https://azure.github.io/azure-sdk/policies_support.html for more details.
➤ YN0032: │ fsevents@npm:2.3.2: Implicit dependencies on node-gyp are discouraged
➤ YN0061: │ read-package-tree@npm:5.3.1 is deprecated: The functionality that this package provided is now in @npmcli/arborist
➤ YN0061: │ uuid@npm:3.4.0 is deprecated: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See
https://v8.dev/blog/math-random for details.
➤ YN0061: │ svgo@npm:1.3.2 is deprecated: This SVGO version is no longer supported. Upgrade to v2.x.x.
➤ YN0061: │ querystring@npm:0.2.0 is deprecated: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
➤ YN0061: │ stable@npm:0.1.8 is deprecated: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility➤ YN0061: │ request@npm:2.88.2 is deprecated: request has been deprecated, see
https://github.com/request/request/issues/3142➤ YN0061: │ har-validator@npm:5.1.5 is deprecated: this library is no longer supported
[ec2-user@ip-172-31-36-68 carbon-footprint]$
4.- I cannot pass of this step, I always receive the same error
Internal Error: root-template@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile
and I cannot run the command yarn start
ec2-user@ip-172-31-36-68 carbon-footprint]$ yarn start
Internal Error: root-template@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile
at AF.getCandidates (/home/ec2-user/carbon-footprint/.yarn/releases/yarn-3.1.1.cjs:437:4421)
at pd.getCandidates (/home/ec2-user/carbon-footprint/.yarn/releases/yarn-3.1.1.cjs:432:5275)
at /home/ec2-user/carbon-footprint/.yarn/releases/yarn-3.1.1.cjs:441:7674
at du (/home/ec2-user/carbon-footprint/.yarn/releases/yarn-3.1.1.cjs:382:4003)
at R (/home/ec2-user/carbon-footprint/.yarn/releases/yarn-3.1.1.cjs:441:7654)
[ec2-user@ip-172-31-36-68 carbon-footprint]$
Thanks for your help I will wait for your comments
Regards