Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm link: no such directory sci-calc/sci-calc #1

Open
Endermanbugzjfc opened this issue Mar 24, 2023 · 0 comments
Open

npm link: no such directory sci-calc/sci-calc #1

Endermanbugzjfc opened this issue Mar 24, 2023 · 0 comments

Comments

@Endermanbugzjfc
Copy link

Terminal

lib/node_modules/sci-calc is πŸ“¦ v1.0.3 via  v19.3.0 
❯ ls
LICENSE-MIT     lib             package.json
README.md       node_modules    sc

lib/node_modules/sci-calc is πŸ“¦ v1.0.3 via  v19.3.0 
❯ npm link
npm WARN tarball tarball data for sci-calc@file:sci-calc (null) seems to be corrupted. Trying again.
npm WARN tarball tarball data for sci-calc@file:sci-calc (null) seems to be corrupted. Trying again.
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /usr/local/lib/node_modules/sci-calc/sci-calc/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/usr/local/lib/node_modules/sci-calc/sci-calc/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/k/.npm/_logs/2023-03-24T16_19_24_706Z-debug-0.log

Log

0 verbose cli /usr/local/Cellar/node/19.3.0/bin/node /usr/local/bin/npm
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 2ms
5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 24ms
6 timing config:load:builtin Completed in 24ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/usr/local/lib/node_modules/sci-calc/.npmrc Completed in 0ms
10 timing config:load:project Completed in 2ms
11 timing config:load:file:/Users/k/.npmrc Completed in 0ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:/usr/local/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:setEnvs Completed in 1ms
16 timing config:load Completed in 33ms
17 timing npm:load:configload Completed in 33ms
18 timing npm:load:mkdirpcache Completed in 1ms
19 timing npm:load:mkdirplogs Completed in 0ms
20 verbose title npm link
21 verbose argv "link"
22 timing npm:load:setTitle Completed in 4ms
23 timing config:load:flatten Completed in 4ms
24 timing npm:load:display Completed in 4ms
25 verbose logfile logs-max:10 dir:/Users/k/.npm/_logs/2023-03-24T16_19_24_706Z-
26 verbose logfile /Users/k/.npm/_logs/2023-03-24T16_19_24_706Z-debug-0.log
27 timing npm:load:logFile Completed in 9ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 52ms
31 silly logfile start cleaning logs, removing 1 files
32 timing config:load:flatten Completed in 1ms
33 timing config:load:flatten Completed in 1ms
34 timing arborist:ctor Completed in 1ms
35 silly logfile done cleaning log files
36 timing idealTree:init Completed in 7ms
37 timing idealTree:userRequests Completed in 8ms
38 silly idealTree buildDeps
39 silly placeDep ROOT [email protected] OK for:  want: file:node_modules/sci-calc
40 timing idealTree:#root Completed in 12ms
41 timing idealTree:buildDeps Completed in 14ms
42 timing idealTree:fixDepFlags Completed in 1ms
43 timing idealTree Completed in 31ms
44 timing reify:loadTrees Completed in 42ms
45 timing reify:diffTrees Completed in 1ms
46 silly reify mark retired [ '/usr/local/lib/node_modules/sci-calc', '/usr/local/bin/sc' ]
47 silly reify moves {
47 silly reify   '/usr/local/lib/node_modules/sci-calc': '/usr/local/lib/node_modules/.sci-calc-5HSeW1tK',
47 silly reify   '/usr/local/bin/sc': '/usr/local/bin/.sc-VWxUeoa4'
47 silly reify }
48 timing reify:retireShallow Completed in 19ms
49 timing reify:createSparse Completed in 0ms
50 timing reify:loadBundles Completed in 0ms
51 silly audit bulk request { 'sci-calc': [ '1.0.3' ] }
52 warn tarball tarball data for sci-calc@file:sci-calc (null) seems to be corrupted. Trying again.
53 warn tarball tarball data for sci-calc@file:sci-calc (null) seems to be corrupted. Trying again.
54 timing reify:rollback:createSparse Completed in 1ms
55 timing reify:rollback:retireShallow Completed in 1ms
56 timing command:link Completed in 159ms
57 verbose stack Error: ENOENT: no such file or directory, open '/usr/local/lib/node_modules/sci-calc/sci-calc/package.json'
58 verbose cwd /usr/local/lib/node_modules/sci-calc
59 verbose Darwin 21.5.0
60 verbose node v19.3.0
61 verbose npm  v9.2.0
62 error code ENOENT
63 error syscall open
64 error path /usr/local/lib/node_modules/sci-calc/sci-calc/package.json
65 error errno -2
66 error enoent ENOENT: no such file or directory, open '/usr/local/lib/node_modules/sci-calc/sci-calc/package.json'
67 error enoent This is related to npm not being able to find a file.
67 error enoent
68 verbose exit -2
69 timing npm Completed in 300ms
70 verbose unfinished npm timer reify 1679674764865
71 verbose unfinished npm timer reify:audit 1679674764931
72 verbose unfinished npm timer auditReport:getReport 1679674764931
73 verbose unfinished npm timer reify:unpack 1679674764939
74 verbose unfinished npm timer reifyNode:node_modules/sci-calc 1679674764939
75 verbose code -2
76 error A complete log of this run can be found in:
76 error     /Users/k/.npm/_logs/2023-03-24T16_19_24_706Z-debug-0.log

Environment

npm: 9.2.0
os: macOS 12.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant