exotic-emerald
exotic-emerald•8mo ago

Which NPM package contains the refine binary?

I need to move the Refine base binary / package to an air-gapped system. When creating a Refine app using npx and create-refine-app, the refine binary is dropped into one's NPM bin. However, I'd like to know what the corresponding package is that provides this binary. npm install create-refine-app does not appear to contain any binaries. Your help is appreciated.
3 Replies
kapa.ai
kapa.ai•8mo ago
Hi @Orome. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Based on the information provided in the knowledge sources, it's not explicitly mentioned which NPM package contains the refine binary. However, the create-refine-app command is used to initialize a new Refine project, which might suggest that the create-refine-app package is responsible for setting up the necessary binaries and dependencies. For example, to create a new Refine app, you would use the following command:
npm create refine-app@latest
npm create refine-app@latest
If you're trying to test the create-refine-app package locally, you would need to bootstrap it first, then start it, which will build create-refine-app as you modify files:
npm run bootstrap -- --scope=create-refine-app
npm run start -- --scope=create-refine-app
npm run bootstrap -- --scope=create-refine-app
npm run start -- --scope=create-refine-app
Then, you should run the CLI from the dist folder:
node packages/create-refine-app/dist/index.js
node packages/create-refine-app/dist/index.js
These commands are mentioned in a Discord support thread (https://discord.com/channels/837692625737613362/1183632479010164746). However, for a definitive answer, I would recommend checking the official Refine documentation or reaching out to the Refine community for further assistance. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai•8mo ago
<@246037573359632385> kapa.ai is still learning and improving, please let us know how it did by reacting below
exotic-emerald
exotic-emeraldOP•8mo ago
This did not really answer my question. 🙂 I'm so dumb. The files are located under node_modules/.bin!