Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #1

Open
jaumard opened this issue Mar 17, 2016 · 5 comments
Open

Error #1

jaumard opened this issue Mar 17, 2016 · 5 comments
Labels

Comments

@jaumard
Copy link

jaumard commented Mar 17, 2016

With the npm version 1.0.1 I have this error when sources are reloaded :

TypeError: Cannot redefine property: inspect
    at Function.defineProperty (native)
    at Object.configureApp (/Users/jaumard/Downloads/testTrails/node_modules/trailpack-repl/lib/inspect.js:65:12)
    at REPL.configure (/Users/jaumard/Downloads/testTrails/node_modules/trailpack-repl/index.js:17:17)
    at /Users/jaumard/Downloads/testTrails/node_modules/trails/lib/trailpack.js:56:26
    at process._tickDomainCallback (node.js:407:9)
@jaumard
Copy link
Author

jaumard commented Mar 18, 2016

If I disable repl I have another similar error under core trailpack :

error: 
 TypeError: Cannot redefine property: __
    at Function.defineProperty (native)
    at /Users/jaumard/Downloads/testTrails/node_modules/trailpack-core/index.js:41:14
    at process._tickCallback (node.js:364:9)
debug: trails event: trails:stop

@tjwebb tjwebb added the bug label Mar 22, 2016
@tjwebb
Copy link
Member

tjwebb commented Mar 22, 2016

I updated trailpack-core to fix this; will publish an updated version soon.

@jaumard jaumard changed the title Error with REPL Error Apr 24, 2016
@jaumard
Copy link
Author

jaumard commented Apr 24, 2016

Now I have this :

error: 
 TypeError: this.once is not a function
    at AutoreloadTrailpack.initialize (/Users/jaumard/Downloads/testTrails/node_modules/trailpack-autoreload/index.js:43:10)
    at /Users/jaumard/Downloads/testTrails/node_modules/trails/lib/trailpack.js:51:26
    at process._tickDomainCallback (node.js:407:9)

@jaumard
Copy link
Author

jaumard commented Apr 24, 2016

Ok this error append because npm doesn't install the good version of trailpack https://github.com/trailsjs/trailpack-autoreload/blob/master/package.json#L19 after another install this error disapear.

But now another error ^^ here https://github.com/trailsjs/trailpack-autoreload/blob/master/index.js#L44
Maybe it's this.app.packs.repl right ? Because for now I have TypeError: Cannot read property 'repl' of undefined

@tjwebb
Copy link
Member

tjwebb commented Apr 25, 2016

Weird, that looks like a bug anyway. You're right, it should be this.app.packs. I think I'll add the packs property to Trailpack, though, for convenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants