Skip to content

Package 'uuid' dependency is missing from dependecies in package.json #2375

@belochub

Description

@belochub

Starting from v8.1.0, uuid package is imported in the runtime of the library:

import {v4 as uuidv4} from 'uuid';

At the same time it is incorrectly listed under "devDependencies" in package.json:
"uuid": "^11.1.0",

This causes the import of this library to fail immediately with Error: Cannot find module 'uuid' unless the uuid package is in the list of the dependencies of the package importing the library.

The issue seems to have been introduced in 192bf2b.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: spannerIssues related to the googleapis/nodejs-spanner API.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions