rangle-starter icon indicating copy to clipboard operation
rangle-starter copied to clipboard

rangle-starter angular 2 with angular 2 material

Open ken2017 opened this issue 7 years ago • 0 comments

Hi, Thank you for the nice job, i try to install the rangle-start for angular 2 and i try to add angular material 2.0.beta to the application , unfortunately I have this error when i try to launch npm install

Darwin 16.4.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build" npm ERR! node v6.9.2 npm ERR! npm v3.10.9 npm ERR! code ELIFECYCLE npm ERR! [email protected] build: cross-env NODE_ENV=production webpack --config webpack-aot.config.js npm ERR! Exit status 2

i add this configuration to the package.json

"@angular/material": "^2.0.0-beta.2" "hammerjs": "^2.0.8"

1898 silly doSerial install 2 1899 silly install @angular/[email protected] /Users/nabil/myProjects/project3/rangleProject/node_modules/.staging/@angular/material-50bbe14d 1900 info lifecycle @angular/[email protected]~install: @angular/[email protected] 1901 silly lifecycle @angular/[email protected]~install: no script for install, continuing 1902 silly install [email protected] /Users/nabil/myProjects/project3/rangleProject/node_modules/.staging/hammerjs-a15d8162 1903 info lifecycle [email protected]~install: [email protected] 1904 silly lifecycle [email protected]~install: no script for install, continuing 1905 silly doSerial postinstall 2 1906 silly postinstall @angular/[email protected] /Users/nabil/myProjects/project3/rangleProject/node_modules/.staging/@angular/material-50bbe14d 1907 info lifecycle @angular/[email protected]~postinstall: @angular/[email protected] 1908 silly lifecycle @angular/[email protected]~postinstall: no script for postinstall, continuing 1909 silly postinstall [email protected] /Users/nabil/myProjects/project3/rangleProject/node_modules/.staging/hammerjs-a15d8162 1910 info lifecycle [email protected]~postinstall: [email protected] 1911 silly lifecycle [email protected]~postinstall: no script for postinstall, continuing 1912 verbose unlock done using /Users/nabil/.npm/_locks/staging-13c5f40aa71a8b75.lock for /Users/nabil/myProjects/project3/rangleProject/node_modules/.staging 1913 silly executeActions Finishing 1914 silly rollbackFailedOptional Starting 1915 silly rollbackFailedOptional Finishing 1916 silly install runPostinstallTopLevelLifecycles 1917 silly build [email protected] 1918 info linkStuff [email protected] 1919 silly linkStuff [email protected] has /Users/nabil/myProjects/project3 as its parent node_modules 1920 verbose linkBins [email protected] 1921 verbose linkMans [email protected] 1922 silly install [email protected] /Users/nabil/myProjects/project3/rangleProject/angular2-starter-bbefedad 1923 info lifecycle [email protected]~install: [email protected] 1924 silly lifecycle [email protected]~install: no script for install, continuing 1925 silly postinstall [email protected] /Users/nabil/myProjects/project3/rangleProject/angular2-starter-bbefedad 1926 info lifecycle [email protected]~postinstall: [email protected] 1927 verbose lifecycle [email protected]~postinstall: unsafe-perm in lifecycle true 1928 verbose lifecycle [email protected]~postinstall: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/nabil/myProjects/project3/rangleProject/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin 1929 verbose lifecycle [email protected]~postinstall: CWD: /Users/nabil/myProjects/project3/rangleProject 1930 silly lifecycle [email protected]~postinstall: Args: [ '-c', 'npm run build' ] 1931 silly lifecycle [email protected]~postinstall: Returned: code: 1 signal: null 1932 info lifecycle [email protected]~postinstall: Failed to exec postinstall script 1933 verbose stack Error: [email protected] postinstall: npm run build 1933 verbose stack Exit status 1 1933 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:255:16) 1933 verbose stack at emitTwo (events.js:106:13) 1933 verbose stack at EventEmitter.emit (events.js:191:7) 1933 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14) 1933 verbose stack at emitTwo (events.js:106:13) 1933 verbose stack at ChildProcess.emit (events.js:191:7) 1933 verbose stack at maybeClose (internal/child_process.js:877:16) 1933 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) 1934 verbose pkgid [email protected] 1935 verbose cwd /Users/nabil/myProjects/project3/rangleProject 1936 error Darwin 16.4.0

19

Thanks for help Nail

ken2017 avatar Mar 05 '17 21:03 ken2017