Giter Site home page Giter Site logo

Comments (17)

vith avatar vith commented on July 3, 2024

npm-debug.log

from react-redux-typescript-jspm-starter.

piotrwitek avatar piotrwitek commented on July 3, 2024

@vith thanks for detailed report, I have checked on clean ubuntu installation with zero global deps and install working fine, it seems like a problem with plugin typescript transpiler.
Could you try to delete jspm_packages folder and reinstall jspm deps with jspm install, then try to manually run npm run bundle-dev command

Other that that, I'm not sure what could be the problem.

from react-redux-typescript-jspm-starter.

piotrwitek avatar piotrwitek commented on July 3, 2024

but event then solution should be working fine but without dev-bundle optimization, please try to run npm start to see if project is starting

from react-redux-typescript-jspm-starter.

vith avatar vith commented on July 3, 2024

Same error after deleting jspm_packages, running jspm install and npm run bundle-dev. But yes, npm start seems to work fine.

I'll see if I can reproduce it in a new VM.

from react-redux-typescript-jspm-starter.

piotrwitek avatar piotrwitek commented on July 3, 2024

@vith Would be great if you can share your findings :)

Also please check maybe you have a typescript or jspm packages installed
globally, I would try to uninstall them as well and try again with
bundle-dev.

Pozdrawiam,
Piotr Witek

2016-08-12 15:23 GMT+02:00 Jason Papakostas [email protected]:

Same error after deleting jspm_packages, running jspm install and npm run
bundle-dev. But yes, npm start seems to work fine.

I'll see if I can reproduce it in a new VM.


You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
#12 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtHA7-6qSORHvDgt3vI4b0DFZkRsO7Vks5qfHPlgaJpZM4JjCp1
.

from react-redux-typescript-jspm-starter.

vith avatar vith commented on July 3, 2024

I am able to reproduce it in antergos-2016.07.19-x86_64.iso live environment (2GB wasn't enough to avoid oom, 4GB was). All I did was:

$ sudo pacman -S git nodejs npm
$ git clone https://github.com/piotrwitek/react-ts-jspm-starter-kit
$ cd react-ts-jspm-starter-kit
$ npm i

Again no difference if I remove the jspm_packages directory and run ./node_modules/.bin/jspm install && npm run bundle-dev manually.

Inside the VM there's definitely no global install of typescript or jspm.

from react-redux-typescript-jspm-starter.

piotrwitek avatar piotrwitek commented on July 3, 2024

Thanks, I gonna check it also with antergos to see if that's some machine specific issue.

from react-redux-typescript-jspm-starter.

vith avatar vith commented on July 3, 2024

I also just tested on Fedora-Workstation-Live-x86_64-24-1.2.iso live environment and could not reproduce with Fedora's packaged nodejs. However, I installed newer nodejs with https://rpm.nodesource.com/setup_6.x and was then able to reproduce.

I'm guessing the Ubuntu version you tested has old enough nodejs to not be affected.

Arch Linux: node v6.3.1: affected
Fedora 24: node v4.4.7: not affected
Fedora 24: node v6.3.1: affected

from react-redux-typescript-jspm-starter.

piotrwitek avatar piotrwitek commented on July 3, 2024

this is my config, should be same as your original
{ npm: '3.10.6',
ares: '1.10.1-DEV',
http_parser: '2.7.0',
icu: '56.1',
modules: '48',
node: '6.3.1',
openssl: '1.0.2h',
uv: '1.9.1',
v8: '5.0.71.57',
zlib: '1.2.8' }

from react-redux-typescript-jspm-starter.

piotrwitek avatar piotrwitek commented on July 3, 2024

also working fine on my windows laptop with this config: (linux is a desktop machine)

npm version
{ 'react-ts-jspm-starter-kit': '0.7.1',
  npm: '3.10.5',
  ares: '1.10.1-DEV',
  http_parser: '2.7.0',
  icu: '57.1',
  modules: '48',
  node: '6.3.1',
  openssl: '1.0.2h',
  uv: '1.9.1',
  v8: '5.0.71.57',
  zlib: '1.2.8' }

from react-redux-typescript-jspm-starter.

piotrwitek avatar piotrwitek commented on July 3, 2024

Could you please also check for which architecture was the node binary used
in a failing cases

On Aug 12, 2016 4:23 PM, "Jason Papakostas" [email protected]
wrote:

I also just tested on Fedora-Workstation-Live-x86_64-24-1.2.iso live
environment and could not reproduce with Fedora's packaged nodejs. However,
I installed newer nodejs with https://rpm.nodesource.com/setup_6.x and
was then able to reproduce.

I'm guessing the Ubuntu version you tested has old enough nodejs to not be
affected.

Arch Linux: node v6.3.1: affected
Fedora 24: node v4.4.7: not affected
Fedora 24: node v6.3.1: affected


You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
#12 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtHA6aKXWIw_0rn0s2sIVb-eJ2pkN-Uks5qfIHlgaJpZM4JjCp1
.

from react-redux-typescript-jspm-starter.

vith avatar vith commented on July 3, 2024

From my real Arch Linux environment:

~/react-ts-jspm-starter-kit masternpm version
{ 'react-ts-jspm-starter-kit': '0.7.1',
  npm: '3.10.6',
  ares: '1.10.1-DEV',
  http_parser: '2.7.1',
  icu: '57.1',
  modules: '48',
  node: '6.3.1',
  openssl: '1.0.2h',
  uv: '1.9.1',
  v8: '5.0.71.57',
  zlib: '1.2.8' }

~/react-ts-jspm-starter-kit masterfile "$(which node)"
/usr/bin/node: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=abc111a6272f59ebb7d3bb82a9514cb2b5341772, stripped

I am unable to reproduce in a new Ubuntu 16.04.1 VM, but its nodejs is 4.2.6. Have you installed 6.3.1 from a PPA? If so which one?

from react-redux-typescript-jspm-starter.

vith avatar vith commented on July 3, 2024

I don't get the error either on Ubuntu with nodejs from https://deb.nodesource.com/setup_6.x:

$ npm version
{ 'react-ts-jspm-starter-kit': '0.7.1',
  npm: '3.10.3',
  ares: '1.10.1-DEV',
  http_parser: '2.7.0',
  icu: '56.1',
  modules: '48',
  node: '6.3.1',
  openssl: '1.0.2h',
  uv: '1.9.1',
  v8: '5.0.71.57',
  zlib: '1.2.8' }

from react-redux-typescript-jspm-starter.

piotrwitek avatar piotrwitek commented on July 3, 2024

Yes I have installed from nodesource, seems like Arch linux using some kind of community driven repository and might be the case of some differences in node binary
https://nodejs.org/en/download/package-manager/#arch-linux

from react-redux-typescript-jspm-starter.

vith avatar vith commented on July 3, 2024

Arch Linux's "community" repo contains official packages. It's just called community because packages in there started out as unofficial AUR (Arch User Repository) packages but have been adopted by the official maintainers (Trusted Users).

From Fedora using https://rpm.nodesource.com/setup_6.x, where I do get the error:

[vith@localhost react-ts-jspm-starter-kit]$ npm version
{ 'react-ts-jspm-starter-kit': '0.7.1',
  npm: '3.10.3',
  ares: '1.10.1-DEV',
  http_parser: '2.7.0',
  icu: '56.1',
  modules: '48',
  node: '6.3.1',
  openssl: '1.0.2h',
  uv: '1.9.1',
  v8: '5.0.71.57',
  zlib: '1.2.8' }
[vith@localhost react-ts-jspm-starter-kit]$ file `which node`
/usr/bin/node: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=0551551ef484b7875da457847daf6f01060c9269, stripped

npm version output is identical to what I get on Ubuntu, where the error doesn't happen. So none of those version numbers are the differentiator between it working and not working. Puzzling.

from react-redux-typescript-jspm-starter.

piotrwitek avatar piotrwitek commented on July 3, 2024

Yea seems like a random bug in node or plugin-typescript.
You could try to use other node ver. that seems to work on your distro, e.g. 4.X which is more stable I suppose and would work on your system.
You can utilize tools for node version management like https://github.com/nodenv/nodenv to set up a local version of node just for that folder and use 6.X for the rest as usual.

from react-redux-typescript-jspm-starter.

piotrwitek avatar piotrwitek commented on July 3, 2024

I'm closing this as I cannot see anything possible that I could do

from react-redux-typescript-jspm-starter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.