Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local dev instructions do not work #179

Open
jbalbien opened this issue Feb 17, 2025 · 0 comments
Open

Local dev instructions do not work #179

jbalbien opened this issue Feb 17, 2025 · 0 comments

Comments

@jbalbien
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant