Skip to content

Error: ENOENT: no such file or directory, copyfile 'node_modules/pbf/dist/pbf.js' #187

@nakkore

Description

@nakkore

Hi,

I'm using the docker image.

When running docker run gtfs-to-html

it outputs something like:

GTFS-Realtime import complete: 220 alerts, 24882 trip updates, 1254 vehicle positions
Creating DB indexes
Completed GTFS import in 106.2 seconds

Error: ENOENT: no such file or directory, copyfile 'node_modules/pbf/dist/pbf.js' -> '/html/marintransit/js/pbf.js'
  Error: ENOENT: no such file or directory, copyfile 'node_modules/pbf/dist/pbf.  js' -> '/html/marintransit/js/pbf.js'
  
  - promises:623 async copyFile
    node:internal/fs/promises:623:10
  
  - gtfs-to-html.js:2342 async copyStaticAssets
    [lib]/[gtfs-to-html]/dist/bin/gtfs-to-html.js:2342:5
  
  - gtfs-to-html.js:2485 async gtfsToHtml
    [lib]/[gtfs-to-html]/dist/bin/gtfs-to-html.js:2485:5
  
  - gtfs-to-html.js:2607 async setupImport
    [lib]/[gtfs-to-html]/dist/bin/gtfs-to-html.js:2607:3

Is there something wrong with the docker build ?
Tried 2.11.0, 2.10.9, 2.9.10 same issue.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions