Open wondie opened 3 years ago
I'm running into this same error. Did you develop a workaround or anything?
>> Error: ENOENT: no such file or directory, scandir '<path...>\buildOutput\app-packages'
I'm running into this same error. Did you develop a workaround or anything?
>> Error: ENOENT: no such file or directory, scandir '<path...>\buildOutput\app-packages'
Running command prompt as admin fixed this for me.
Running as admin unfortunately did not change anything for me. Thanks, though - hadn't thought of that.
I managed to avoid this issue by editing my package.json from my source application by adding some elements (in bold)
{
"name": "test",
"version": "1.0.0",
"description": "<!DOCTYPE html>\r <html>\r <head>\r <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\r <meta name=\"viewport\" content=\"initial-scale=1, maximum-scale=1, user-scalable=no\">\r <title>Readme</title>\r <style>\r .selector{color:red;}\r .heading{\r background-color:#D8E0E2;\r background-repeat:repeat-x;\r border-bottom:1px solid #FFFFFF;\r border-top:1px solid #FFFFFF;\r color:black;\r font-family:Verdana,Arial,Helvetica,sans-serif;\r font-size:16px;\r font-weight:bold;\r letter-spacing:1.1px;\r margin:15px 0 10px;\r padding:3px 10px;\r text-align:center;\r }\r </style>",
"main": "env.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
**"build": "esri-wab-build"**
},
"keywords": [
"Build"
],
"author": "",
"license": "ISC",
**"devDependencies": {
"esri-wab-build": "^1.1.0"
}**
}
However, even if it goes further, I do not reach the end of the process... Does anybody have a version of an app from WAB DE that does actually compile ?
I am getting the error below when I try to build. The buildOutput was is empty when the error happened. Is there any fix or workaround for it? I am using web app builder 2.17.