Skip to content

Tag: node.js

How can I handle long Int with GraphQL?

As you know that GraphQL has no data type like long int. So, whenever the number is something big like 10000000000, it throws an error like this: Int cannot represent non 32-bit signed integer value: 1000000000000 For that I know two solutions: Use scalars. Use apollo-type-bigint package. Both of those soluti…

Errors using yarn Package Manager

I have been using npm to install packages using sudo before each command. Considering that this is a bad practice, I have installed yarn in order to manage my packages. After installing yarn and running a package installation, I am obtaining the following errors: info No lockfile found. Should I manually crea…

issue when running npm run serve in vue project

I’ve got an issue when try running server for vue project this is the issue ERROR Error: No valid exports main found for ‘ PROJECT PATHnode_modulescolorette’ Error: No valid exports main found for ‘PROJECT PATHnode_modulescolorette’ at resolveExportsTarget (internal/modules/cjs/l…