Ionic build android on Linux - javascript

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?

Related

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).

build error came after update node modules

Error on fetch for node_modules/angular2-notifications/src/simple-notifications.module.js at file:///D:/GIP/IMAGE PILOT/gipfe/node_modules/angular2-notifications/src/simple-notifications.module.js
Loading build/tmp/aot/src/app/app.module.ngfactory.js
Loading build\boot-aot.js
Error: ENOENT: no such file or directory, open 'D:\GIP\IMAGE PILOT\gipfe\node_modules\angular2-notifications\src\simple-notifications.module.js'
[10:13:51] 'build.aot' errored after 52 s
[10:13:51] Error in plugin 'run-sequence(bundle-aot)'
Message:
Error on fetch for node_modules/angular2-notifications/src/simple-notifications.module.js at file:///D:/GIP/IMAGE PILOT/gipfe/node_modules/angular2-notifications/src/simple-notifications.module.js
Loading build/tmp/aot/src/app/app.module.ngfactory.js
Loading build\boot-aot.js
ENOENT: no such file or directory, open 'D:\GIP\IMAGE PILOT\gipfe\node_modules\angular2-notifications\src\simple-notifications.module.js'
Details:
originalErr: Error: ENOENT: no such file or directory, open 'D:\GIP\IMAGE PILOT\gipfe\node_modules\angular2-notifications\src\simple-notifications.module.js'
Stack:
Error on fetch for node_modules/angular2-notifications/src/simple-notifications.module.js at file:///D:/GIP/IMAGE PILOT/gipfe/node_modules/angular2-notifications/src/simple-notifications.module.js
Loading build/tmp/aot/src/app/app.module.ngfactory.js
Loading build\boot-aot.js
Error: ENOENT: no such file or directory, open 'D:\GIP\IMAGE PILOT\gipfe\node_modules\angular2-notifications\src\simple-notifications.module.js'
import { SimpleNotificationsModule } from 'angular2-notifications';
imports: [
SharedModule,
routing,
ToastModule.forRoot(),
SimpleNotificationsModule.forRoot(),
this build error came when i take build npm run build.aot command. i put npm install command in my project then i try to take build error was came.
pls help me to resolve this
thank you.
Before i installed typescript version
"typescript": "^2.3.3" // package.json
then i changed the typescript version
"typescript": "2.3.3" //without cap symbol
Now,error was not came and i took build successfully

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)

Can't run a meteor project (Ubuntu 16.04)

I am using Ubuntu 16.04 and I have installed node.js, npm, nodejs-legacy (via terminal) and I launched the meteor installer from the offical meteor webpage.
Now I have following problem when I try to start my meteor project:
/home/fabian/.meteor/packages/meteor-tool/.1.4.1_2.354htk++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:165
throw error;
^
Error: ENOENT: no such file or directory, open
'/tmp/mt-1jeehae/os.json'
at Error (native)
I always get this error message - not only when I try to start my existing project - also when I try to create a new project - always the same message.
Does anybody know how to fix this problem? Thank you very much.

Getting error when trying to start ember server

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?

Categories