suggestbox icon indicating copy to clipboard operation
suggestbox copied to clipboard

npm troubles

Open puncleV opened this issue 8 years ago • 5 comments

I have tried something like this:

"dependencies": { ... "angular-suggestbox": "git+https://github.com/Ascarbek/suggestbox.git", ... }

and have next errors:

ERROR in ./~/send/index.js Module not found: Error: Cannot resolve module 'fs' inproj/node_modules/send @ ./~/send/index.js 24:9-22

ERROR in ./~/destroy/index.js Module not found: Error: Cannot resolve module 'fs' in proj/node_modules/destroy @ ./~/destroy/index.js 14:17-30

ERROR in ./~/etag/index.js Module not found: Error: Cannot resolve module 'fs' in proj/node_modules/etag @ ./~/etag/index.js 22:12-25

ERROR in ./~/send/~/mime/mime.js Module not found: Error: Cannot resolve module 'fs' in proj/node_modules/send/node_modules/mime @ ./~/send/~/mime/mime.js 2:9-22

is it possible to use ur component with npm's package.json?

puncleV avatar Jan 11 '17 08:01 puncleV

Hi! it's a frontend component, so I made it only as a bower component. not npm

Ascarbek avatar Jan 11 '17 15:01 Ascarbek

So i cant use it in my proj? :( It's would be very useful. But webpack cant "pack" it correctly after installing dependencies. :(

But ty 4 reply.

puncleV avatar Jan 12 '17 12:01 puncleV

I'll correct it soon and it will be a proper npm package. I'll let you know here

Ascarbek avatar Jan 15 '17 12:01 Ascarbek

ok, ty. :+1:

puncleV avatar Jan 18 '17 09:01 puncleV

yup. 👍

pablomaurer avatar Apr 12 '17 08:04 pablomaurer