isaacplmann / ngx-tour

Product Tour Built in Angular
https://isaacplmann.github.io/ngx-tour
MIT License
246 stars 100 forks source link

Error on NPM Install for bootstrap #2

Closed queejie closed 7 years ago

queejie commented 7 years ago

I'm very sure the problem isn't permission related, but I can't think what else might be happening. Thanks for any help you might be able to offer.

Daves-Macbook:frontend dqj$ npm install --save ng2-tour
npm ERR! addLocal Could not install /Users/dqj/Local/dev/apps/pl3/nocti/frontend/node_modules/ng2-tour/ng-bootstrap-ng-bootstrap-1.0.0-alpha.15.tgz
npm ERR! Darwin 16.3.0
npm ERR! argv "/usr/local/Cellar/node/6.8.1/bin/node" "/usr/local/bin/npm" "install" "--save" "ng2-tour"
npm ERR! node v7.2.1
npm ERR! npm  v4.0.5
npm ERR! path /Users/dqj/Local/dev/apps/pl3/nocti/frontend/node_modules/ng2-tour/ng-bootstrap-ng-bootstrap-1.0.0-alpha.15.tgz
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open

npm ERR! enoent ENOENT: no such file or directory, open '/Users/dqj/Local/dev/apps/pl3/nocti/frontend/node_modules/ng2-tour/ng-bootstrap-ng-bootstrap-1.0.0-alpha.15.tgz'
npm ERR! enoent ENOENT: no such file or directory, open '/Users/dqj/Local/dev/apps/pl3/nocti/frontend/node_modules/ng2-tour/ng-bootstrap-ng-bootstrap-1.0.0-alpha.15.tgz'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/dqj/Local/dev/apps/pl3/nocti/frontend/npm-debug.log
isaacplmann commented 7 years ago

Yes, I need to get back to this project. Hopefully in the next week or so.

On Jan 6, 2017, at 10:26 AM, David Quinn-Jacobs notifications@github.com wrote:

Daves-Macbook:frontend dqj$ npm install --save ng2-tour npm ERR! addLocal Could not install /Users/dqj/Local/dev/apps/pl3/nocti/frontend/node_modules/ng2-tour/ng-bootstrap-ng-bootstrap-1.0.0-alpha.15.tgz npm ERR! Darwin 16.3.0 npm ERR! argv "/usr/local/Cellar/node/6.8.1/bin/node" "/usr/local/bin/npm" "install" "--save" "ng2-tour" npm ERR! node v7.2.1 npm ERR! npm v4.0.5 npm ERR! path /Users/dqj/Local/dev/apps/pl3/nocti/frontend/node_modules/ng2-tour/ng-bootstrap-ng-bootstrap-1.0.0-alpha.15.tgz npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall open

npm ERR! enoent ENOENT: no such file or directory, open '/Users/dqj/Local/dev/apps/pl3/nocti/frontend/node_modules/ng2-tour/ng-bootstrap-ng-bootstrap-1.0.0-alpha.15.tgz' npm ERR! enoent ENOENT: no such file or directory, open '/Users/dqj/Local/dev/apps/pl3/nocti/frontend/node_modules/ng2-tour/ng-bootstrap-ng-bootstrap-1.0.0-alpha.15.tgz' npm ERR! enoent This is most likely not a problem with npm itself npm ERR! enoent and is related to npm not being able to find a file. npm ERR! enoent

npm ERR! Please include the following file with any support request: npm ERR! /Users/dqj/Local/dev/apps/pl3/nocti/frontend/npm-debug.log — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/isaacplmann/ng2-tour/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AA0lQAvKbzFYYqTRyD5Z1pj0l1Mlyykjks5rPl0kgaJpZM4Lcz3I.

queejie commented 7 years ago

Thanks for getting back to me! I was just updating my comment as I received your note.

isaacplmann commented 7 years ago

I'm relying on a locally built version of ng-bootstrap, which isn't in the repo. The fix that I needed from ng-bootstrap is now in the published version of ng-bootstrap, so I can make this library work correctly for everyone now -- I just need to get around to it.

isaacplmann commented 7 years ago

If you want to try a PR, you could update the package.json to point to the latest @ng-bootstrap/ng-bootstrap and see if it works.

queejie commented 7 years ago

Thank you. I'm still not adept enough with git, but I'll try it. Please excuse me if I make mistakes while learning how to do a pull request, etc.

isaacplmann commented 7 years ago

No problem. Let me know if you get stuck - I’ll try to help.

On Jan 6, 2017, at 11:23 AM, David Quinn-Jacobs notifications@github.com wrote:

Thank you. I'm still not adept enough with git, but I'll try it. Please excuse me if I make mistakes while learning how to do a pull request, etc.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/isaacplmann/ng2-tour/issues/2#issuecomment-270940865, or mute the thread https://github.com/notifications/unsubscribe-auth/AA0lQDwhqxp2-yaXw-NxenPdeBNSEPixks5rPmqRgaJpZM4Lcz3I.

isaacplmann commented 7 years ago

Probably not doing anything wrong. I think I left this library in a state of disrepair. I hope to fix it soon.

On Jan 26, 2017 7:31 PM, "Reade" notifications@github.com wrote:

Hi there,

Installing the latest @ng-bootstrap/ng-bootstrap fixes the install error!

But I am running into another error. I am attempting to complete 2) import TourNgBootstrapModule into your app module with:

import { CommonModule } from '@angular/common';

import { TourNgBootstrapModule } from 'ng2-tour/src/lib/plugin/ng-bootstrap/ng-bootstrap.module';

@NgModule({ imports: [ CommonModule,, TourNgBootstrapModule ] })

export default class AppModule { }

and am running into: Error: Unexpected value 'TourNgBootstrapModule' imported by the module 'AppModule'

Am I doing something wrong here? Would be grateful for any advice you can provide, cheers!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/isaacplmann/ng2-tour/issues/2#issuecomment-275557522, or mute the thread https://github.com/notifications/unsubscribe-auth/AA0lQLKiIKqgtZ43XlXW60Qb1dMhkrIHks5rWTr2gaJpZM4Lcz3I .

isaacplmann commented 7 years ago

I think its working now. Let me know if version 0.1.3 works for you.