Comments (4)
Ok. It works when I run the script from terminal, like node scripts/rebrand.js
. But I have added the script as preinstall.
"preinstall": "node scripts/update-pm.js"
So when I install the dependencies, it gets stuck. Please note that you need to comment out line number 15 to run the script.
from enquirer.
Hmm, prompt
is being called at the bottom of rebrand.js
but it's not being awaited. I'm not sure what else might be causing it.
from enquirer.
The culprit seems to be running it as preinstall
script. It runs normally otherwise. And I have tested removing the last prompt as well.
from enquirer.
K, sounds like this is technically resolved then. I'll go ahead and close. Let us know if you want to discuss further.
from enquirer.
Related Issues (20)
- Error with webpack HOT 4
- v2.4.0 contains changes that are not compatible with Node 14 HOT 2
- 2.4 changelog HOT 3
- In select or autocomplete mode, can hint support to display only when selected, but not normally?
- list not working when using nodemon HOT 1
- NPM dependency requests ^2.3.6 but seems to resolve 2.4.1? HOT 4
- engines.node in package.json needs to be updated HOT 1
- [ESM Support] Import named 'prompt' not found in module HOT 15
- What is the state of accessibility for this package?
- Cannot remove options from submenu
- Skip state is string??? HOT 5
- TypeScript type definitions seem to be lacking the prompt classes HOT 2
- Howto: Filepath in input
- Confirm prompt should optionally allow "Always".
- Nested choice name collision in MultiSelect HOT 1
- Scale: Initial value for choices cannot be the left-most item HOT 1
- Change default check mark HOT 1
- SyntaxError: Export named 'prompt' not found in module
- TypeScript: Infer `prompt()` return type object shape from question objects
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enquirer.