I am trying to install the front end for the sample travel app, but the instructions on git are outdated. Can someone help with instructions that work
This does not work -
npm install -g angular-cli@1.0.0-beta.14
I am trying to install the front end for the sample travel app, but the instructions on git are outdated. Can someone help with instructions that work
This does not work -
npm install -g angular-cli@1.0.0-beta.14
@Sarika_Kanabar what is the npm version on your local - I am using npm version 6.9.0 on my local and npm install -g angular-cli@1.0.0-beta.14 worked for me:
c++ ‘-DNODE_GYP_MODULE_NAME=binding’ ‘-DUSING_UV_SHARED=1’ ‘-DUSING_V8_SHARED=1’ ‘-DV8_DEPRECATION_WARNINGS=1’ ‘-D_DARWIN_USE_64_BIT_INODE=1’ ‘-D_LARGEFILE_SOURCE’ ‘-D_FILE_OFFSET_BITS=64’ ‘-DBUILDING_NODE_EXTENSION’ -I/Users/a.senthilnathan/.node-gyp/8.11.3/include/node -I/Users/a.senthilnathan/.node-gyp/8.11.3/src -I/Users/a.senthilnathan/.node-gyp/8.11.3/deps/openssl/config -I/Users/a.senthilnathan/.node-gyp/8.11.3/deps/openssl/openssl/include -I/Users/a.senthilnathan/.node-gyp/8.11.3/deps/uv/include -I/Users/a.senthilnathan/.node-gyp/8.11.3/deps/zlib -I/Users/a.senthilnathan/.node-gyp/8.11.3/deps/v8/include -I…/…/nan -I…/src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++0x -stdlib=libc++ -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=c++11 -MMD -MF ./Release/.deps/Release/obj.target/binding/src/sass_types/null.o.d.raw -c -o Release/obj.target/binding/src/sass_types/null.o …/src/sass_types/null.cpp
c++ ‘-DNODE_GYP_MODULE_NAME=binding’ ‘-DUSING_UV_SHARED=1’ ‘-DUSING_V8_SHARED=1’ ‘-DV8_DEPRECATION_WARNINGS=1’ ‘-D_DARWIN_USE_64_BIT_INODE=1’ ‘-D_LARGEFILE_SOURCE’ ‘-D_FILE_OFFSET_BITS=64’ ‘-DBUILDING_NODE_EXTENSION’ -I/Users/a.senthilnathan/.node-gyp/8.11.3/include/node -I/Users/a.senthilnathan/.node-gyp/8.11.3/src -I/Users/a.senthilnathan/.node-gyp/8.11.3/deps/openssl/config -I/Users/a.senthilnathan/.node-gyp/8.11.3/deps/openssl/openssl/include -I/Users/a.senthilnathan/.node-gyp/8.11.3/deps/uv/include -I/Users/a.senthilnathan/.node-gyp/8.11.3/deps/zlib -I/Users/a.senthilnathan/.node-gyp/8.11.3/deps/v8/include -I…/…/nan -I…/src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++0x -stdlib=libc++ -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=c++11 -MMD -MF ./Release/.deps/Release/obj.target/binding/src/sass_types/number.o.d.raw -c -o Release/obj.target/binding/src/sass_types/number.o …/src/sass_types/number.cpp
c++ ‘-DNODE_GYP_MODULE_NAME=binding’ ‘-DUSING_UV_SHARED=1’ ‘-DUSING_V8_SHARED=1’ ‘-DV8_DEPRECATION_WARNINGS=1’ ‘-D_DARWIN_USE_64_BIT_INODE=1’ ‘-D_LARGEFILE_SOURCE’ ‘-D_FILE_OFFSET_BITS=64’ ‘-DBUILDING_NODE_EXTENSION’ -I/Users/a.senthilnathan/.node-gyp/8.11.3/include/node -I/Users/a.senthilnathan/.node-gyp/8.11.3/src -I/Users/a.senthilnathan/.node-gyp/8.11.3/deps/openssl/config -I/Users/a.senthilnathan/.node-gyp/8.11.3/deps/openssl/openssl/include -I/Users/a.senthilnathan/.node-gyp/8.11.3/deps/uv/include -I/Users/a.senthilnathan/.node-gyp/8.11.3/deps/zlib -I/Users/a.senthilnathan/.node-gyp/8.11.3/deps/v8/include -I…/…/nan -I…/src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++0x -stdlib=libc++ -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=c++11 -MMD -MF ./Release/.deps/Release/obj.target/binding/src/sass_types/string.o.d.raw -c -o Release/obj.target/binding/src/sass_types/string.o …/src/sass_types/string.cpp
c++ -bundle -undefined dynamic_lookup -Wl,-no_pie -Wl,-search_paths_first -mmacosx-version-min=10.7 -arch x86_64 -L./Release -stdlib=libc++ -o Release/binding.node Release/obj.target/binding/src/binding.o Release/obj.target/binding/src/create_string.o Release/obj.target/binding/src/custom_function_bridge.o Release/obj.target/binding/src/custom_importer_bridge.o Release/obj.target/binding/src/sass_context_wrapper.o Release/obj.target/binding/src/sass_types/boolean.o Release/obj.target/binding/src/sass_types/color.o Release/obj.target/binding/src/sass_types/error.o Release/obj.target/binding/src/sass_types/factory.o Release/obj.target/binding/src/sass_types/list.o Release/obj.target/binding/src/sass_types/map.o Release/obj.target/binding/src/sass_types/null.o Release/obj.target/binding/src/sass_types/number.o Release/obj.target/binding/src/sass_types/string.o Release/sass.a
gyp info ok
Installed to /usr/local/lib/node_modules/angular-cli/node_modules/node-sass/vendor/darwin-x64-57/binding.node
npm WARN @angular/core@2.4.10 requires a peer of zone.js@^0.7.2 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/compiler-cli@0.6.4 requires a peer of @angular/compiler@2.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/compiler-cli@0.6.4 requires a peer of @angular/platform-server@2.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/compiler-cli@0.6.4 requires a peer of @angular/core@2.0.2 but none is installed. You must install peer dependencies yourself.
I am trying to follow the other steps and complete installation as well - but looks like this step itself did not work for you - please check the npm version and provide more details on your local env
Same version as yours, 6.9.0