Skip to content

Local dev instructions do not work #179

@jbalbien

Description

@jbalbien

The instructions from https://github.com/country-regions/react-country-region-selector/blob/master/DEVELOPER.md no longer work as build/rollup.config.ts and build/minify-data.js are not available in the repo.

They seem to have been moved commit bc7bc24 but the build directory is ignored: https://github.com/country-regions/react-country-region-selector/blob/master/.gitignore#L27

% pnpm install                                 
Scope: all 5 workspace projects
Lockfile is up to date, resolution step is skipped
Already up to date
packages/react-country-region-selector prepare$ npm run minify-data
│ > [email protected] minify-data
│ > node build/minify-data.js
│ node:internal/modules/cjs/loader:1228
│   throw err;
│   ^
│ Error: Cannot find module 'react-country-region-selector/packages/react-country-region-selector/build/minify-data.js'
│     at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
│     at Module._load (node:internal/modules/cjs/loader:1051:27)
│     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
│     at node:internal/main/run_main_module:28:49 {
│   code: 'MODULE_NOT_FOUND',
│   requireStack: []
│ }
│ Node.js v20.18.0

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