# Error : Can only load node core modules in Node

**URL:** <https://discourse.aurelia.io/t/error-can-only-load-node-core-modules-in-node/849>\
**Category:** Help Requests\
**Created:** [February 28, 2018, 7:25pm UTC](https://discourse.aurelia.io/t/error-can-only-load-node-core-modules-in-node/849 "2018-02-28T19:25:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![NajiJzr](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/najijzr/32/602_2.png) [@NajiJzr](https://discourse.aurelia.io/u/NajiJzr)\
**Post date:** [February 28, 2018, 7:25pm UTC](https://discourse.aurelia.io/t/error-can-only-load-node-core-modules-in-node/849/1 "2018-02-28T19:25:06Z")

</div>

Hi all,  
I’m working on an aurelia project started since 2015. I had to update the node version of it and ever since I’m facing lots of errors that I’ve solved. Now I’m stuck with this error :

```auto
Uncaught (in promise) Error: (SystemJS) Error loading @node/tty. Can only load node core modules in Node.
	TypeError: Error loading @node/tty. Can only load node core modules in Node.

```

I’ve tried to modify config.js, but nothing worked with me and I can’t find helpful resources about this error. Can anyone help please ?

---

<div class="post-metadata">

**Author:** ![Alexander-Taran](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/alexander-taran/32/2308_2.png) [@Alexander-Taran](https://discourse.aurelia.io/u/Alexander-Taran)\
**Post date:** [February 28, 2018, 10:20pm UTC](https://discourse.aurelia.io/t/error-can-only-load-node-core-modules-in-node/849/2 "2018-02-28T22:20:14Z")

</div>

Please describe your setup a bit more.  
you were using skeleton as a starter?  
and you settled on jspm, cos there were nothing else at the time.  
on what version of node it worked?  
what version do you have now?

The error happens in the browser?  
What modules are loading when that happens?

---

<div class="post-metadata">

**Author:** ![NajiJzr](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/najijzr/32/602_2.png) [@NajiJzr](https://discourse.aurelia.io/u/NajiJzr)\
**Post date:** [March 1, 2018, 4:43pm UTC](https://discourse.aurelia.io/t/error-can-only-load-node-core-modules-in-node/849/3 "2018-03-01T16:43:53Z")

</div>

- The developer who started the project isn’t here anymore so I don’t know how he start it. I started to work on it only last year and it was smooth before getting to update node version.
- jspm is used heavily, most of the packages are within it. I don’t know if this answers the question.
- It was on node version v0.12.18 & it’s now updated to v6.9.1
- Yes the error happens inside the browser I took it from its console.
- I don’t know what modules are loading, how to check ?

---

<div class="post-metadata">

**Author:** ![Alexander-Taran](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/alexander-taran/32/2308_2.png) [@Alexander-Taran](https://discourse.aurelia.io/u/Alexander-Taran)\
**Post date:** [March 1, 2018, 7:20pm UTC](https://discourse.aurelia.io/t/error-can-only-load-node-core-modules-in-node/849/4 "2018-03-01T19:20:13Z")

</div>

Man, you got a lot of catching up to do…  
I’d suggest you take the latest skeleton from here

> **[aurelia/skeleton-navigation](https://github.com/aurelia/skeleton-navigation)**
>
> Starter kits for building a standard navigation-style app with Aurelia. - aurelia/skeleton-navigation

  
not released but straight from master…  
you probably need the skeleton-esnext.  
I doubt that yours is set up with typescript.

Then ensure it (the skeleton) runs as it should after installing depelnedncies (npm/jspm/typings)

Then figure out what would be easier… moving code from your app to the skeleton, or upgrading dependencies in your app.

Ping back here if you’ll get stuck on the way.  
And good luck.
