Pnpjs: Graph -> new AdalFetchClient may be causing error (graph setup)

Created on 8 May 2019  路  5Comments  路  Source: pnp/pnpjs

Hi, i was trying to make a simple spfx react using Graph, but when i do gulp serve this error appears

looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\package.json (relative path: ./node_modules)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\package.json (relative path:
./node_modules/fs)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\fs doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\fs.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\fs.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\fs doesn't exist
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\lib
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\package.json (relative path: ./lib)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\package.json (relative path: ./lib)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\package.json (relative path:
./lib/fs)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\lib\fs doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\lib\fs.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\lib\fs.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\lib\fs doesn't exist
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules/fs)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\fs doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\fs.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\fs.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\fs doesn't exist
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib/fs)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\fs doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\fs.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\fs.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\fs doesn't exist
looking for modules in C:\node_modules
No description file found
Field 'browser' doesn't contain a valid alias configuration
No description file found
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\fs doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\fs.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\fs.json doesn't exist
as directory
C:\node_modules\fs doesn't exist
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\lib\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\lib\lib]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\lib]
[C:\Users\goncalo.r.pereira\Desktop\Graph\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\lib]
[C:\Users\goncalo.r.pereira\Desktop\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\lib]
[C:\Users\goncalo.r.pereira\node_modules]
[C:\Users\goncalo.r.pereira\lib]
[C:\Users\node_modules]
[C:\Users\lib]
[C:\lib]
[C:\node_modules\package.json]
[C:\node_modules\fs\package.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\fs]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\lib\fs]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\fs]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\fs]
[C:\node_modules\fs]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\fs.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\lib\fs.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\fs.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\fs.js]
[C:\node_modules\fs.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\fs.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\lib\fs.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\fs.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\fs.json]
[C:\node_modules\fs.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\fs]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\lib\fs]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\fs]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\fs]
[C:\node_modules\fs]
@ ./node_modules/request/lib/har.js 3:9-22
@ ./node_modules/request/request.js
@ ./node_modules/request/index.js
@ ./node_modules/adal-node/lib/authentication-parameters.js
@ ./node_modules/adal-node/lib/adal.js
@ ./node_modules/@pnp/nodejs/dist/nodejs.es5.js
@ ./lib/webparts/pnpGraph/PnpGraphWebPart.js
./node_modules/forever-agent/index.js
Module not found: Error: Can't resolve 'net' in 'C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\forever-agent'
resolve 'net' in 'C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\forever-agent'
Parsed request is a module
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\forever-agent\package.json (relative path: .) Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\forever-agent\package.json (relative path: .)
resolve as module
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\forever-agent\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\forever-agent\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\lib doesn't exist or is not a directory
C:\Users\node_modules doesn't exist or is not a directory
C:\Users\lib doesn't exist or is not a directory
C:\lib doesn't exist or is not a directory
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules/net)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net doesn't exist
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib/net)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net doesn't exist
looking for modules in C:\node_modules
No description file found
Field 'browser' doesn't contain a valid alias configuration
No description file found
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\net doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\net.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\net.json doesn't exist
as directory
C:\node_modules\net doesn't exist
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\forever-agent\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\forever-agent\lib]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\lib]
[C:\Users\goncalo.r.pereira\Desktop\Graph\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\lib]
[C:\Users\goncalo.r.pereira\Desktop\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\lib]
[C:\Users\goncalo.r.pereira\node_modules]
[C:\Users\goncalo.r.pereira\lib]
[C:\Users\node_modules]
[C:\Users\lib]
[C:\lib]
[C:\node_modules\package.json]
[C:\node_modules\net\package.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net]
[C:\node_modules\net]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net.js]
[C:\node_modules\net.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net.json]
[C:\node_modules\net.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net]
[C:\node_modules\net]
@ ./node_modules/forever-agent/index.js 6:10-24
@ ./node_modules/request/request.js
@ ./node_modules/request/index.js
@ ./node_modules/adal-node/lib/authentication-parameters.js
@ ./node_modules/adal-node/lib/adal.js
@ ./node_modules/@pnp/nodejs/dist/nodejs.es5.js
@ ./lib/webparts/pnpGraph/PnpGraphWebPart.js
./node_modules/https-proxy-agent/index.js
Module not found: Error: Can't resolve 'net' in 'C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent'
resolve 'net' in 'C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent'
Parsed request is a module
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\package.json (relative path: .)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\package.json (relative path: .)
resolve as module
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\lib doesn't exist or is not a directory
C:\Users\node_modules doesn't exist or is not a directory
C:\Users\lib doesn't exist or is not a directory
C:\lib doesn't exist or is not a directory
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\node_modules
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\package.json (relative path: ./node_modules)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\package.json (relative path: ./node_modules/net)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\node_modules\net doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\node_modules\net.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\node_modules\net.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\node_modules\net doesn't exist
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules/net)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net doesn't exist
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib/net)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net doesn't exist
looking for modules in C:\node_modules
No description file found
Field 'browser' doesn't contain a valid alias configuration
No description file found
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\net doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\net.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\net.json doesn't exist
as directory
C:\node_modules\net doesn't exist
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\lib]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\lib]
[C:\Users\goncalo.r.pereira\Desktop\Graph\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\lib]
[C:\Users\goncalo.r.pereira\Desktop\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\lib]
[C:\Users\goncalo.r.pereira\node_modules]
[C:\Users\goncalo.r.pereira\lib]
[C:\Users\node_modules]
[C:\Users\lib]
[C:\lib]
[C:\node_modules\package.json]
[C:\node_modules\net\package.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\node_modules\net]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net]
[C:\node_modules\net]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\node_modules\net.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net.js]
[C:\node_modules\net.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\node_modules\net.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net.json]
[C:\node_modules\net.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\node_modules\net]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net]
[C:\node_modules\net]
@ ./node_modules/https-proxy-agent/index.js 5:10-24
@ ./node_modules/@pnp/nodejs/dist/nodejs.es5.js
@ ./lib/webparts/pnpGraph/PnpGraphWebPart.js
./node_modules/request/node_modules/tough-cookie/lib/cookie.js
Module not found: Error: Can't resolve 'net' in 'C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\lib'
resolve 'net' in 'C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\lib'
Parsed request is a module
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\package.json (relative path: ./lib)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\package.json (relative path: ./lib)
resolve as module
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\lib\node_modules doesn't exist
or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\lib\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\lib doesn't exist or is not a directory
C:\Users\node_modules doesn't exist or is not a directory
C:\Users\lib doesn't exist or is not a directory
C:\lib doesn't exist or is not a directory
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\lib
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\package.json (relative path: ./lib)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\package.json (relative path: ./lib)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\package.json (relative path: ./lib/net)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\lib\net doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\lib\net.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\lib\net.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\lib\net doesn't exist
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\package.json (relative path: ./node_modules)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\package.json (relative path:
./node_modules/net)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\net doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\net.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\net.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\net doesn't exist
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\lib
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\package.json (relative path: ./lib)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\package.json (relative path: ./lib)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\package.json (relative path:
./lib/net)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\lib\net doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\lib\net.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\lib\net.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\lib\net doesn't exist
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules/net)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net doesn't exist
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib/net)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net doesn't exist
looking for modules in C:\node_modules
No description file found
Field 'browser' doesn't contain a valid alias configuration
No description file found
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\net doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\net.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\net.json doesn't exist
as directory
C:\node_modules\net doesn't exist
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\lib\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\lib\lib]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\lib]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\lib]
[C:\Users\goncalo.r.pereira\Desktop\Graph\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\lib]
[C:\Users\goncalo.r.pereira\Desktop\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\lib]
[C:\Users\goncalo.r.pereira\node_modules]
[C:\Users\goncalo.r.pereira\lib]
[C:\Users\node_modules]
[C:\Users\lib]
[C:\lib]
[C:\node_modules\package.json]
[C:\node_modules\net\package.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\lib\net]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\net]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\lib\net]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net]
[C:\node_modules\net]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\lib\net.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\net.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\lib\net.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net.js]
[C:\node_modules\net.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\lib\net.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\net.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\lib\net.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net.json]
[C:\node_modules\net.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\tough-cookie\lib\net]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\node_modules\net]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\request\lib\net]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net]
[C:\node_modules\net]
@ ./node_modules/request/node_modules/tough-cookie/lib/cookie.js 32:10-24
@ ./node_modules/request/lib/cookies.js
@ ./node_modules/request/index.js
@ ./node_modules/adal-node/lib/authentication-parameters.js
@ ./node_modules/adal-node/lib/adal.js
@ ./node_modules/@pnp/nodejs/dist/nodejs.es5.js
@ ./lib/webparts/pnpGraph/PnpGraphWebPart.js
./node_modules/tunnel-agent/index.js
Module not found: Error: Can't resolve 'net' in 'C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tunnel-agent'
resolve 'net' in 'C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tunnel-agent'
Parsed request is a module
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tunnel-agent\package.json (relative path: .)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tunnel-agent\package.json (relative path: .)
resolve as module
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tunnel-agent\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tunnel-agent\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\lib doesn't exist or is not a directory
C:\Users\node_modules doesn't exist or is not a directory
C:\Users\lib doesn't exist or is not a directory
C:\lib doesn't exist or is not a directory
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules/net)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net doesn't exist
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib/net)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net doesn't exist
looking for modules in C:\node_modules
No description file found
Field 'browser' doesn't contain a valid alias configuration
No description file found
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\net doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\net.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\net.json doesn't exist
as directory
C:\node_modules\net doesn't exist
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tunnel-agent\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tunnel-agent\lib]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\lib]
[C:\Users\goncalo.r.pereira\Desktop\Graph\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\lib]
[C:\Users\goncalo.r.pereira\Desktop\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\lib]
[C:\Users\goncalo.r.pereira\node_modules]
[C:\Users\goncalo.r.pereira\lib]
[C:\Users\node_modules]
[C:\Users\lib]
[C:\lib]
[C:\node_modules\package.json]
[C:\node_modules\net\package.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net]
[C:\node_modules\net]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net.js]
[C:\node_modules\net.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net.json]
[C:\node_modules\net.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\net]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\net]
[C:\node_modules\net]
@ ./node_modules/tunnel-agent/index.js 3:10-24
@ ./node_modules/request/lib/tunnel.js
@ ./node_modules/request/request.js
@ ./node_modules/request/index.js
@ ./node_modules/adal-node/lib/authentication-parameters.js
@ ./node_modules/adal-node/lib/adal.js
@ ./node_modules/@pnp/nodejs/dist/nodejs.es5.js
@ ./lib/webparts/pnpGraph/PnpGraphWebPart.js
./node_modules/forever-agent/index.js
Module not found: Error: Can't resolve 'tls' in 'C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\forever-agent'
resolve 'tls' in 'C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\forever-agent'
Parsed request is a module
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\forever-agent\package.json (relative path: .) Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\forever-agent\package.json (relative path: .)
resolve as module
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\forever-agent\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\forever-agent\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\lib doesn't exist or is not a directory
C:\Users\node_modules doesn't exist or is not a directory
C:\Users\lib doesn't exist or is not a directory
C:\lib doesn't exist or is not a directory
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules/tls)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls doesn't exist
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib/tls)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls doesn't exist
looking for modules in C:\node_modules
No description file found
Field 'browser' doesn't contain a valid alias configuration
No description file found
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\tls doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\tls.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\tls.json doesn't exist
as directory
C:\node_modules\tls doesn't exist
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\forever-agent\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\forever-agent\lib]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\lib]
[C:\Users\goncalo.r.pereira\Desktop\Graph\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\lib]
[C:\Users\goncalo.r.pereira\Desktop\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\lib]
[C:\Users\goncalo.r.pereira\node_modules]
[C:\Users\goncalo.r.pereira\lib]
[C:\Users\node_modules]
[C:\Users\lib]
[C:\lib]
[C:\node_modules\package.json]
[C:\node_modules\tls\package.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls]
[C:\node_modules\tls]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls.js]
[C:\node_modules\tls.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls.json]
[C:\node_modules\tls.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls]
[C:\node_modules\tls]
@ ./node_modules/forever-agent/index.js 7:10-24
@ ./node_modules/request/request.js
@ ./node_modules/request/index.js
@ ./node_modules/adal-node/lib/authentication-parameters.js
@ ./node_modules/adal-node/lib/adal.js
@ ./node_modules/@pnp/nodejs/dist/nodejs.es5.js
@ ./lib/webparts/pnpGraph/PnpGraphWebPart.js
./node_modules/https-proxy-agent/index.js
Module not found: Error: Can't resolve 'tls' in 'C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent'
resolve 'tls' in 'C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent'
Parsed request is a module
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\package.json (relative path: .)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\package.json (relative path: .)
resolve as module
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\lib doesn't exist or is not a directory
C:\Users\node_modules doesn't exist or is not a directory
C:\Users\lib doesn't exist or is not a directory
C:\lib doesn't exist or is not a directory
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\node_modules
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\package.json (relative path: ./node_modules)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\package.json (relative path: ./node_modules/tls)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\node_modules\tls doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\node_modules\tls.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\node_modules\tls.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\node_modules\tls doesn't exist
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules/tls)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls doesn't exist
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib/tls)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls doesn't exist
looking for modules in C:\node_modules
No description file found
Field 'browser' doesn't contain a valid alias configuration
No description file found
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\tls doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\tls.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\tls.json doesn't exist
as directory
C:\node_modules\tls doesn't exist
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\lib]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\lib]
[C:\Users\goncalo.r.pereira\Desktop\Graph\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\lib]
[C:\Users\goncalo.r.pereira\Desktop\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\lib]
[C:\Users\goncalo.r.pereira\node_modules]
[C:\Users\goncalo.r.pereira\lib]
[C:\Users\node_modules]
[C:\Users\lib]
[C:\lib]
[C:\node_modules\package.json]
[C:\node_modules\tls\package.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\node_modules\tls]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls]
[C:\node_modules\tls]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\node_modules\tls.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls.js]
[C:\node_modules\tls.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\node_modules\tls.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls.json]
[C:\node_modules\tls.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\https-proxy-agent\node_modules\tls]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls]
[C:\node_modules\tls]
@ ./node_modules/https-proxy-agent/index.js 6:10-24
@ ./node_modules/@pnp/nodejs/dist/nodejs.es5.js
@ ./lib/webparts/pnpGraph/PnpGraphWebPart.js
./node_modules/tunnel-agent/index.js
Module not found: Error: Can't resolve 'tls' in 'C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tunnel-agent'
resolve 'tls' in 'C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tunnel-agent'
Parsed request is a module
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tunnel-agent\package.json (relative path: .)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tunnel-agent\package.json (relative path: .)
resolve as module
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tunnel-agent\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tunnel-agent\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\Graph\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\Desktop\lib doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\node_modules doesn't exist or is not a directory
C:\Users\goncalo.r.pereira\lib doesn't exist or is not a directory
C:\Users\node_modules doesn't exist or is not a directory
C:\Users\lib doesn't exist or is not a directory
C:\lib doesn't exist or is not a directory
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./node_modules/tls)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls doesn't exist
looking for modules in C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib)
using description file: C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\package.json (relative path: ./lib/tls)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls.json doesn't exist
as directory
C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls doesn't exist
looking for modules in C:\node_modules
No description file found
Field 'browser' doesn't contain a valid alias configuration
No description file found
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\tls doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\tls.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\node_modules\tls.json doesn't exist
as directory
C:\node_modules\tls doesn't exist
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tunnel-agent\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tunnel-agent\lib]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\lib]
[C:\Users\goncalo.r.pereira\Desktop\Graph\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\Graph\lib]
[C:\Users\goncalo.r.pereira\Desktop\node_modules]
[C:\Users\goncalo.r.pereira\Desktop\lib]
[C:\Users\goncalo.r.pereira\node_modules]
[C:\Users\goncalo.r.pereira\lib]
[C:\Users\node_modules]
[C:\Users\lib]
[C:\lib]
[C:\node_modules\package.json]
[C:\node_modules\tls\package.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls]
[C:\node_modules\tls]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls.js]
[C:\node_modules\tls.js]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls.json]
[C:\node_modules\tls.json]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\node_modules\tls]
[C:\Users\goncalo.r.pereira\Desktop\Graph\pnp\lib\tls]
[C:\node_modules\tls]
@ ./node_modules/tunnel-agent/index.js 4:10-24
@ ./node_modules/request/lib/tunnel.js
@ ./node_modules/request/request.js
@ ./node_modules/request/index.js
@ ./node_modules/adal-node/lib/authentication-parameters.js
@ ./node_modules/adal-node/lib/adal.js
@ ./node_modules/@pnp/nodejs/dist/nodejs.es5.js
@ ./lib/webparts/pnpGraph/PnpGraphWebPart.js

[17:25:55] Finished subtask 'webpack' after 5.91 s

if i remove this part of code on graph setup, gulp serve runs normally:
graph: {
fetchClientFactory: () => {
return new AdalFetchClient("xxxxxxx", "xxxxxxx", "xxxxxxxxx");
},
},

Category

  • [ ] Enhancement
  • [ ] Bug
  • [x] Question
  • [ ] Documentation gap/issue

Version

Please specify what version of the library you are using: [ 1.7.1 ]
Y
Thank you for your feedback!

non-library answered question

Most helpful comment

Attention: GitHub lets overview edit versions so tenant/clientId/clientSecret are still here in the issue as a publicly published info. The only way for @goncascp98 to avoid security leak (if it was now a test tenant) is to delete corresponding app registration.

All 5 comments

Hi @goncascp98 you need to delete your client id and secret IMMEDIATELY. You have shared a client id and secret which is now exposed publicly. In the future please do not share them in issues.

I think the issue is that you are trying to use the client from the nodejs package in a browser, which will never work. You should never use client id and secret creds on the client side as anyone can steal them. Please checkout the getting started guide which shows how to set things up in SPFx.

Attention: GitHub lets overview edit versions so tenant/clientId/clientSecret are still here in the issue as a publicly published info. The only way for @goncascp98 to avoid security leak (if it was now a test tenant) is to delete corresponding app registration.

Hi, thanks for the warning, i forgot to hide the ids..., i will try to follow the guide that @patrick-rodgers gave me.

When i do gulp serve, shows these errors on the console
image

Was this page helpful?
0 / 5 - 0 ratings