Error when run with ionic


#1

Error: Module build failed: Error: ENOENT: no such file or directory, open 'C:\Users\lenovo\Desktop\newSalvum\node_modules@rign\angular2-tree\main.js’
at Error (native)
at Object.defineProperty.value (http://localhost:8100/build/vendor.js:63976:7)
at webpack_require (http://localhost:8100/build/vendor.js:55:30)
at Object.322 (http://localhost:8100/build/main.js:4755:78)
at webpack_require (http://localhost:8100/build/vendor.js:55:30)
at Object.319 (http://localhost:8100/build/main.js:4447:87)
at webpack_require (http://localhost:8100/build/vendor.js:55:30)
at Object.403 (http://localhost:8100/build/main.js:5756:65)
at webpack_require (http://localhost:8100/build/vendor.js:55:30)
at Object.367 (http://localhost:8100/build/main.js:5512:73)
at webpack_require (http://localhost:8100/build/vendor.js:55:30)

i am using angular2 file manager with ionic 2. please help me to sort this native problem that how I make angular2 file manager compatible with ionic 2. please help. i am already stuck in this big problem. please reply as soon as possible.thanks in advance.


#2

What is “angular2 file manager”?
What is your ionic info?


#3

@ionic/cli-utils : 1.12.0
ionic (Ionic CLI) : 3.12.0

global packages:

cordova (Cordova CLI) : 7.0.1

local packages:

@ionic/app-scripts : 3.0.0
Cordova Platforms  : none
Ionic Framework    : ionic-angular 3.6.0

System:

Node : v6.11.0
npm  : 5.2.0
OS   : Windows 10

Misc:

backend : pro

#4

https://www.npmjs.com/package/@rign/angular2-filemanager, refer this link, it is used for file manager in angular 2 and i want to use this in ionic 2.


#5

How are you building and running your app?
How did you implement this package into your app?


#6

i use these all packages in package.json and then run npm install. and run with ionic serve.


#7

This looks wrong.

What is this?


#8

node_modules@rign , why it looks wrong? it is the package in which angular2-tree and angular2-filemanager are there.


#9

can you please tell me that ,will file manager is built in ionic 2 because i have found in ionic 1 not in ionic 2?


#10

Normally the folder is called node_modules. Why is yours called differently?


#11

yes, @rign is the package in node_modules folder.


#12

Then there is a / missing between these two folder names in the error message.


#13

oh, yes, sorry to confuse you.it may be not copied at the time when I copy the error.
can you please tell me that ,will file manager is built in ionic 2 because i have found in ionic 1 not in ionic 2?
or can we port angular 2 app (angular-filemanager which i send you the link above) in to ionic 2 app?
please Reply…


#14

So the actual error message is not missing the /?
Thanks for wasting my time then.

No idea.


#15

i am not want to waste your time , i really wanted to know that how we build file manager in ionic 2. its my mistake. now you see this.
Module build failed: Error: ENOENT: no such file or directory, open ‘C:/Users/lenovo/Desktop/newSalvum/node_modules/@rign/angular2-tree/main.js’ at Error (native)