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

"Cannot assign to read only property ..." errors on reload in trailpacks #5

Open
zuker opened this issue May 19, 2016 · 1 comment
Open
Labels

Comments

@zuker
Copy link

zuker commented May 19, 2016

Following errors occur on reload in my current trails set up:

error: 
 TypeError: Cannot assign to read only property 'server' of object '#<Object>'
    at HapiTrailpack.configure (node_modules/trailpack-hapi/index.js:38:22)
    at app.after.then (node_modules/trails/lib/trailpack.js:63:26)
error: 
 TypeError: Cannot assign to read only property 'orm' of object '#<Object>'
    at BookshelfTrailpack.configure (index.js:100:5)
    at app.after.then (node_modules/trails/lib/trailpack.js:63:26)

package.json:

...
    "trailpack": "^1.0.2",
    "trailpack-autoreload": "^1.0.2",
    "trailpack-core": "1.0.0-beta-6",
    "trailpack-datastore": "^1.0.1",
    "trailpack-footprints": "^1.0.0",
    "trailpack-hapi": "^1.0.1",
    "trailpack-repl": "^1.0.6",
    "trailpack-router": "^1.0.2",
    "trailpack-webpack": "0.0.4",
    "trails": "^1.0.0",
    "trails-controller": "^1.0.0-beta-2",
    "trails-model": "^1.0.0-beta-2",
    "trails-policy": "^1.0.2",
    "trails-service": "^1.0.0-beta-2",
...
@ycpatel813
Copy link

I am also facing same error!

@tjwebb tjwebb added the bug label May 28, 2016
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

3 participants