Groups
Sign in
Groups
Spine
Conversations
About
Send feedback
Help
Installation new dependency through npm in hem
54 views
Skip to first unread message
pawel lewinski
unread,
Apr 12, 2012, 10:52:06 AM
4/12/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Spine
Hello
I want instal
http://momentjs.com/
to my new spine application.
This is my package.json
http://pastie.org/3774523
This is my slug.json
http://pastie.org/3774527
I execute in my root project folder npm install .
After this command I can see moment.js folder in node_modules/moment
Then I try add moment to my lib/setup.coffee
http://pastie.org/3774540
But chrome console give me exception Uncaught module moment not found
Miles Matthias
unread,
Aug 29, 2013, 10:45:23 AM
8/29/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to spi...@googlegroups.com
I'm running into a similar issue. I'm trying to add a yaml parser module and followed the same steps you did but when I restart hem, I get:
Error: Cannot find module: buffer. Have you run `npm install .` ?
Not sure why this is happening...
Miles Matthias
unread,
Dec 5, 2013, 5:53:09 PM
12/5/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to spi...@googlegroups.com
Is anyone else seeing this? I expected to be able to use npm modules so much easier than it's been.
Reply all
Reply to author
Forward
0 new messages