You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting an error when trying to add this package via NPM to my angular app
in doing some research, it looks like some of Ckan's dependencies are built in to webpack now (crypto, net, tls, etc). is there hope for an update?
Error:
[ng] ERROR in ./node_modules/ckan/node_modules/aws-sign2/index.js
[ng] Module not found: Error: Can't resolve 'crypto' in 'Z:\ionic\node_modules\ckan\node_modules\aws-sign2'
[ng] ERROR in ./node_modules/ckan/node_modules/http-signature/lib/verify.js
[ng] Module not found: Error: Can't resolve 'crypto' in 'Z:\ionic\node_modules\ckan\node_modules\http-signature\lib'
[ng] ERROR in ./node_modules/ckan/node_modules/http-signature/lib/util.js
[ng] Module not found: Error: Can't resolve 'crypto' in 'Z:\ionic\node_modules\ckan\node_modules\http-signature\lib'
[ng] ERROR in ./node_modules/ckan/node_modules/http-signature/lib/signer.js
[ng] Module not found: Error: Can't resolve 'crypto' in 'Z:\ionic\node_modules\ckan\node_modules\http-signature\lib'
[ng] ERROR in ./node_modules/ckan/node_modules/oauth-sign/index.js
[ng] Module not found: Error: Can't resolve 'crypto' in 'Z:\ionic\node_modules\ckan\node_modules\oauth-sign'
[ng] ERROR in ./node_modules/ckan/node_modules/request/lib/helpers.js
[ng] Module not found: Error: Can't resolve 'crypto' in 'Z:\ionic\node_modules\ckan\node_modules\request\lib'
[ng] ERROR in ./node_modules/cryptiles/lib/index.js
[ng] Module not found: Error: Can't resolve 'crypto' in 'Z:\ionic\node_modules\cryptiles\lib'
[ng] ERROR in ./node_modules/hawk/lib/crypto.js
[ng] Module not found: Error: Can't resolve 'crypto' in 'Z:\ionic\node_modules\hawk\lib'
[ng] ERROR in ./node_modules/sntp/lib/index.js
[ng] Module not found: Error: Can't resolve 'dgram' in 'Z:\ionic\node_modules\sntp\lib'
[ng] ERROR in ./node_modules/sntp/lib/index.js
[ng] Module not found: Error: Can't resolve 'dns' in 'Z:\ionic\node_modules\sntp\lib'
[ng] ERROR in ./node_modules/ckan/node_modules/form-data/lib/form_data.js
[ng] Module not found: Error: Can't resolve 'fs' in 'Z:\ionic\node_modules\ckan\node_modules\form-data\lib'
[ng] ERROR in ./node_modules/hoek/lib/index.js
[ng] Module not found: Error: Can't resolve 'fs' in 'Z:\ionic\node_modules\hoek\lib'
[ng] ERROR in ./node_modules/boom/lib/index.js
[ng] Module not found: Error: Can't resolve 'http' in 'Z:\ionic\node_modules\boom\lib'
[ng] ERROR in ./node_modules/ckan/node_modules/forever-agent/index.js
[ng] Module not found: Error: Can't resolve 'http' in 'Z:\ionic\node_modules\ckan\node_modules\forever-agent'
[ng] ERROR in ./node_modules/ckan/node_modules/form-data/lib/form_data.js
[ng] Module not found: Error: Can't resolve 'http' in 'Z:\ionic\node_modules\ckan\node_modules\form-data\lib'
[ng] ERROR in ./node_modules/ckan/node_modules/http-signature/lib/signer.js
[ng] Module not found: Error: Can't resolve 'http' in 'Z:\ionic\node_modules\ckan\node_modules\http-signature\lib'
[ng] ERROR in ./node_modules/ckan/node_modules/request/request.js
[ng] Module not found: Error: Can't resolve 'http' in 'Z:\ionic\node_modules\ckan\node_modules\request'
[ng] ERROR in ./node_modules/ckan/node_modules/tunnel-agent/index.js
[ng] Module not found: Error: Can't resolve 'http' in 'Z:\ionic\node_modules\ckan\node_modules\tunnel-agent'
[ng] ERROR in ./node_modules/ckan/node_modules/forever-agent/index.js
[ng] Module not found: Error: Can't resolve 'https' in 'Z:\ionic\node_modules\ckan\node_modules\forever-agent'
[ng] ERROR in ./node_modules/ckan/node_modules/form-data/lib/form_data.js
[ng] Module not found: Error: Can't resolve 'https' in 'Z:\ionic\node_modules\ckan\node_modules\form-data\lib'
[ng] ERROR in ./node_modules/ckan/node_modules/request/request.js
[ng] Module not found: Error: Can't resolve 'https' in 'Z:\ionic\node_modules\ckan\node_modules\request'
[ng] ERROR in ./node_modules/ckan/node_modules/tunnel-agent/index.js
[ng] Module not found: Error: Can't resolve 'https' in 'Z:\ionic\node_modules\ckan\node_modules\tunnel-agent'
[ng] ERROR in ./node_modules/ckan/node_modules/forever-agent/index.js
[ng] Module not found: Error: Can't resolve 'net' in 'Z:\ionic\node_modules\ckan\node_modules\forever-agent'
[ng] ERROR in ./node_modules/ckan/node_modules/request/request.js
[ng] Module not found: Error: Can't resolve 'net' in 'Z:\ionic\node_modules\ckan\node_modules\request'
[ng] ERROR in ./node_modules/ckan/node_modules/tunnel-agent/index.js
[ng] Module not found: Error: Can't resolve 'net' in 'Z:\ionic\node_modules\ckan\node_modules\tunnel-agent'
[ng] ERROR in ./node_modules/tough-cookie/lib/cookie.js
[ng] Module not found: Error: Can't resolve 'net' in 'Z:\ionic\node_modules\tough-cookie\lib'
[ng] ERROR in ./node_modules/ckan/node_modules/form-data/lib/form_data.js
[ng] Module not found: Error: Can't resolve 'path' in 'Z:\ionic\node_modules\ckan\node_modules\form-data\lib'
[ng] ERROR in ./node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js
[ng] Module not found: Error: Can't resolve 'stream' in 'Z:\ionic\node_modules\bl\node_modules\readable-stream\lib'
[ng] ERROR in ./node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js
[ng] Module not found: Error: Can't resolve 'stream' in 'Z:\ionic\node_modules\bl\node_modules\readable-stream\lib'
[ng] ERROR in ./node_modules/ckan/node_modules/assert-plus/assert.js
[ng] Module not found: Error: Can't resolve 'stream' in 'Z:\ionic\node_modules\ckan\node_modules\assert-plus'
[ng] ERROR in ./node_modules/ckan/node_modules/combined-stream/lib/combined_stream.js
[ng] Module not found: Error: Can't resolve 'stream' in 'Z:\ionic\node_modules\ckan\node_modules\combined-stream\lib'
[ng] ERROR in ./node_modules/ckan/node_modules/delayed-stream/lib/delayed_stream.js
[ng] Module not found: Error: Can't resolve 'stream' in 'Z:\ionic\node_modules\ckan\node_modules\delayed-stream\lib'
[ng] ERROR in ./node_modules/ckan/node_modules/request/request.js
[ng] Module not found: Error: Can't resolve 'stream' in 'Z:\ionic\node_modules\ckan\node_modules\request'
[ng] ERROR in ./node_modules/stringstream/stringstream.js
[ng] Module not found: Error: Can't resolve 'stream' in 'Z:\ionic\node_modules\stringstream'
[ng] ERROR in ./node_modules/ckan/node_modules/forever-agent/index.js
[ng] Module not found: Error: Can't resolve 'tls' in 'Z:\ionic\node_modules\ckan\node_modules\forever-agent'
[ng] ERROR in ./node_modules/ckan/node_modules/tunnel-agent/index.js
[ng] Module not found: Error: Can't resolve 'tls' in 'Z:\ionic\node_modules\ckan\node_modules\tunnel-agent'
[ng] ERROR in ./node_modules/ckan/node_modules/request/request.js
[ng] Module not found: Error: Can't resolve 'zlib' in 'Z:\ionic\node_modules\ckan\node_modules\request'
I am getting an error when trying to add this package via NPM to my angular app
in doing some research, it looks like some of Ckan's dependencies are built in to webpack now (crypto, net, tls, etc). is there hope for an update?
Error:
package.json
The text was updated successfully, but these errors were encountered: