Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong JSON content #85

Open
11ange opened this issue Jul 7, 2023 · 0 comments
Open

Wrong JSON content #85

11ange opened this issue Jul 7, 2023 · 0 comments

Comments

@11ange
Copy link

11ange commented Jul 7, 2023

Hello! I'm getting this error when running commmand on windows:
npx create-codeceptjs-bdd-tests

===============================
馃殌 Installing dependencies...

yarn add v1.22.19
error An unexpected error occurred: "C:\Salesforce\test\codeceptjs-bdd\package.json: Expected ',' or '}' after property value in JSON at position 779".
info If you think this is a bug, please open a bug report with the information provided in "C:\Salesforce\test\codeceptjs-bdd\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
C:\Users\lolg\AppData\Local\npm-cache_npx\bd4f35f9a4c924f0\node_modules\create-codeceptjs-bdd-tests\cli\update.package.js:27
throw new Error('Yarn command failed.');
^

Error: Yarn command failed.
at exports.installDependencies (C:\Users\lolg\AppData\Local\npm-cache_npx\bd4f35f9a4c924f0\node_modules\create-codeceptjs-bdd-tests\cli\update.package.js:27:15)
at run (C:\Users\lolg\AppData\Local\npm-cache_npx\bd4f35f9a4c924f0\node_modules\create-codeceptjs-bdd-tests\cli\create.js:150:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v20.3.0

log file yarn-error.log is attached.

yarn-error.log

Error seems to be on double quotes on package.json:
image

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant