-
Notifications
You must be signed in to change notification settings - Fork 1
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
UnhandledPromiseRejectionWarning: Error: spawn /Users/user/template/node_modules/esbuild-dev-server/lib/../../esbuild-dev-server-darwin-x64/devserver EACCES #1
Comments
Hello. Thank you for contacting. esbuild-dev-server calling rebuild repeatedly with the same options. Add this property to the options and try again. const options = {
entryPoints: ['src/app.tsx'],
bundle: true,
metafile: true, // needs to be set
outdir: 'dist/', // needs to be set
incremental: true, // !important
plugins: [
htmlPlugin(htmlPluginOptions),
lessLoader()
],
loader: {
'.ts': 'ts',
},
} |
I get the same error, and I made sure to use
|
Please send the full text of your error. |
I get this error when I try running the server with the options above.
|
This happens, because the server binary is not set as executable. Same happens in Linux. Manually making it executable works. Looking at the makefile and the paths in it, you probably build on Unix-type OS or WSL, so you probably just need a |
Indeed - running |
For Ubuntu you can run |
when i use this plugin, an error occurred
and esbuild code is:
The text was updated successfully, but these errors were encountered: