Menu icon Foundation
Unable to install node_modules in emails

Can anybody please help to fix this. I have tried almost all the solutions provided on the web but nothing is working for me.

I have installed Node, Git, Ruby, Babel, Gulp and Foundation CLI. I have even tried the foundation update to 6.2 method.

 

0 info it worked if it ends with ok

1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',

1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',

1 verbose cli   'install' ]

2 info using [email protected]

3 info using [email protected]

4 silly loadCurrentTree Starting

5 silly install loadCurrentTree

6 silly install readLocalPackageData

7 silly install normalizeTree

8 silly loadCurrentTree Finishing

9 silly loadIdealTree Starting

10 silly install loadIdealTree

11 silly cloneCurrentTree Starting

12 silly install cloneCurrentTreeToIdealTree

13 silly cloneCurrentTree Finishing

14 silly loadShrinkwrap Starting

15 silly install loadShrinkwrap

16 silly loadShrinkwrap Finishing

17 silly loadAllDepsIntoIdealTree Starting

18 silly install loadAllDepsIntoIdealTree

19 silly fetchNamedPackageData amdefine

20 silly mapToRegistry name amdefine

21 silly mapToRegistry using default registry

22 silly mapToRegistry registry https://registry.npmjs.org/

23 silly mapToRegistry uri https://registry.npmjs.org/amdefine

24 verbose request uri https://registry.npmjs.org/amdefine

25 verbose request no auth needed

26 info attempt registry request try #1 at 9:22:17 PM

27 verbose request id a0a475d94ca67b6b

28 verbose etag "7QBUZMENK2X1MN2MI4IF5JSH4"

29 http request GET https://registry.npmjs.org/amdefine

30 http 304 https://registry.npmjs.org/amdefine

31 verbose headers { date: 'Tue, 09 Aug 2016 16:22:17 GMT',

31 verbose headers   via: '1.1 varnish',

31 verbose headers   'cache-control': 'max-age=300',

31 verbose headers   etag: '"7QBUZMENK2X1MN2MI4IF5JSH4"',

31 verbose headers   age: '15',

31 verbose headers   connection: 'keep-alive',

31 verbose headers   'x-served-by': 'cache-ams4121-AMS',

31 verbose headers   'x-cache': 'HIT',

31 verbose headers   'x-cache-hits': '1',

31 verbose headers   'x-timer': 'S1470759737.592853,VS0,VE0',

31 verbose headers   vary: 'Accept-Encoding' }

32 silly get cb [ 304,

32 silly get   { date: 'Tue, 09 Aug 2016 16:22:17 GMT',

32 silly get     via: '1.1 varnish',

32 silly get     'cache-control': 'max-age=300',

32 silly get     etag: '"7QBUZMENK2X1MN2MI4IF5JSH4"',

32 silly get     age: '15',

32 silly get     connection: 'keep-alive',

32 silly get     'x-served-by': 'cache-ams4121-AMS',

32 silly get     'x-cache': 'HIT',

32 silly get     'x-cache-hits': '1',

32 silly get     'x-timer': 'S1470759737.592853,VS0,VE0',

32 silly get     vary: 'Accept-Encoding' } ]

33 verbose etag https://registry.npmjs.org/amdefine from cache

34 verbose get saving amdefine to C:\Users\user\AppData\Roaming\npm-cache\registry.npmjs.org\amdefine\.cache.json

35 silly resolveWithNewModule [email protected] checking installable status

36 silly cache add args [ '[email protected]>=0.0.4', null ]

37 verbose cache add spec [email protected]>=0.0.4

38 silly cache add parsed spec Result {

38 silly cache add   raw: '[email protected]>=0.0.4',

38 silly cache add   scope: null,

38 silly cache add   name: 'amdefine',

38 silly cache add   rawSpec: '>=0.0.4',

38 silly cache add   spec: '>=0.0.4',

38 silly cache add   type: 'range' }

39 silly addNamed [email protected]>=0.0.4

40 verbose addNamed ">=0.0.4" is a valid semver range for amdefine

41 silly addNameRange { name: 'amdefine', range: '>=0.0.4', hasData: false }

42 silly mapToRegistry name amdefine

43 silly mapToRegistry using default registry

44 silly mapToRegistry registry https://registry.npmjs.org/

45 silly mapToRegistry uri https://registry.npmjs.org/amdefine

46 verbose addNameRange registry:https://registry.npmjs.org/amdefine not in flight; fetching

47 verbose get https://registry.npmjs.org/amdefine not expired, no request

48 silly addNameRange number 2 { name: 'amdefine', range: '>=0.0.4', hasData: true }

49 silly addNameRange versions [ 'amdefine',

49 silly addNameRange   [ '0.0.1',

49 silly addNameRange     '0.0.2',

49 silly addNameRange     '0.0.3',

49 silly addNameRange     '0.0.4',

49 silly addNameRange     '0.0.5',

49 silly addNameRange     '0.0.6',

49 silly addNameRange     '0.0.7',

49 silly addNameRange     '0.0.8',

49 silly addNameRange     '0.1.0',

49 silly addNameRange     '0.1.1',

49 silly addNameRange     '1.0.0' ] ]

50 silly addNamed [email protected]

51 verbose addNamed "1.0.0" is a plain semver version for amdefine

52 silly rollbackFailedOptional Starting

53 silly rollbackFailedOptional Finishing

54 silly runTopLevelLifecycles Starting

55 silly runTopLevelLifecycles Finishing

56 silly install printInstalled

57 verbose stack Error: Failed to parse json

57 verbose stack Unexpected token '\u0000' at 1:1

57 verbose stack                                                                                

57 verbose stack ^

57 verbose stack     at parseError (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:379:11)

57 verbose stack     at parseJson (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:68:23)

57 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:48:5

57 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:76:16

57 verbose stack     at tryToString (fs.js:414:3)

57 verbose stack     at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:401:12)

58 verbose cwd C:\Users\user\Desktop\emarket

59 error Windows_NT 10.0.10586

60 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"

61 error node v5.5.0

62 error npm  v3.3.12

63 error file C:\Users\user\AppData\Roaming\npm-cache\amdefine\1.0.0\package\package.json

64 error code EJSONPARSE

65 error Failed to parse json

65 error Unexpected token '\u0000' at 1:1

65 error                                                                                

65 error ^

66 error File: C:\Users\user\AppData\Roaming\npm-cache\amdefine\1.0.0\package\package.json

67 error Failed to parse package.json data.

67 error package.json must be actual JSON, not just JavaScript.

67 error

67 error This is not a bug in npm.

67 error Tell the package author to fix their package.json file. JSON.parse

68 verbose exit [ 1, true ]

 

 

Babelnode_modulesnpmgulpfoundation email

Can anybody please help to fix this. I have tried almost all the solutions provided on the web but nothing is working for me.

I have installed Node, Git, Ruby, Babel, Gulp and Foundation CLI. I have even tried the foundation update to 6.2 method.

 

0 info it worked if it ends with ok

1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',

1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',

1 verbose cli   'install' ]

2 info using [email protected]

3 info using [email protected]

4 silly loadCurrentTree Starting

5 silly install loadCurrentTree

6 silly install readLocalPackageData

7 silly install normalizeTree

8 silly loadCurrentTree Finishing

9 silly loadIdealTree Starting

10 silly install loadIdealTree

11 silly cloneCurrentTree Starting

12 silly install cloneCurrentTreeToIdealTree

13 silly cloneCurrentTree Finishing

14 silly loadShrinkwrap Starting

15 silly install loadShrinkwrap

16 silly loadShrinkwrap Finishing

17 silly loadAllDepsIntoIdealTree Starting

18 silly install loadAllDepsIntoIdealTree

19 silly fetchNamedPackageData amdefine

20 silly mapToRegistry name amdefine

21 silly mapToRegistry using default registry

22 silly mapToRegistry registry https://registry.npmjs.org/

23 silly mapToRegistry uri https://registry.npmjs.org/amdefine

24 verbose request uri https://registry.npmjs.org/amdefine

25 verbose request no auth needed

26 info attempt registry request try #1 at 9:22:17 PM

27 verbose request id a0a475d94ca67b6b

28 verbose etag "7QBUZMENK2X1MN2MI4IF5JSH4"

29 http request GET https://registry.npmjs.org/amdefine

30 http 304 https://registry.npmjs.org/amdefine

31 verbose headers { date: 'Tue, 09 Aug 2016 16:22:17 GMT',

31 verbose headers   via: '1.1 varnish',

31 verbose headers   'cache-control': 'max-age=300',

31 verbose headers   etag: '"7QBUZMENK2X1MN2MI4IF5JSH4"',

31 verbose headers   age: '15',

31 verbose headers   connection: 'keep-alive',

31 verbose headers   'x-served-by': 'cache-ams4121-AMS',

31 verbose headers   'x-cache': 'HIT',

31 verbose headers   'x-cache-hits': '1',

31 verbose headers   'x-timer': 'S1470759737.592853,VS0,VE0',

31 verbose headers   vary: 'Accept-Encoding' }

32 silly get cb [ 304,

32 silly get   { date: 'Tue, 09 Aug 2016 16:22:17 GMT',

32 silly get     via: '1.1 varnish',

32 silly get     'cache-control': 'max-age=300',

32 silly get     etag: '"7QBUZMENK2X1MN2MI4IF5JSH4"',

32 silly get     age: '15',

32 silly get     connection: 'keep-alive',

32 silly get     'x-served-by': 'cache-ams4121-AMS',

32 silly get     'x-cache': 'HIT',

32 silly get     'x-cache-hits': '1',

32 silly get     'x-timer': 'S1470759737.592853,VS0,VE0',

32 silly get     vary: 'Accept-Encoding' } ]

33 verbose etag https://registry.npmjs.org/amdefine from cache

34 verbose get saving amdefine to C:\Users\user\AppData\Roaming\npm-cache\registry.npmjs.org\amdefine\.cache.json

35 silly resolveWithNewModule [email protected] checking installable status

36 silly cache add args [ '[email protected]>=0.0.4', null ]

37 verbose cache add spec [email protected]>=0.0.4

38 silly cache add parsed spec Result {

38 silly cache add   raw: '[email protected]>=0.0.4',

38 silly cache add   scope: null,

38 silly cache add   name: 'amdefine',

38 silly cache add   rawSpec: '>=0.0.4',

38 silly cache add   spec: '>=0.0.4',

38 silly cache add   type: 'range' }

39 silly addNamed [email protected]>=0.0.4

40 verbose addNamed ">=0.0.4" is a valid semver range for amdefine

41 silly addNameRange { name: 'amdefine', range: '>=0.0.4', hasData: false }

42 silly mapToRegistry name amdefine

43 silly mapToRegistry using default registry

44 silly mapToRegistry registry https://registry.npmjs.org/

45 silly mapToRegistry uri https://registry.npmjs.org/amdefine

46 verbose addNameRange registry:https://registry.npmjs.org/amdefine not in flight; fetching

47 verbose get https://registry.npmjs.org/amdefine not expired, no request

48 silly addNameRange number 2 { name: 'amdefine', range: '>=0.0.4', hasData: true }

49 silly addNameRange versions [ 'amdefine',

49 silly addNameRange   [ '0.0.1',

49 silly addNameRange     '0.0.2',

49 silly addNameRange     '0.0.3',

49 silly addNameRange     '0.0.4',

49 silly addNameRange     '0.0.5',

49 silly addNameRange     '0.0.6',

49 silly addNameRange     '0.0.7',

49 silly addNameRange     '0.0.8',

49 silly addNameRange     '0.1.0',

49 silly addNameRange     '0.1.1',

49 silly addNameRange     '1.0.0' ] ]

50 silly addNamed [email protected]

51 verbose addNamed "1.0.0" is a plain semver version for amdefine

52 silly rollbackFailedOptional Starting

53 silly rollbackFailedOptional Finishing

54 silly runTopLevelLifecycles Starting

55 silly runTopLevelLifecycles Finishing

56 silly install printInstalled

57 verbose stack Error: Failed to parse json

57 verbose stack Unexpected token '\u0000' at 1:1

57 verbose stack                                                                                

57 verbose stack ^

57 verbose stack     at parseError (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:379:11)

57 verbose stack     at parseJson (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:68:23)

57 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:48:5

57 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:76:16

57 verbose stack     at tryToString (fs.js:414:3)

57 verbose stack     at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:401:12)

58 verbose cwd C:\Users\user\Desktop\emarket

59 error Windows_NT 10.0.10586

60 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"

61 error node v5.5.0

62 error npm  v3.3.12

63 error file C:\Users\user\AppData\Roaming\npm-cache\amdefine\1.0.0\package\package.json

64 error code EJSONPARSE

65 error Failed to parse json

65 error Unexpected token '\u0000' at 1:1

65 error                                                                                

65 error ^

66 error File: C:\Users\user\AppData\Roaming\npm-cache\amdefine\1.0.0\package\package.json

67 error Failed to parse package.json data.

67 error package.json must be actual JSON, not just JavaScript.

67 error

67 error This is not a bug in npm.

67 error Tell the package author to fix their package.json file. JSON.parse

68 verbose exit [ 1, true ]