Ember-cli build failed: no such file or directory - ember-cli

I migrate my grunt project to ember-cli project, after resolving all JSHint errors, I run "ember build", but got the following error output:
version: 0.2.3
BuildingBuilding.Building..Building...BuildingBuilding.Building..Building...Build failed.
ENOENT, no such file or directory 'D:\work\mi\kiford\tmp\funnel-dest_j2vQCU.tmp'
Error: ENOENT, no such file or directory 'D:\work\mi\kiford\tmp\funnel-dest_j2vQCU.tmp'
at Error (native)
at Object.fs.readdirSync (fs.js:761:18)
at D:\work\mi\kiford\node_modules\ember-cli\node_modules\broccoli-merge-trees\index.js:32:21
at Array.map (native)
at mergeRelativePath (D:\work\mi\kiford\node_modules\ember-cli\node_modules\broccoli-merge-trees\index.js:30:29)
at D:\work\mi\kiford\node_modules\ember-cli\node_modules\broccoli-merge-trees\index.js:23:5
at lib$rsvp$$internal$$tryCatch (D:\work\mi\kiford\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:489:16)
at lib$rsvp$$internal$$invokeCallback (D:\work\mi\kiford\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:501:17)
at lib$rsvp$$internal$$publish (D:\work\mi\kiford\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:472:11)
at lib$rsvp$asap$$flush (D:\work\mi\kiford\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:1290:9)
Any clue to fix it?

Related

vite:build-html EISDIR: illegal operation on a directory, read

`npm run build
hiddal.com#0.0.0 build
vite build
vite v4.1.1 building for production...
✓ 0 modules transformed.
[vite:build-html] EISDIR: illegal operation on a directory, read
file: C:/Users/hgale/alexanderhdev/Hiddal/hiddal.com/index.html
error during build:
Error: EISDIR: illegal operation on a directory, read
I still couldn't find solutions because I can't understand the error`

There is not this file and I get ERROR in ./node_modules/#mui/x-date-pickers/node_modules/#mui/utils/esm/index.js

I am trying to use #mui/x-data-grid-premium trial version.
Before the npm install #mui/x-data-grid-premium everything works fine. After the installation, I changed DataGrid to DataGridPremium and I saved the file then my site shows the following error
`ERROR in ./node_modules/#mui/x-date-pickers/node_modules/#mui/utils/esm/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: ENOENT: no such file or directory, open 'C:\Users..\frontend\node_modules#mui\x-date-pickers\node_modules#mui\utils\esm\index.js'`

Not able to compile swift on Ubuntu 18.04

I installed swift toolchain using instructions from swift.org. While compiling helloworld code I am getting below error.
warning: 'helloworld': failed loading cached manifest for 'helloworld': disk I/O error
error: 'helloworld': Invalid manifest
<unknown>:0: error: unable to open output file '/usr2/xyz/.cache/clang/ModuleCache/IJ5GUC7XMAO5/SwiftShims-1TLN9ZL6HKTHR.pcm': 'No such file or directory'
<unknown>:0: error: could not build C module 'SwiftShims'
I tried removing '/usr2/xyz/.cache/clang/ModuleCache', but did not work. Please help in resolving this issue.

cmake in vsc doesn't find generator

I need help. I tried everything. I want build a project with cmake in C++ in visual studio code.
I always get this error message.
[variant] Loaded new set of variants
[kit] Successfully loaded 9 kits from C:\Users\beatb\AppData\Local\CMakeTools\cmake-tools-kits.json
[kit] Failed to parse cmake.exe:
SyntaxError: JSON5: invalid character 'M' at 1:1
at syntaxError (c:\Users\beatb\.vscode\extensions\ms-vscode.cmake-tools-1.9.2\dist\main.js:35543:17)
at invalidChar (c:\Users\beatb\.vscode\extensions\ms-vscode.cmake-tools-1.9.2\dist\main.js:35488:12)
at Object.value (c:\Users\beatb\.vscode\extensions\ms-vscode.cmake-tools-1.9.2\dist\main.js:34747:15)
at lex (c:\Users\beatb\.vscode\extensions\ms-vscode.cmake-tools-1.9.2\dist\main.js:34538:42)
at Object.parse (c:\Users\beatb\.vscode\extensions\ms-vscode.cmake-tools-1.9.2\dist\main.js:34485:17)
at readKitsFile (c:\Users\beatb\.vscode\extensions\ms-vscode.cmake-tools-1.9.2\dist\main.js:57032:26)
at async Object.getAdditionalKits (c:\Users\beatb\.vscode\extensions\ms-vscode.cmake-tools-1.9.2\dist\main.js:57088:48)
at async KitsController.readKits (c:\Users\beatb\.vscode\extensions\ms-vscode.cmake-tools-1.9.2\dist\main.js:57264:35)
at async Function.init (c:\Users\beatb\.vscode\extensions\ms-vscode.cmake-tools-1.9.2\dist\main.js:57208:9)
at async Function.init (c:\Users\beatb\.vscode\extensions\ms-vscode.cmake-tools-1.9.2\dist\main.js:55478:32)
at async CMakeToolsFolderController._addFolder (c:\Users\beatb\.vscode\extensions\ms-vscode.cmake-tools-1.9.2\dist\main.js:55727:22)
at async CMakeToolsFolderController.loadAllCurrent (c:\Users\beatb\.vscode\extensions\ms-vscode.cmake-tools-1.9.2\dist\main.js:55679:17)
at async ExtensionManager._init (c:\Users\beatb\.vscode\extensions\ms-vscode.cmake-tools-1.9.2\dist\main.js:54050:13)
at async Function.create (c:\Users\beatb\.vscode\extensions\ms-vscode.cmake-tools-1.9.2\dist\main.js:54102:9)
at async setup (c:\Users\beatb\.vscode\extensions\ms-vscode.cmake-tools-1.9.2\dist\main.js:55194:32)
at async Promise.all (index 0)
at async Promise.all (index 100)
at async Promise.all (index 1)
[proc] Executing command: C:\msys64\mingw64\bin\x86_64-w64-mingw32-gcc.exe -v
[main] Configuring folder: HelloWorld
[proc] Executing command: "C:\Program Files\Cmake\bin\cmake.exe" --no-warn-unused-cli -
DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -
DCMAKE_C_COMPILER:FILEPATH=C:\msys64\mingw64\bin\x86_64-w64-mingw32-gcc.exe -
DCMAKE_CXX_COMPILER:FILEPATH=C:\msys64\mingw64\bin\x86_64-w64-mingw32-g++.exe -
Hc:/Users/beatb/OneDrive/Documents/Programmieren/C++/HelloWorld -
Bc:/Users/beatb/OneDrive/Documents/Programmieren/C++/HelloWorld/build -G "MSYS Makefiles"
[cmake] Not searching for unused variables given on the command line.
[cmake] CMake Error: CMake was unable to find a build program corresponding to "MSYS
Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
[cmake] CMake Error: CMake was unable to find a build program corresponding to "MSYS Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
[cmake] CMake Error: CMAKE_AR was not found, please set to archive program.
[cmake] -- Configuring incomplete, errors occurred!
[main] Configuring folder: HelloWorld
[proc] Executing command: "C:\Program Files\Cmake\bin\cmake.exe" --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=C:\msys64\mingw64\bin\x86_64-w64-mingw32-gcc.exe -DCMAKE_CXX_COMPILER:FILEPATH=C:\msys64\mingw64\bin\x86_64-w64-mingw32-g++.exe -Hc:/Users/beatb/OneDrive/Documents/Programmieren/C++/HelloWorld -Bc:/Users/beatb/OneDrive/Documents/Programmieren/C++/HelloWorld/build -G "MSYS Makefiles"
[cmake] Not searching for unused variables given on the command line.
[cmake] CMake Error: CMake was unable to find a build program corresponding to "MSYS Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
[cmake] CMake Error: CMake was unable to find a build program corresponding to "MSYS Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
[cmake] -- Configuring incomplete, errors occurred!
[cmake] CMake Error: CMAKE_AR was not found, please set to archive program.
[main] Restarting the CMake driver after a generator change.
[proc] Executing command: C:\msys64\mingw64\bin\x86_64-w64-mingw32-gcc.exe -v
[cmakefileapi-driver] Removing c:/Users/beatb/OneDrive/Documents/Programmieren/C++/HelloWorld/build/CMakeCache.txt
[rollbar] Unhandled exception: Unhandled Promise rejection: quickStart Error: No usable generator found. {}
[main] Restarting the CMake driver after a generator change.
[rollbar] Unhandled exception: Unhandled Promise rejection: quickStart Error: No usable generator found. {}
[rollbar] Unhandled exception: Unhandled Promise rejection: quickStart Error: No usable generator found. {}
[main] Restarting the CMake driver after a generator change.
[rollbar] Unhandled exception: Unhandled Promise rejection: quickStart Error: No usable generator found. {}
[main] Restarting the CMake driver after a generator change.
[rollbar] Unhandled exception: Unhandled Promise rejection: quickStart Error: No usable generator found. {}
[rollbar] Unhandled exception: Unhandled Promise rejection: quickStart Error: No usable generator found. {}
[main] Restarting the CMake driver after a generator change.
[rollbar] Unhandled exception: Unhandled Promise rejection: quickStart Error: No usable generator found. {}
[rollbar] Unhandled exception: Unhandled Promise rejection: quickStart Error: No usable generator found. {}
[main] Restarting the CMake driver after a generator change.
[rollbar] Unhandled exception: Unhandled Promise rejection: quickStart Error: No usable generator found. {}
This is the the code in my settings.json
{
"files.autoSave": "afterDelay",
"kite.showWelcomeNotificationOnStartup": false,
"code-runner.executorMap": {
"c": "cd $dir && gcc *.c -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"cpp": "cd $dir && g++ *.cpp -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
},
"code-runner.runInTerminal": true,
"code-runner.ignoreSelection": true,
"cmake.configureOnOpen": true,
"cmake.cmakePath": "C:\\Program Files\\Cmake\\bin\\cmake.exe",
"cmake.additionalKits": [
"C:\\Program Files\\Cmake\\bin\\cmake.exe"
],
"cmake.generator": "mingw32-make"
}
The compiler I use is mingw. If I use the Visual Studio Build Tool as my kit everything works fine. I just have problems when I use GCC 10.3.0 x86_w64-mingw32.
I hope somebody can help me.
Found the error myself. I had to change the filename "mingw32-make.exe" (in the bin Folder of MinGW) into "make.exe". Now it works perfectly.

Can't use plugins for Cordova

Everytime I want to use a plugin I can't build a project and get this error:
$ cordova emulate ios
Generating config.xml from defaults for platform "ios"
Preparing ios project
Running on emulator for platform "ios" via command "/Users/jakob/Dropbox/Coding/+diplomarbeit/phonegap/rlb_cordova/platforms/ios/cordova/run" --emulator
/Users/jakob/lib/node_modules/cordova/node_modules/q/q.js:126
throw e;
^
Error: An error occurred while emulating/deploying the ios project. ** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
2013-12-31 15:54:27.469 xcodebuild[10583:641b] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3575/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78
Details: Failed to load dependencies output contents from ``/Users/jakob/Dropbox/Coding/+diplomarbeit/phonegap/rlb_cordova/platforms/ios/build/rlb_cordova.build/Debug-iphonesimulator/rlb_cordova.build/Objects-normal/i386/CDVDevice.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “CDVDevice.d” couldn’t be opened because there is no such file." UserInfo=0x7ff3ba0424e0 {NSFilePath=/Users/jakob/Dropbox/Coding/+diplomarbeit/phonegap/rlb_cordova/platforms/ios/build/rlb_cordova.build/Debug-iphonesimulator/rlb_cordova.build/Objects-normal/i386/CDVDevice.d, NSUnderlyingError=0x7ff3ba042590 "The operation couldn’t be completed. No such file or directory"}. User info: {
NSFilePath = "/Users/jakob/Dropbox/Coding/+diplomarbeit/phonegap/rlb_cordova/platforms/ios/build/rlb_cordova.build/Debug-iphonesimulator/rlb_cordova.build/Objects-normal/i386/CDVDevice.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = <lambda at /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3575/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:168:73>]
Thread: <NSThread: 0x7ff3ba041890>{name = (null), num = 9}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
** BUILD FAILED **
The following build commands failed:
CompileC build/rlb_cordova.build/Debug-iphonesimulator/rlb_cordova.build/Objects-normal/i386/CDVDevice.o rlb_cordova/Plugins/org.apache.cordova.device/CDVDevice.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
at ChildProcess.<anonymous> (/Users/jakob/lib/node_modules/cordova/src/emulate.js:67:22)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Socket.<anonymous> (child_process.js:948:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:466:12)
I only used the CLI and didn't mess with any config. Here I tried to install the device plugin like:
$ cordova plugin add org.apache.cordova.device
Fetching plugin from "org.apache.cordova.device"...
Starting installation of "org.apache.cordova.device" for android
Preparing android project
org.apache.cordova.device installed on android.
Starting installation of "org.apache.cordova.device" for ios
Preparing ios project
org.apache.cordova.device installed on ios.
Looks not too bad but however I can't build the project. Just when I remove the plugin with:
$ cordova plugin remove org.apache.cordova.device
Anyone else having this issues?
My Versions:
$ npm --version
1.3.14
$ node --version
v0.10.22
$ cordova --version
3.3.1-0.1.2
$ git --version
git version 1.8.3.4 (Apple Git-47)
I had the same problem, and I solved It creating the project with uppercase in the first letter of project name. Yes, it seems incredible, but this was the solution.