-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
No script command created on Windows 10 #181
Comments
In order to make it work on windows 10: create and execute the following
or add the command by hand to scripts after installation:
|
Errors experienced on windows during command execution: 1.)
2.)
|
Strange, can you provide more information or steps? Do you have |
No, I don't have src/dist directories, but nevertheless it shouldn't throw an error. I've setup a blank project with no dependencies:
No errors are thrown, but the script command is NOT created. 3.) I add the script section by hand:
Now I get the errors mentioned above: errors:
2.)
3.) Done. Happy webpacking!
|
@evilebottnawi What triggers the |
What is use case for using webpack-defaults? |
Use-case? You would use if you want to write a loader/plugin as it sets up many things upfront. |
I don't have windows nearby, maybe we have some bugs with windows, I will try to look at that in next weekend (+ setup windows machine) |
That's why I asked you, what triggers this |
Yes, this is the mentioned file, but how does it get triggered/run, is there an install hook? |
I met same issue on macOS 10.15.3, under |
There was actually no script written for me on a mac either.
I did as Legends did and added the script myself. I got the UnhandledPromiseRejectionWarning error. |
What worked for me macOS Big Sur 11.1 was to run:
Thanks to @Legends for the hint in the PR. |
I have the same issue in macOS Big Sur 11.4. I have to add the command |
Expected Behavior
A created script command in package.json
Actual Behavior
nothing is created
Code
// additional code, HEY YO remove this block if you don't need it
package.json
How Do We Reproduce?
The text was updated successfully, but these errors were encountered: