demo-todo-with-react icon indicating copy to clipboard operation
demo-todo-with-react copied to clipboard

🐛 Bug Report: Cannot convert undefined or null to object

Open bildungsroman opened this issue 3 years ago • 5 comments

👟 Reproduction steps

Clone the repo, run npm install.

👍 Expected behavior

Successful installation of dependencies.

👎 Actual Behavior

The installation fails with

➜  demo-todo-with-react git:(main) ✗ npm i
npm ERR! Cannot convert undefined or null to object

After brief googling, I suspect this may be related to tailwind, but updating tailwind versions did not fix the issue.

🎲 Appwrite version

Version 0.10.x

💻 Operating system

MacOS

🧱 Your Environment

npm v8.4.0, node v16.4.1

👀 Have you spent some time to check if this issue has been raised before?

  • [X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

bildungsroman avatar Apr 13 '22 03:04 bildungsroman

Thank you for raising this @bildungsroman 👍 @Meldiron Please take a look

christyjacob4 avatar Apr 14 '22 15:04 christyjacob4

@bildungsroman @christyjacob4 Using Yarn instead of NPM solved the issue for me.

lohanidamodar avatar Apr 17 '22 08:04 lohanidamodar

@bildungsroman please use yarn to install the dependencies until we are able to narrow down the issue and fix it . Thank you for being patient with us :)

christyjacob4 avatar Apr 19 '22 08:04 christyjacob4

Found the related bug in NPM, https://github.com/npm/cli/issues/4313 Solution is to use npm install --no-audit or yarn

lohanidamodar avatar Apr 22 '22 01:04 lohanidamodar

i can do it! please assign

prathamesh3707 avatar Oct 03 '23 03:10 prathamesh3707