Getting error when trying to start ember server - javascript

I am trying to start my server from within my app using the command;
ember serve
However I get a no such file or directory error as below;
version: 1.13.8
Livereload server on http://localhost:49156
Serving on http://localhost:4200/
ENOENT, no such file or directory 'C:\MyApp\mycode\tmp\concat_with_maps-input_base_path-tfPGUnEW.tmp\0\bower_components\ember-template-compiler\index.js'
Error: ENOENT, no such file or directory 'C:\MyApp\mycode\tmp\concat_with_maps-input_base_path-tfPGUnEW.tmp\0\bower_components\ember-template-compiler\index.js'
at Error (native)
at Object.fs.statSync (fs.js:797:18)
at ConcatWithMaps.keyForFile (C:\MyApp\mycode\node_modules\ember-cli\node_modules\broccoli-sourcemap-concat\node_modules\broccoli-caching-writer\index.js:91:55)
at Array.map (native)
at ConcatWithMaps.CachingWriter._conditionalBuild (C:\MyApp\mycode\node_modules\ember-cli\node_modules\broccoli-sourcemap-concat\node_modules\broccoli-caching-writer\index.js:107:61)
at C:\MyApp\mycode\node_modules\ember-cli\node_modules\broccoli-sourcemap-concat\node_modules\broccoli-caching-writer\node_modules\broccoli-plugin\read_compat.js:61:34
at lib$rsvp$$internal$$tryCatch (C:\MyApp\mycode\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:493:16)
at lib$rsvp$$internal$$invokeCallback (C:\MyApp\mycode\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:505:17)
at lib$rsvp$$internal$$publish (C:\MyApp\mycode\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:476:11)
at lib$rsvp$asap$$flush (C:\MyApp\mycode\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:1198:9)
Where should I look to fix the issue?

Related

VS Code source control does not reflect GIT changes

I use a MacOS laptop on Ventura(13.0.1) and I use VS code version 1.74.3 (Universal), When I make changes in my Vscode, the source control panel is not reflecting the changes I made and the notification centre of VScode shows the below error:
When I check the Vscode Developer Logs, I see the following errors
2023-01-24 20:03:13.166 [error] [File Watcher (parcel)] Unexpected error: No such file or directory (EUNKNOWN) (path: /Users/UserName/Desktop/folder)
2023-01-24 20:03:13.167 [error] [File Watcher (universal)] restarting watcher after error: No such file or directory
2023-01-24 20:03:13.918 [error] [File Watcher (parcel)] Unexpected error: No such file or directory (EUNKNOWN) (path: /Users/UserName/Desktop/folder)
2023-01-24 20:03:13.919 [error] [File Watcher (universal)] restarting watcher after error: No such file or directory
I have tried deleting VS code applications and also deleted the folders at $HOME/Library/Application Support/Code and ~/.vscode still the same error.

got this error after created electron application and try to open

Uncaught Exception:
Error: ENOENT: no such file or directory, open 'windowData.json'
at Object.openSync (fs.js:447:3)
at Object.func (electron/js2c/asar.js:140:31)
at Object.func [as openSync] (electron/js2c/asar.js:140:31)
at Object.readFileSync (fs.js:349:35)
at Object.fs.readFileSync (electron/js2c/asar.js:542:40)
at Object.fs.readFileSync (electron/js2c/asar.js:542:40)
at App.createWindow (/opt/webtodesktop/resources/app.asar/main.js:12:21)
at App.emit (events.js:208:15)
i have generated an electron application for linux .when I try to open my application after installation it gets above error .
main.js file uses windowData.json file to read window options (height,width,url).

Meteor app is crashing

I am very new to meteor and am trying to start a previous employees app. I downloaded the repo and installed meteor. When I installed the npm packages and did meteor run, the app crashed.
It gives me this error.
Your app is crashing. Here's the latest log:
{ [Error: Cannot find module './build/Release/DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' }
{ [Error: Cannot find module './build/default/DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' }
{ [Error: Cannot find module './build/Debug/DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' }
/Users/joey.diperi/.meteor/packages/meteor-tool/.1.3.2_4.yyk0ym.tlxjp++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:267
throw(ex);
^
Error: Match error: Missing key 'AWSAccessKeyId'
at exports.check (packages/check/match.js:34:1)
at new Slingshot.Directive (packages/edgee_slingshot/packages/edgee_slingshot.js:304:1)
at Object.Slingshot.createDirective (packages/edgee_slingshot/packages/edgee_slingshot.js:274:1)
at meteorInstall.server.config.slingshot.js (server/config/slingshot.js:1:11)
at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:141:1)
at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:75:1)
at /Users/joey.diperi/Documents/websites/bold_ideas/.meteor/local/build/programs/server/app/app.js:2723:1
at /Users/joey.diperi/Documents/websites/bold_ideas/.meteor/local/build/programs/server/boot.js:283:10
at Array.forEach (native)
at Function._.each._.forEach (/Users/joey.diperi/.meteor/packages/meteor-tool/.1.3.2_4.yyk0ym.tlxjp++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
Exited with code: 8
Your application is crashing. Waiting for file change.
I see in the startup.js page there are properties attached to the Meteor.settings object. Are the deployment keys usually kept in the Meteor.settings object in meteor?

npm install --save next/Link does not work and returns an error, no path on disk 'link.js'

I was simply trying to create a link in my next.js app, when I tried to run it it asked me to install 'Link' but it requested for me to sign into my git account (no idea why) and on the browser I received the error you see at the bottom here.
Any ideas on what to make of it?
Error in C:\Users\Tali\Desktop\practice\NextJs\pages\index.js?entry
Module not found: Error: [CaseSensitivePathsPlugin] `C:\Users\Tali\Desktop\practice\NextJs\node_modules\next\Link.js` does not match the corresponding path on disk `link.js`.
ModuleNotFoundError: Module not found: Error: [CaseSensitivePathsPlugin] `C:\Users\Tali\Desktop\practice\NextJs\node_modules\next\Link.js` does not match the corresponding path on disk `link.js`.
at factoryCallback (C:\Users\Tali\Desktop\practice\NextJs\node_modules\webpack\lib\Compilation.js:269:40)
at factory (C:\Users\Tali\Desktop\practice\NextJs\node_modules\webpack\lib\NormalModuleFactory.js:235:20)
at applyPluginsAsyncWaterfall (C:\Users\Tali\Desktop\practice\NextJs\node_modules\webpack\lib\NormalModuleFactory.js:70:21)
at C:\Users\Tali\Desktop\practice\NextJs\node_modules\tapable\lib\Tapable.js:265:18
at that.fileExistsWithCase (C:\Users\Tali\Desktop\practice\NextJs\node_modules\case-sensitive-paths-webpack-plugin\index.js:156:15)
at that.getFilenamesInDir (C:\Users\Tali\Desktop\practice\NextJs\node_modules\case-sensitive-paths-webpack-plugin\index.js:97:7)
at fs.readdir (C:\Users\Tali\Desktop\practice\NextJs\node_modules\case-sensitive-paths-webpack-plugin\index.js:63:5)
at C:\Users\Tali\Desktop\practice\NextJs\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:70:14
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)

Ionic build android on Linux

When I run ionic build android, I get this error:
shell.js: internal error
Error: ENOENT: no such file or directory, open '/home/darko/Downloads/todo/false/shelljs_2da7bb00de48ebd25547'
at Error (native)
at Object.fs.openSync (fs.js:584:18)
at Object.fs.writeFileSync (fs.js:1224:33)
at execSync (/usr/local/lib/node_modules/ionic/node_modules/shelljs/src/exec.js:56:6)
at Object._exec (/usr/local/lib/node_modules/ionic/node_modules/shelljs/src/exec.js:179:12)
at Object.exec (/usr/local/lib/node_modules/ionic/node_modules/shelljs/src/common.js:168:23)
at Object.getLinuxEnvironmentInfo (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/info.js:187:24)
at Object.getOsEnvironment (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/info.js:204:20)
at Object.t (/usr/local/lib/node_modules/ionic/lib/utils/stats.js:147:15)
at Object.run (/usr/local/lib/node_modules/ionic/lib/cli.js:135:16)
Please take note that path from the error:
ENOENT: no such file or directory, open '/home/darko/Downloads/todo/false/shelljs_2da7bb00de48ebd25547'
contains directory false, which I don't have..I think that should be node_modules instead of false.
Also, I had several problems before this error which I solved somehow, but I think I will get more errors as I go forward. Am I doing something fundamentaly wrong?

Categories