You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plugin gave me the error below when I ran parcel build on Windows 10, even when I ran cmd as Administrator:
{ Error: EPERM: operation not permitted, unlink 'D:\xxx\dist'
at Object.fs.unlinkSync (fs.js:1061:18)
at files.forEach (D:\xxx\node_modules\parcel-plugin-clean-dist\index.js:12:20)
at Array.forEach (<anonymous>)
at module.exports (D:\xxx\node_modules\parcel-plugin-clean-dist\index.js:10:19)
at Bundler.loadPlugins (D:\xxx\node_modules\parcel-bundler\src\Bundler.js:193:17)
at <anonymous>
errno: -4048,
code: 'EPERM',
syscall: 'unlink',
path: 'D:\\xxx\\dist' }
Env
Windows 10
node v8.11.1
npm v5.6.0
parcel-bundler v1.8.1
parcel-plugin-clean-dist v0.0.6
The text was updated successfully, but these errors were encountered:
The plugin gave me the error below when I ran
parcel build
on Windows 10, even when I ran cmd as Administrator:Env
The text was updated successfully, but these errors were encountered: