node modules - npm link and node_modules folder -
maybe can me current problem. let's have angular (4) root application , module want integrate it. develop them both localy , want test them. 1 solution should taht npm link them...
i use 'npm link' in modules folder (let name module 'module') , go angular root application , execute 'npm link module'.
in node_modules folder symlink 'module' created , looks fine...but when - dependencies of 'module' not resolved. meands in node_modules folder can find 'module' , in folder find again node_modules folder should not (and webpack has problems it).
do have solution problem - except manually deleting node_modules folder , hopping dependcies resolved in root application?
thanks every help!
wiki
Comments
Post a Comment